diff options
Diffstat (limited to 'sys/i386/include')
-rw-r--r-- | sys/i386/include/apic.h | 8 | ||||
-rw-r--r-- | sys/i386/include/apicreg.h | 8 | ||||
-rw-r--r-- | sys/i386/include/smptests.h | 8 |
3 files changed, 19 insertions, 5 deletions
diff --git a/sys/i386/include/apic.h b/sys/i386/include/apic.h index 8df09cd..50f8416 100644 --- a/sys/i386/include/apic.h +++ b/sys/i386/include/apic.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.6 1997/07/30 22:44:20 smp Exp smp $ + * $Id: apic.h,v 1.7 1997/08/04 17:20:39 smp Exp smp $ */ #ifndef _MACHINE_APIC_H_ @@ -221,7 +221,11 @@ typedef struct IOAPIC ioapic_t; */ /* default level for TPR */ -#define LOPRIO_LEVEL 0x00000010 /* TPR of CPUs accepting INT */ +#define LOPRIO_LEVEL 0x00000010 /* TPR of CPU accepting INTs */ + +#ifdef GRAB_LOPRIO +#define ALLHWI_LEVEL 0x00000000 /* TPR of CPU grabbing INTs */ +#endif /** GRAB_LOPRIO */ /* XXX these 2 don't really belong here... */ #define COUNT_FIELD 0x00ffffff /* count portion of the lock */ diff --git a/sys/i386/include/apicreg.h b/sys/i386/include/apicreg.h index 8df09cd..50f8416 100644 --- a/sys/i386/include/apicreg.h +++ b/sys/i386/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.6 1997/07/30 22:44:20 smp Exp smp $ + * $Id: apic.h,v 1.7 1997/08/04 17:20:39 smp Exp smp $ */ #ifndef _MACHINE_APIC_H_ @@ -221,7 +221,11 @@ typedef struct IOAPIC ioapic_t; */ /* default level for TPR */ -#define LOPRIO_LEVEL 0x00000010 /* TPR of CPUs accepting INT */ +#define LOPRIO_LEVEL 0x00000010 /* TPR of CPU accepting INTs */ + +#ifdef GRAB_LOPRIO +#define ALLHWI_LEVEL 0x00000000 /* TPR of CPU grabbing INTs */ +#endif /** GRAB_LOPRIO */ /* XXX these 2 don't really belong here... */ #define COUNT_FIELD 0x00ffffff /* count portion of the lock */ diff --git a/sys/i386/include/smptests.h b/sys/i386/include/smptests.h index bb44570..09607e2 100644 --- a/sys/i386/include/smptests.h +++ b/sys/i386/include/smptests.h @@ -22,7 +22,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: smptests.h,v 1.19 1997/07/30 22:44:20 smp Exp smp $ + * $Id: smptests.h,v 1.20 1997/08/04 17:20:39 smp Exp smp $ */ #ifndef _MACHINE_SMPTESTS_H_ @@ -66,6 +66,12 @@ /* + * Portions of the old TEST_LOPRIO code, back from the grave! + */ +#define GRAB_LOPRIO + + +/* * 1st attempt to use the 'ExtInt' connected 8259 to attach 8254 timer. * failing that, attempt to attach 8254 timer via direct APIC pin. * failing that, panic! |