summaryrefslogtreecommitdiffstats
path: root/sys/i386/include/mptable.h
diff options
context:
space:
mode:
authormsmith <msmith@FreeBSD.org>1999-04-30 22:09:45 +0000
committermsmith <msmith@FreeBSD.org>1999-04-30 22:09:45 +0000
commit99eb45ed3c81a957feebf1276d7bdd59ed099d1e (patch)
tree909ae7cc954ae61e3f92438e119e55d288e5589b /sys/i386/include/mptable.h
parent0d3ecf09a3f496015692a9a5c69dd6b3b05ec7b4 (diff)
downloadFreeBSD-src-99eb45ed3c81a957feebf1276d7bdd59ed099d1e.zip
FreeBSD-src-99eb45ed3c81a957feebf1276d7bdd59ed099d1e.tar.gz
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
Diffstat (limited to 'sys/i386/include/mptable.h')
-rw-r--r--sys/i386/include/mptable.h5
1 files changed, 4 insertions, 1 deletions
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
OpenPOWER on IntegriCloud