Converted the TEST_LOPRIO code to default.

This commit is contained in:
Steve Passe 1997-07-31 05:39:49 +00:00
parent c30e46fa7d
commit 2e6a5b15a9
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=27778
7 changed files with 14 additions and 29 deletions

View file

@ -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.5 1997/07/18 19:47:48 smp Exp smp $
* $Id: apic.h,v 1.6 1997/07/30 22:44:20 smp Exp smp $
*/
#ifndef _MACHINE_APIC_H_
@ -220,10 +220,8 @@ typedef struct IOAPIC ioapic_t;
* various code 'logical' values
*/
#ifdef TEST_LOPRIO
/* default level for TPR */
#define LOPRIO_LEVEL 0x00000010 /* TPR of CPUs accepting INT */
#define ALLHWI_LEVEL 0x00000000 /* TPR of CPU grabbing INTs */
#endif /** TEST_LOPRIO */
/* XXX these 2 don't really belong here... */
#define COUNT_FIELD 0x00ffffff /* count portion of the lock */

View file

@ -6,7 +6,7 @@
* this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp
* ----------------------------------------------------------------------------
*
* $Id: smp.h,v 1.17 1997/07/28 03:40:09 smp Exp smp $
* $Id: smp.h,v 1.18 1997/07/30 22:44:20 smp Exp smp $
*
*/
@ -74,7 +74,7 @@ extern volatile u_int started_cpus;
extern u_int vec[];
extern u_int Xintr8254;
extern u_int mask8254;
extern struct simple_lock imen_lock;
extern volatile struct simple_lock imen_lock;
/* functions in apic_ipl.s */
void vec8254 __P((void));

View file

@ -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.5 1997/07/18 19:47:48 smp Exp smp $
* $Id: apic.h,v 1.6 1997/07/30 22:44:20 smp Exp smp $
*/
#ifndef _MACHINE_APIC_H_
@ -220,10 +220,8 @@ typedef struct IOAPIC ioapic_t;
* various code 'logical' values
*/
#ifdef TEST_LOPRIO
/* default level for TPR */
#define LOPRIO_LEVEL 0x00000010 /* TPR of CPUs accepting INT */
#define ALLHWI_LEVEL 0x00000000 /* TPR of CPU grabbing INTs */
#endif /** TEST_LOPRIO */
/* XXX these 2 don't really belong here... */
#define COUNT_FIELD 0x00ffffff /* count portion of the lock */

View file

@ -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.5 1997/07/18 19:47:48 smp Exp smp $
* $Id: apic.h,v 1.6 1997/07/30 22:44:20 smp Exp smp $
*/
#ifndef _MACHINE_APIC_H_
@ -220,10 +220,8 @@ typedef struct IOAPIC ioapic_t;
* various code 'logical' values
*/
#ifdef TEST_LOPRIO
/* default level for TPR */
#define LOPRIO_LEVEL 0x00000010 /* TPR of CPUs accepting INT */
#define ALLHWI_LEVEL 0x00000000 /* TPR of CPU grabbing INTs */
#endif /** TEST_LOPRIO */
/* XXX these 2 don't really belong here... */
#define COUNT_FIELD 0x00ffffff /* count portion of the lock */

View file

@ -6,7 +6,7 @@
* this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp
* ----------------------------------------------------------------------------
*
* $Id: smp.h,v 1.17 1997/07/28 03:40:09 smp Exp smp $
* $Id: smp.h,v 1.18 1997/07/30 22:44:20 smp Exp smp $
*
*/
@ -74,7 +74,7 @@ extern volatile u_int started_cpus;
extern u_int vec[];
extern u_int Xintr8254;
extern u_int mask8254;
extern struct simple_lock imen_lock;
extern volatile struct simple_lock imen_lock;
/* functions in apic_ipl.s */
void vec8254 __P((void));

View file

@ -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.16 1997/07/26 01:47:26 fsmp Exp $
* $Id: smptests.h,v 1.19 1997/07/30 22:44:20 smp Exp smp $
*/
#ifndef _MACHINE_SMPTESTS_H_
@ -61,8 +61,8 @@
* 100.51s real 132.67s user 50.91s system # time make -j20
*
* Note: currently broken for INTerrupting ISA cards, including onboard IDE.
#define PEND_INTS
*/
#define PEND_INTS
/*
@ -98,15 +98,6 @@
#define GIANT_LOCK
/*
* use 'lowest priority' for sending IRQs to CPUs
*
* i386/i386/mplock.s, i386/i386/mpapic.c, kern/init_main.c
*
*/
#define TEST_LOPRIO
/*
* deal with broken smp_idleloop()
*/

View file

@ -6,7 +6,7 @@
* this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp
* ----------------------------------------------------------------------------
*
* $Id: smp.h,v 1.17 1997/07/28 03:40:09 smp Exp smp $
* $Id: smp.h,v 1.18 1997/07/30 22:44:20 smp Exp smp $
*
*/
@ -74,7 +74,7 @@ extern volatile u_int started_cpus;
extern u_int vec[];
extern u_int Xintr8254;
extern u_int mask8254;
extern struct simple_lock imen_lock;
extern volatile struct simple_lock imen_lock;
/* functions in apic_ipl.s */
void vec8254 __P((void));