Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/arm G/C L1_TABLE_SIZE_REAL
details: https://anonhg.NetBSD.org/src/rev/01a285565a14
branches: trunk
changeset: 1007001:01a285565a14
user: skrll <skrll%NetBSD.org@localhost>
date: Sun Feb 02 09:19:48 2020 +0000
description:
G/C L1_TABLE_SIZE_REAL
diffstat:
sys/arch/arm/arm32/arm32_kvminit.c | 6 +++---
sys/arch/arm/include/arm32/pte.h | 3 +--
2 files changed, 4 insertions(+), 5 deletions(-)
diffs (44 lines):
diff -r bebafabe7ec9 -r 01a285565a14 sys/arch/arm/arm32/arm32_kvminit.c
--- a/sys/arch/arm/arm32/arm32_kvminit.c Sun Feb 02 08:56:29 2020 +0000
+++ b/sys/arch/arm/arm32/arm32_kvminit.c Sun Feb 02 09:19:48 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: arm32_kvminit.c,v 1.55 2019/05/08 13:18:47 skrll Exp $ */
+/* $NetBSD: arm32_kvminit.c,v 1.56 2020/02/02 09:19:48 skrll Exp $ */
/*
* Copyright (c) 2002, 2003, 2005 Genetec Corporation. All rights reserved.
@@ -127,7 +127,7 @@
#include "opt_multiprocessor.h"
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: arm32_kvminit.c,v 1.55 2019/05/08 13:18:47 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: arm32_kvminit.c,v 1.56 2020/02/02 09:19:48 skrll Exp $");
#include <sys/param.h>
#include <sys/device.h>
@@ -460,7 +460,7 @@
*/
size_t kernel_size = bmi->bmi_kernelend;
kernel_size -= (bmi->bmi_kernelstart & -L2_S_SEGSIZE);
- kernel_size += L1_TABLE_SIZE_REAL;
+ kernel_size += L1_TABLE_SIZE;
kernel_size += PAGE_SIZE * KERNEL_L2PT_VMDATA_NUM;
if (map_vectors_p) {
kernel_size += PAGE_SIZE; /* L2PT for VECTORS */
diff -r bebafabe7ec9 -r 01a285565a14 sys/arch/arm/include/arm32/pte.h
--- a/sys/arch/arm/include/arm32/pte.h Sun Feb 02 08:56:29 2020 +0000
+++ b/sys/arch/arm/include/arm32/pte.h Sun Feb 02 09:19:48 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pte.h,v 1.21 2020/01/18 14:40:04 skrll Exp $ */
+/* $NetBSD: pte.h,v 1.22 2020/02/02 09:19:48 skrll Exp $ */
/*
* Copyright (c) 2001, 2002 Wasabi Systems, Inc.
@@ -138,7 +138,6 @@
* keep the old L2_TABLE_SIZE define lying around. Converted ports
* should use L2_TABLE_SIZE_REAL until then.
*/
-#define L1_TABLE_SIZE_REAL 0x4000 /* 16K */
#define L2_TABLE_SIZE_REAL 0x400 /* 1K */
#define L1TT_SIZE 0x2000 /* 8K */
Home |
Main Index |
Thread Index |
Old Index