Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/x86/x86 use bootspace (this branch is never taken)
details: https://anonhg.NetBSD.org/src/rev/4a6a5e55ca12
branches: trunk
changeset: 356510:4a6a5e55ca12
user: maxv <maxv%NetBSD.org@localhost>
date: Sat Sep 30 12:35:48 2017 +0000
description:
use bootspace (this branch is never taken)
diffstat:
sys/arch/x86/x86/pmap.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 7c9c4bcdc761 -r 4a6a5e55ca12 sys/arch/x86/x86/pmap.c
--- a/sys/arch/x86/x86/pmap.c Sat Sep 30 12:29:58 2017 +0000
+++ b/sys/arch/x86/x86/pmap.c Sat Sep 30 12:35:48 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pmap.c,v 1.259 2017/09/30 12:29:58 maxv Exp $ */
+/* $NetBSD: pmap.c,v 1.260 2017/09/30 12:35:48 maxv Exp $ */
/*
* Copyright (c) 2008, 2010, 2016, 2017 The NetBSD Foundation, Inc.
@@ -171,7 +171,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.259 2017/09/30 12:29:58 maxv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.260 2017/09/30 12:35:48 maxv Exp $");
#include "opt_user_ldt.h"
#include "opt_lockdebug.h"
@@ -1326,7 +1326,7 @@
#ifdef XEN
/* early_zerop initialized in xen_locore() */
#else
- early_zerop = (void *)(KERNBASE + NKL2_KIMG_ENTRIES * NBPD_L2);
+ early_zerop = (void *)bootspace.spareva;
#endif
early_zero_pte = PTE_BASE + pl1_i((vaddr_t)early_zerop);
}
Home |
Main Index |
Thread Index |
Old Index