From 99eb45ed3c81a957feebf1276d7bdd59ed099d1e Mon Sep 17 00:00:00 2001 From: msmith Date: Fri, 30 Apr 1999 22:09:45 +0000 Subject: Add a hook that can be called to initialise a slave processor's memory range attributes after they have been extracted from the master. Hook up the i686 MP code to do this for each AP. Be more careful about printing the default memory type for the i686. Suggestions from: luoqi --- sys/i386/include/mptable.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'sys/i386/include/mptable.h') diff --git a/sys/i386/include/mptable.h b/sys/i386/include/mptable.h index dcca437..ee7222e 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.97 1999/04/13 03:24:47 tegge Exp $ + * $Id: mp_machdep.c,v 1.98 1999/04/28 01:03:21 luoqi Exp $ */ #include "opt_smp.h" @@ -2200,6 +2200,9 @@ ap_init() /* Init local apic for irq's */ apic_initialize(); + /* Set memory range attributes for this CPU to match the BSP */ + mem_range_AP_init(); + /* * Activate smp_invltlb, although strictly speaking, this isn't * quite correct yet. We should have a bitfield for cpus willing -- cgit v1.1