diff options
author | jhb <jhb@FreeBSD.org> | 2010-05-19 19:52:41 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2010-05-19 19:52:41 +0000 |
commit | 8eda89fb6380f22de8513fe5add91670dd148961 (patch) | |
tree | 31117a5a95411ae665c4af5213e2d246af113c67 | |
parent | a4fab0b4ba9a5c99f197d94e99b9b69d53440a96 (diff) | |
download | FreeBSD-src-8eda89fb6380f22de8513fe5add91670dd148961.zip FreeBSD-src-8eda89fb6380f22de8513fe5add91670dd148961.tar.gz |
Add constants for the optional EOI suppression support in local APICs and
EOI registers in I/O APICs.
-rw-r--r-- | sys/amd64/include/apicreg.h | 3 | ||||
-rw-r--r-- | sys/i386/include/apicreg.h | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/sys/amd64/include/apicreg.h b/sys/amd64/include/apicreg.h index 81c4b7e..33f293b 100644 --- a/sys/amd64/include/apicreg.h +++ b/sys/amd64/include/apicreg.h @@ -234,6 +234,7 @@ typedef struct IOAPIC ioapic_t; #define APIC_VER_VERSION 0x000000ff #define APIC_VER_MAXLVT 0x00ff0000 #define MAXLVTSHIFT 16 +#define APIC_VER_EOI_SUPPRESSION 0x01000000 /* fields in LDR */ #define APIC_LDR_RESERVED 0x00ffffff @@ -254,6 +255,7 @@ typedef struct IOAPIC ioapic_t; #define APIC_SVR_FOCUS 0x00000200 # define APIC_SVR_FEN 0x00000000 # define APIC_SVR_FDIS 0x00000200 +#define APIC_SVR_EOI_SUPPRESSION 0x00001000 /* fields in TPR */ #define APIC_TPR_PRIO 0x000000ff @@ -364,6 +366,7 @@ typedef struct IOAPIC ioapic_t; /* window register offset */ #define IOAPIC_WINDOW 0x10 +#define IOAPIC_EOIR 0x40 /* indexes into IO APIC */ #define IOAPIC_ID 0x00 diff --git a/sys/i386/include/apicreg.h b/sys/i386/include/apicreg.h index 81c4b7e..33f293b 100644 --- a/sys/i386/include/apicreg.h +++ b/sys/i386/include/apicreg.h @@ -234,6 +234,7 @@ typedef struct IOAPIC ioapic_t; #define APIC_VER_VERSION 0x000000ff #define APIC_VER_MAXLVT 0x00ff0000 #define MAXLVTSHIFT 16 +#define APIC_VER_EOI_SUPPRESSION 0x01000000 /* fields in LDR */ #define APIC_LDR_RESERVED 0x00ffffff @@ -254,6 +255,7 @@ typedef struct IOAPIC ioapic_t; #define APIC_SVR_FOCUS 0x00000200 # define APIC_SVR_FEN 0x00000000 # define APIC_SVR_FDIS 0x00000200 +#define APIC_SVR_EOI_SUPPRESSION 0x00001000 /* fields in TPR */ #define APIC_TPR_PRIO 0x000000ff @@ -364,6 +366,7 @@ typedef struct IOAPIC ioapic_t; /* window register offset */ #define IOAPIC_WINDOW 0x10 +#define IOAPIC_EOIR 0x40 /* indexes into IO APIC */ #define IOAPIC_ID 0x00 |