Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/arm/arm32 Make sure when mapping all the kernel, st...
details: https://anonhg.NetBSD.org/src/rev/a567cadfc2da
branches: trunk
changeset: 782222:a567cadfc2da
user: matt <matt%NetBSD.org@localhost>
date: Sun Oct 21 22:04:05 2012 +0000
description:
Make sure when mapping all the kernel, start at KERNEL_BASE, not kernel_base.
diffstat:
sys/arch/arm/arm32/arm32_kvminit.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 969bb8eff41c -r a567cadfc2da sys/arch/arm/arm32/arm32_kvminit.c
--- a/sys/arch/arm/arm32/arm32_kvminit.c Sun Oct 21 21:23:38 2012 +0000
+++ b/sys/arch/arm/arm32/arm32_kvminit.c Sun Oct 21 22:04:05 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: arm32_kvminit.c,v 1.12 2012/10/19 12:36:24 skrll Exp $ */
+/* $NetBSD: arm32_kvminit.c,v 1.13 2012/10/21 22:04:05 matt Exp $ */
/*
* Copyright (c) 2002, 2003, 2005 Genetec Corporation. All rights reserved.
@@ -122,7 +122,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: arm32_kvminit.c,v 1.12 2012/10/19 12:36:24 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: arm32_kvminit.c,v 1.13 2012/10/21 22:04:05 matt Exp $");
#include <sys/param.h>
#include <sys/device.h>
@@ -663,7 +663,7 @@
cur_pv = *pv;
pv = SLIST_NEXT(pv, pv_list);
} else {
- cur_pv.pv_va = kernel_base;
+ cur_pv.pv_va = KERNEL_BASE;
cur_pv.pv_pa = bmi->bmi_start;
cur_pv.pv_size = pv->pv_pa - bmi->bmi_start;
cur_pv.pv_prot = VM_PROT_READ | VM_PROT_WRITE;
Home |
Main Index |
Thread Index |
Old Index