core: add a ms-denominated timer
commit4a770eb97fc40ec8d9f394337614ac3c2074ee01
authorH. Peter Anvin <hpa@zytor.com>
Mon, 5 Jul 2010 22:41:36 +0000 (5 15:41 -0700)
committerH. Peter Anvin <hpa@zytor.com>
Mon, 5 Jul 2010 22:41:36 +0000 (5 15:41 -0700)
tree975f52729eeb9b119c624308d454b214abec91f5
parent7072cf57e5f43449223c1fe75aebcbf82659e515
core: add a ms-denominated timer

Add a timer denominated in milliseconds.  This is still driven by the
18.2 Hz timer interrupt, but counts "real" milliseconds, including
handing the adjustment factor (which in reality means it advances by
55 for most timer ticks and 54 for some.)

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
com32/include/syslinux/pmapi.h
core/include/core.h
core/pmapi.c
core/timer.inc