diff options
Diffstat (limited to 'usr/src/uts/i86pc/sys/apic.h')
-rw-r--r-- | usr/src/uts/i86pc/sys/apic.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/usr/src/uts/i86pc/sys/apic.h b/usr/src/uts/i86pc/sys/apic.h index 8a87760456..828ef5b20d 100644 --- a/usr/src/uts/i86pc/sys/apic.h +++ b/usr/src/uts/i86pc/sys/apic.h @@ -20,8 +20,8 @@ */ /* * Copyright (c) 1993, 2010, Oracle and/or its affiliates. All rights reserved. + * Copyright 2017 Joyent, Inc. */ - /* * Copyright (c) 2010, Intel Corporation. * All rights reserved. @@ -117,6 +117,9 @@ typedef enum apic_mode { #define APIC_SVR_SUPPRESS_BROADCAST_EOI 0x1000 #define APIC_DIRECTED_EOI_BIT 0x1000000 +/* x2APIC enable bit in REG_APIC_BASE_MSR */ +#define X2APIC_ENABLE_BIT 10 + /* IRR register */ #define APIC_IRR_REG 0x80 @@ -382,7 +385,7 @@ struct apic_io_intr { /* special or reserve vectors */ #define APIC_CHECK_RESERVE_VECTORS(v) \ (((v) == T_FASTTRAP) || ((v) == APIC_SPUR_INTR) || \ - ((v) == T_SYSCALLINT) || ((v) == T_DTRACE_RET)) + ((v) == T_SYSCALLINT) || ((v) == T_DTRACE_RET) || ((v) == 0x80)) /* cmos shutdown code for BIOS */ #define BIOS_SHUTDOWN 0x0a @@ -867,6 +870,7 @@ extern int apic_sci_vect; extern int apic_hpet_vect; extern uchar_t apic_ipls[]; extern apic_reg_ops_t *apic_reg_ops; +extern apic_reg_ops_t local_apic_regs_ops; extern apic_mode_t apic_mode; extern void x2apic_update_psm(); extern void apic_change_ops(); |