Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/sommerfeld_i386mp_1]: src/sys/arch/i386/i386 Map local apic with pmap_ke...



details:   https://anonhg.NetBSD.org/src/rev/7a2756cbafa4
branches:  sommerfeld_i386mp_1
changeset: 482195:7a2756cbafa4
user:      sommerfeld <sommerfeld%NetBSD.org@localhost>
date:      Mon Feb 21 20:02:22 2000 +0000

description:
Map local apic with pmap_kenter rather than pmap_enter

diffstat:

 sys/arch/i386/i386/lapic.c |  5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diffs (19 lines):

diff -r 36c0e37cde1b -r 7a2756cbafa4 sys/arch/i386/i386/lapic.c
--- a/sys/arch/i386/i386/lapic.c        Mon Feb 21 19:49:54 2000 +0000
+++ b/sys/arch/i386/i386/lapic.c        Mon Feb 21 20:02:22 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: lapic.c,v 1.1.2.5 2000/02/21 19:32:32 sommerfeld Exp $ */
+/* $NetBSD: lapic.c,v 1.1.2.6 2000/02/21 20:02:22 sommerfeld Exp $ */
 
 /*-
  * Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -91,8 +91,7 @@
        /*
         * Map local apic.
         */
-       pmap_enter(pmap_kernel(), va, lapic_base,
-           VM_PROT_ALL, PMAP_WIRED|VM_PROT_ALL);
+       pmap_kenter_pa (va, lapic_base, VM_PROT_ALL);
 
        /*
         * Mark page uncacheable.



Home | Main Index | Thread Index | Old Index