diff options
author | peter <peter@FreeBSD.org> | 2005-01-21 06:01:20 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 2005-01-21 06:01:20 +0000 |
commit | 8b5a41aeac62532507fcb39413b9f21bf9ba0166 (patch) | |
tree | fa0a4aa072559100211bd1335297a0fc44a50865 /sys/amd64/include/apicreg.h | |
parent | 63c4d6030676332d662005c8750ef471df3e8bfe (diff) | |
download | FreeBSD-src-8b5a41aeac62532507fcb39413b9f21bf9ba0166.zip FreeBSD-src-8b5a41aeac62532507fcb39413b9f21bf9ba0166.tar.gz |
JumboMFi386: use bitmapped IPI handler. Update elcr and default mptable
config handler. Tidy up various local apic initialization.
Diffstat (limited to 'sys/amd64/include/apicreg.h')
-rw-r--r-- | sys/amd64/include/apicreg.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/amd64/include/apicreg.h b/sys/amd64/include/apicreg.h index c451b71..d5d5dc3 100644 --- a/sys/amd64/include/apicreg.h +++ b/sys/amd64/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 |