Author: jhb
Date: Wed May 19 19:52:41 2010
New Revision: 208311
URL: http://svn.freebsd.org/changeset/base/208311

Log:
  Add constants for the optional EOI suppression support in local APICs and
  EOI registers in I/O APICs.

Modified:
  head/sys/amd64/include/apicreg.h
  head/sys/i386/include/apicreg.h

Modified: head/sys/amd64/include/apicreg.h
==============================================================================
--- head/sys/amd64/include/apicreg.h    Wed May 19 19:45:17 2010        
(r208310)
+++ head/sys/amd64/include/apicreg.h    Wed May 19 19:52:41 2010        
(r208311)
@@ -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

Modified: head/sys/i386/include/apicreg.h
==============================================================================
--- head/sys/i386/include/apicreg.h     Wed May 19 19:45:17 2010        
(r208310)
+++ head/sys/i386/include/apicreg.h     Wed May 19 19:52:41 2010        
(r208311)
@@ -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
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"

Reply via email to