From owner-svn-src-all@FreeBSD.ORG Wed May 19 19:52:42 2010 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 35F9C106566B; Wed, 19 May 2010 19:52:42 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from svn.freebsd.org (unknown [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 0D55E8FC15; Wed, 19 May 2010 19:52:42 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id o4JJqf6O071721; Wed, 19 May 2010 19:52:41 GMT (envelope-from jhb@svn.freebsd.org) Received: (from jhb@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id o4JJqfSL071718; Wed, 19 May 2010 19:52:41 GMT (envelope-from jhb@svn.freebsd.org) Message-Id: <201005191952.o4JJqfSL071718@svn.freebsd.org> From: John Baldwin Date: Wed, 19 May 2010 19:52:41 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r208311 - in head/sys: amd64/include i386/include X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 May 2010 19:52:42 -0000 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