diff options
author | jhb <jhb@FreeBSD.org> | 2004-12-23 20:35:07 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2004-12-23 20:35:07 +0000 |
commit | 1666faecb2d9595770f6f36942ae1a67abf2b402 (patch) | |
tree | 5791d949171204a2c3828b58029dfe607f94483e /sys/i386 | |
parent | b74bf1946f3bfb8c72732fabf275b27535881e21 (diff) | |
download | FreeBSD-src-1666faecb2d9595770f6f36942ae1a67abf2b402.zip FreeBSD-src-1666faecb2d9595770f6f36942ae1a67abf2b402.tar.gz |
Add some constants for the local APIC timer.
Diffstat (limited to 'sys/i386')
-rw-r--r-- | sys/i386/include/apicreg.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/i386/include/apicreg.h b/sys/i386/include/apicreg.h index 7b584a0..2d6c7ea 100644 --- a/sys/i386/include/apicreg.h +++ b/sys/i386/include/apicreg.h @@ -330,8 +330,13 @@ typedef struct IOAPIC ioapic_t; #define APIC_LVTT_DS 0x00001000 #define APIC_LVTT_M 0x00010000 #define APIC_LVTT_TM 0x00020000 +# define APIC_LVTT_TM_ONE_SHOT 0x00000000 +# define APIC_LVTT_TM_PERIODIC 0x00020000 +/* APIC timer current count */ +#define APIC_TIMER_MAX_COUNT 0xffffffff + /* fields in TDCR */ #define APIC_TDCR_2 0x00 #define APIC_TDCR_4 0x01 |