diff options
-rw-r--r-- | sys/amd64/amd64/mp_machdep.c | 8 | ||||
-rw-r--r-- | sys/amd64/amd64/mptable.c | 8 | ||||
-rw-r--r-- | sys/amd64/include/mptable.h | 8 | ||||
-rw-r--r-- | sys/i386/i386/mp_machdep.c | 8 | ||||
-rw-r--r-- | sys/i386/i386/mptable.c | 8 | ||||
-rw-r--r-- | sys/i386/include/mptable.h | 8 | ||||
-rw-r--r-- | sys/kern/subr_smp.c | 8 |
7 files changed, 49 insertions, 7 deletions
diff --git a/sys/amd64/amd64/mp_machdep.c b/sys/amd64/amd64/mp_machdep.c index 2267f5a..cde98a7 100644 --- a/sys/amd64/amd64/mp_machdep.c +++ b/sys/amd64/amd64/mp_machdep.c @@ -22,7 +22,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: mp_machdep.c,v 1.92 1999/02/26 03:42:50 tegge Exp $ + * $Id: mp_machdep.c,v 1.93 1999/03/05 16:38:10 bde Exp $ */ #include "opt_smp.h" @@ -496,8 +496,10 @@ init_secondary(void) PTD[0] = 0; pmap_set_opt((unsigned *)PTD); +#if 0 putmtrr(); pmap_setvidram(); +#endif invltlb(); } @@ -556,8 +558,10 @@ mp_enable(u_int boot_addr) u_int ux; #endif /* APIC_IO */ +#if 0 getmtrr(); pmap_setvidram(); +#endif POSTCODE(MP_ENABLE_POST); @@ -2243,7 +2247,9 @@ ap_init() panic("cpuid mismatch! boom!!"); } +#if 0 getmtrr(); +#endif /* Init local apic for irq's */ apic_initialize(); diff --git a/sys/amd64/amd64/mptable.c b/sys/amd64/amd64/mptable.c index 2267f5a..cde98a7 100644 --- a/sys/amd64/amd64/mptable.c +++ b/sys/amd64/amd64/mptable.c @@ -22,7 +22,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: mp_machdep.c,v 1.92 1999/02/26 03:42:50 tegge Exp $ + * $Id: mp_machdep.c,v 1.93 1999/03/05 16:38:10 bde Exp $ */ #include "opt_smp.h" @@ -496,8 +496,10 @@ init_secondary(void) PTD[0] = 0; pmap_set_opt((unsigned *)PTD); +#if 0 putmtrr(); pmap_setvidram(); +#endif invltlb(); } @@ -556,8 +558,10 @@ mp_enable(u_int boot_addr) u_int ux; #endif /* APIC_IO */ +#if 0 getmtrr(); pmap_setvidram(); +#endif POSTCODE(MP_ENABLE_POST); @@ -2243,7 +2247,9 @@ ap_init() panic("cpuid mismatch! boom!!"); } +#if 0 getmtrr(); +#endif /* Init local apic for irq's */ apic_initialize(); diff --git a/sys/amd64/include/mptable.h b/sys/amd64/include/mptable.h index 2267f5a..cde98a7 100644 --- a/sys/amd64/include/mptable.h +++ b/sys/amd64/include/mptable.h @@ -22,7 +22,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: mp_machdep.c,v 1.92 1999/02/26 03:42:50 tegge Exp $ + * $Id: mp_machdep.c,v 1.93 1999/03/05 16:38:10 bde Exp $ */ #include "opt_smp.h" @@ -496,8 +496,10 @@ init_secondary(void) PTD[0] = 0; pmap_set_opt((unsigned *)PTD); +#if 0 putmtrr(); pmap_setvidram(); +#endif invltlb(); } @@ -556,8 +558,10 @@ mp_enable(u_int boot_addr) u_int ux; #endif /* APIC_IO */ +#if 0 getmtrr(); pmap_setvidram(); +#endif POSTCODE(MP_ENABLE_POST); @@ -2243,7 +2247,9 @@ ap_init() panic("cpuid mismatch! boom!!"); } +#if 0 getmtrr(); +#endif /* Init local apic for irq's */ apic_initialize(); diff --git a/sys/i386/i386/mp_machdep.c b/sys/i386/i386/mp_machdep.c index 2267f5a..cde98a7 100644 --- a/sys/i386/i386/mp_machdep.c +++ b/sys/i386/i386/mp_machdep.c @@ -22,7 +22,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: mp_machdep.c,v 1.92 1999/02/26 03:42:50 tegge Exp $ + * $Id: mp_machdep.c,v 1.93 1999/03/05 16:38:10 bde Exp $ */ #include "opt_smp.h" @@ -496,8 +496,10 @@ init_secondary(void) PTD[0] = 0; pmap_set_opt((unsigned *)PTD); +#if 0 putmtrr(); pmap_setvidram(); +#endif invltlb(); } @@ -556,8 +558,10 @@ mp_enable(u_int boot_addr) u_int ux; #endif /* APIC_IO */ +#if 0 getmtrr(); pmap_setvidram(); +#endif POSTCODE(MP_ENABLE_POST); @@ -2243,7 +2247,9 @@ ap_init() panic("cpuid mismatch! boom!!"); } +#if 0 getmtrr(); +#endif /* Init local apic for irq's */ apic_initialize(); diff --git a/sys/i386/i386/mptable.c b/sys/i386/i386/mptable.c index 2267f5a..cde98a7 100644 --- a/sys/i386/i386/mptable.c +++ b/sys/i386/i386/mptable.c @@ -22,7 +22,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: mp_machdep.c,v 1.92 1999/02/26 03:42:50 tegge Exp $ + * $Id: mp_machdep.c,v 1.93 1999/03/05 16:38:10 bde Exp $ */ #include "opt_smp.h" @@ -496,8 +496,10 @@ init_secondary(void) PTD[0] = 0; pmap_set_opt((unsigned *)PTD); +#if 0 putmtrr(); pmap_setvidram(); +#endif invltlb(); } @@ -556,8 +558,10 @@ mp_enable(u_int boot_addr) u_int ux; #endif /* APIC_IO */ +#if 0 getmtrr(); pmap_setvidram(); +#endif POSTCODE(MP_ENABLE_POST); @@ -2243,7 +2247,9 @@ ap_init() panic("cpuid mismatch! boom!!"); } +#if 0 getmtrr(); +#endif /* Init local apic for irq's */ apic_initialize(); diff --git a/sys/i386/include/mptable.h b/sys/i386/include/mptable.h index 2267f5a..cde98a7 100644 --- a/sys/i386/include/mptable.h +++ b/sys/i386/include/mptable.h @@ -22,7 +22,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: mp_machdep.c,v 1.92 1999/02/26 03:42:50 tegge Exp $ + * $Id: mp_machdep.c,v 1.93 1999/03/05 16:38:10 bde Exp $ */ #include "opt_smp.h" @@ -496,8 +496,10 @@ init_secondary(void) PTD[0] = 0; pmap_set_opt((unsigned *)PTD); +#if 0 putmtrr(); pmap_setvidram(); +#endif invltlb(); } @@ -556,8 +558,10 @@ mp_enable(u_int boot_addr) u_int ux; #endif /* APIC_IO */ +#if 0 getmtrr(); pmap_setvidram(); +#endif POSTCODE(MP_ENABLE_POST); @@ -2243,7 +2247,9 @@ ap_init() panic("cpuid mismatch! boom!!"); } +#if 0 getmtrr(); +#endif /* Init local apic for irq's */ apic_initialize(); diff --git a/sys/kern/subr_smp.c b/sys/kern/subr_smp.c index 2267f5a..cde98a7 100644 --- a/sys/kern/subr_smp.c +++ b/sys/kern/subr_smp.c @@ -22,7 +22,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: mp_machdep.c,v 1.92 1999/02/26 03:42:50 tegge Exp $ + * $Id: mp_machdep.c,v 1.93 1999/03/05 16:38:10 bde Exp $ */ #include "opt_smp.h" @@ -496,8 +496,10 @@ init_secondary(void) PTD[0] = 0; pmap_set_opt((unsigned *)PTD); +#if 0 putmtrr(); pmap_setvidram(); +#endif invltlb(); } @@ -556,8 +558,10 @@ mp_enable(u_int boot_addr) u_int ux; #endif /* APIC_IO */ +#if 0 getmtrr(); pmap_setvidram(); +#endif POSTCODE(MP_ENABLE_POST); @@ -2243,7 +2247,9 @@ ap_init() panic("cpuid mismatch! boom!!"); } +#if 0 getmtrr(); +#endif /* Init local apic for irq's */ apic_initialize(); |