diff options
author | jhb <jhb@FreeBSD.org> | 2014-02-18 01:15:32 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2014-02-18 01:15:32 +0000 |
commit | 8e8bf4982f8ffa39cb70af30e58f272cb2ec7341 (patch) | |
tree | 8e42404b602b19729f836474e03a9e08f1a13279 /sys/x86/include/apicreg.h | |
parent | a3fafc30d3fadeaba77468909b84eabce7ad54d6 (diff) | |
download | FreeBSD-src-8e8bf4982f8ffa39cb70af30e58f272cb2ec7341.zip FreeBSD-src-8e8bf4982f8ffa39cb70af30e58f272cb2ec7341.tar.gz |
MFC 259140:
Move constants for indices in the local APIC's local vector table from
apicvar.h to apicreg.h.
Diffstat (limited to 'sys/x86/include/apicreg.h')
-rw-r--r-- | sys/x86/include/apicreg.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/sys/x86/include/apicreg.h b/sys/x86/include/apicreg.h index 00cb571..283d50e 100644 --- a/sys/x86/include/apicreg.h +++ b/sys/x86/include/apicreg.h @@ -357,6 +357,16 @@ typedef struct IOAPIC ioapic_t; #define APIC_TDCR_128 0x0a #define APIC_TDCR_1 0x0b +/* LVT table indices */ +#define APIC_LVT_LINT0 0 +#define APIC_LVT_LINT1 1 +#define APIC_LVT_TIMER 2 +#define APIC_LVT_ERROR 3 +#define APIC_LVT_PMC 4 +#define APIC_LVT_THERMAL 5 +#define APIC_LVT_CMCI 6 +#define APIC_LVT_MAX APIC_LVT_CMCI + /****************************************************************************** * I/O APIC defines */ |