Date: Wed, 12 Nov 2003 03:33:31 -0000 From: Peter Wemm <peter@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 42085 for review Message-ID: <200311120333.hAC3XT1K032641@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=42085 Change 42085 by peter@peter_overcee on 2003/11/11 19:32:45 sanity check for the outb shootdown for the atpic Affected files ... .. //depot/projects/hammer/sys/amd64/amd64/machdep.c#65 edit Differences ... ==== //depot/projects/hammer/sys/amd64/amd64/machdep.c#65 (text+ko) ==== @@ -48,6 +48,7 @@ #include "opt_ddb.h" #include "opt_inet.h" #include "opt_ipx.h" +#include "opt_isa.h" #include "opt_kstack_pages.h" #include "opt_maxmem.h" #include "opt_msgbuf.h" @@ -1122,9 +1123,13 @@ u_int64_t msr; char *env; +#ifdef DEV_ISA /* Preemptively mask the atpics and leave them shut down */ outb(IO_ICU1 + ICU_IMR_OFFSET, 0xff); outb(IO_ICU2 + ICU_IMR_OFFSET, 0xff); +#else +#error "have you forgotten the isa device?"; +#endif /* Turn on PTE NX (no execute) bit */ msr = rdmsr(MSR_EFER) | EFER_NXE;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200311120333.hAC3XT1K032641>