diff options
| author | John Dyson <dyson@FreeBSD.org> | 1997-07-17 19:45:01 +0000 |
|---|---|---|
| committer | John Dyson <dyson@FreeBSD.org> | 1997-07-17 19:45:01 +0000 |
| commit | 78342719d663694f3857a13c4fe191cc52e3dbb1 (patch) | |
| tree | 0e622f3decc7b6730ed7bf5202e6183b112a0f57 /sys/kern/subr_smp.c | |
| parent | 5a93a1d7263c62b5adb0dcb76c19d5a7b55d65ce (diff) | |
Notes
Diffstat (limited to 'sys/kern/subr_smp.c')
| -rw-r--r-- | sys/kern/subr_smp.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/kern/subr_smp.c b/sys/kern/subr_smp.c index 157c218d2fad..7b74a3632a89 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.14 1997/07/13 00:42:14 smp Exp smp $ + * $Id: mp_machdep.c,v 1.27 1997/07/13 01:22:43 fsmp Exp $ */ #include "opt_smp.h" @@ -395,6 +395,8 @@ init_secondary(void) load_cr0(0x8005003b); /* XXX! */ PTD[0] = 0; + pmap_set_opt((unsigned *)PTD); + invltlb(); } @@ -1542,6 +1544,8 @@ start_all_aps(u_int boot_addr) outb(CMOS_REG, BIOS_RESET); outb(CMOS_DATA, mpbiosreason); + pmap_set_opt_bsp(); + /* number of APs actually started */ return mp_ncpus - 1; } |
