diff options
author | fsmp <fsmp@FreeBSD.org> | 1997-07-08 23:32:58 +0000 |
---|---|---|
committer | fsmp <fsmp@FreeBSD.org> | 1997-07-08 23:32:58 +0000 |
commit | ad60f9a67b534643f9a97a88ca73795e6ea59a6e (patch) | |
tree | 3984f188146b323051c526cb504793b49d859437 /sys/amd64/include/apicreg.h | |
parent | 46d585214c2d89d5c986427137414f75569ceee7 (diff) | |
download | FreeBSD-src-ad60f9a67b534643f9a97a88ca73795e6ea59a6e.zip FreeBSD-src-ad60f9a67b534643f9a97a88ca73795e6ea59a6e.tar.gz |
General cleanup of APIC code.
stop_cpus/restart_cpus STILL not working!
Diffstat (limited to 'sys/amd64/include/apicreg.h')
-rw-r--r-- | sys/amd64/include/apicreg.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/amd64/include/apicreg.h b/sys/amd64/include/apicreg.h index afa1c51..c70a9ed 100644 --- a/sys/amd64/include/apicreg.h +++ b/sys/amd64/include/apicreg.h @@ -22,7 +22,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: apic.h,v 1.4 1997/06/22 16:03:46 peter Exp $ + * $Id: apic.h,v 1.2 1997/07/08 23:29:48 smp Exp smp $ */ #ifndef _MACHINE_APIC_H_ @@ -229,12 +229,17 @@ typedef struct IOAPIC ioapic_t; #define MAXLVTSHIFT 16 /* fields in SVR */ +#define APIC_SVR_VECTOR 0x000000ff +#define APIC_SVR_VEC_PROG 0x000000f0 +#define APIC_SVR_VEC_FIX 0x0000000f #define APIC_SVR_ENABLE 0x00000100 # define APIC_SVR_SWDIS 0x00000000 # define APIC_SVR_SWEN 0x00000100 #define APIC_SVR_FOCUS 0x00000200 # define APIC_SVR_FEN 0x00000000 # define APIC_SVR_FDIS 0x00000200 + +/* fields in TPR */ #define APIC_TPR_PRIO 0x000000ff # define APIC_TPR_INT 0x000000f0 # define APIC_TPR_SUB 0x0000000f |