diff options
author | fsmp <fsmp@FreeBSD.org> | 1997-07-15 02:47:54 +0000 |
---|---|---|
committer | fsmp <fsmp@FreeBSD.org> | 1997-07-15 02:47:54 +0000 |
commit | e8a415386f1da7c5292cc35bee3f56bd6329744e (patch) | |
tree | fca589216fd44819394c7b542b87b326392c9428 /sys/i386/include/smptests.h | |
parent | dd0a098be8e408ee41a9b5ea1134338e6228a281 (diff) | |
download | FreeBSD-src-e8a415386f1da7c5292cc35bee3f56bd6329744e.zip FreeBSD-src-e8a415386f1da7c5292cc35bee3f56bd6329744e.tar.gz |
New defines to eliminate "magic numbers" in various places.
Diffstat (limited to 'sys/i386/include/smptests.h')
-rw-r--r-- | sys/i386/include/smptests.h | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/sys/i386/include/smptests.h b/sys/i386/include/smptests.h index 419278e..efa37e5 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.11 1997/07/13 00:47:54 smp Exp smp $ + * $Id: smptests.h,v 1.12 1997/07/15 00:09:00 smp Exp smp $ */ #ifndef _MACHINE_SMPTESTS_H_ @@ -36,8 +36,8 @@ /* * address of POST hardware port * -#define POST_ADDR 0x80 */ +#define POST_ADDR 0x80 #ifdef POST_ADDR #define ASMPOSTCODE_INC \ pushl %eax ; \ @@ -108,10 +108,18 @@ /* * IPI for stop/restart of other CPUs * +#define COUNT_CSHITS + */ #define TEST_CPUSTOP #define DEBUG_CPUSTOP -#define COUNT_CSHITS + + +/* + * Bracket code/comments relevant to the current 'giant lock' model. + * Everything is now the 'giant lock' model, but we will use this as + * we start to "push down" the lock. */ +#define GIANT_LOCK /* |