diff options
| author | Peter Wemm <peter@FreeBSD.org> | 2001-01-21 07:26:31 +0000 |
|---|---|---|
| committer | Peter Wemm <peter@FreeBSD.org> | 2001-01-21 07:26:31 +0000 |
| commit | 8363b95b57feec9d900c7056843d030adbae592a (patch) | |
| tree | 1fbfbe7152f574d5938a8fbb52b081f0fb189cd7 | |
| parent | 3e899e106379f76b6bbe972de9fd7d71a01d8b3a (diff) | |
Notes
| -rw-r--r-- | sys/i386/include/smptests.h | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/sys/i386/include/smptests.h b/sys/i386/include/smptests.h index 239f849ee088..a9a18889c90d 100644 --- a/sys/i386/include/smptests.h +++ b/sys/i386/include/smptests.h @@ -301,38 +301,4 @@ #endif /* POST_ADDR */ -/* - * These are all temps for debugging... - * -#define GUARD_INTS - */ - -/* - * This macro traps unexpected INTs to a specific CPU, eg. GUARD_CPU. - */ -#ifdef GUARD_INTS -#define GUARD_CPU 1 -#define MAYBE_PANIC(irq_num) \ - cmpl $GUARD_CPU, _cpuid ; \ - jne 9f ; \ - cmpl $1, _ok_test1 ; \ - jne 9f ; \ - pushl lapic_isr3 ; \ - pushl lapic_isr2 ; \ - pushl lapic_isr1 ; \ - pushl lapic_isr0 ; \ - pushl lapic_irr3 ; \ - pushl lapic_irr2 ; \ - pushl lapic_irr1 ; \ - pushl lapic_irr0 ; \ - pushl $irq_num ; \ - pushl _cpuid ; \ - pushl $panic_msg ; \ - call _printf ; \ - addl $44, %esp ; \ -9: -#else -#define MAYBE_PANIC(irq_num) -#endif /* GUARD_INTS */ - #endif /* _MACHINE_SMPTESTS_H_ */ |
