Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: CVS commit: src/sys/arch/x86/x86 (intr.c:1.41)
David Young <dyoung%netbsd.org@localhost> caused:
: Module Name: src
: Committed By: dyoung
: Date: Thu Apr 10 23:22:30 UTC 2008
:
: Modified Files:
: src/sys/arch/x86/x86: intr.c
:
: Log Message:
: Add the redzones above and below the interrupt stack back to the
: DIAGNOSTIC kernel.
:
: cvs rdiff -r1.40 -r1.41 src/sys/arch/x86/x86/intr.c
Seems a bit noisy (line 993). Maybe remove printf() or wrap with INTRDEBUG.
--- intr.c.org 2008-04-11 12:41:30.000000000 +1000
+++ intr.c 2008-04-11 14:04:09.000000000 +1000
@@ -990,7 +990,9 @@
*/
ci->ci_intrstack = (char *)istack + redzone_const_or_zero(PAGE_SIZE) +
INTRSTACKSIZE - 33 * sizeof(register_t);
+#ifdef INTRDEBUG
printf("%s: ci->ci_intrstack %p\n", __func__, (void *)ci->ci_intrstack);
+#endif
#if defined(__x86_64__)
ci->ci_tss.tss_ist[0] = (uintptr_t)ci->ci_intrstack & ~0xf;
#endif /* defined(__x86_64__) */
Regards,
Geoff
Home |
Main Index |
Thread Index |
Old Index