Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 May 2010 19:52:41 +0000 (UTC)
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r208311 - in head/sys: amd64/include i386/include
Message-ID:  <201005191952.o4JJqfSL071718@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201005191952.o4JJqfSL071718>