Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/amd64/stand/prekern Remove unused.



details:   https://anonhg.NetBSD.org/src/rev/07b9397502f2
branches:  trunk
changeset: 357316:07b9397502f2
user:      maxv <maxv%NetBSD.org@localhost>
date:      Sun Nov 05 16:27:18 2017 +0000

description:
Remove unused.

diffstat:

 sys/arch/amd64/stand/prekern/pdir.h |  9 +--------
 1 files changed, 1 insertions(+), 8 deletions(-)

diffs (23 lines):

diff -r c1dba1a7c48e -r 07b9397502f2 sys/arch/amd64/stand/prekern/pdir.h
--- a/sys/arch/amd64/stand/prekern/pdir.h       Sun Nov 05 16:26:15 2017 +0000
+++ b/sys/arch/amd64/stand/prekern/pdir.h       Sun Nov 05 16:27:18 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pdir.h,v 1.1 2017/10/10 09:29:14 maxv Exp $    */
+/*     $NetBSD: pdir.h,v 1.2 2017/11/05 16:27:18 maxv Exp $    */
 
 /*
  * Copyright (c) 2017 The NetBSD Foundation, Inc. All rights reserved.
@@ -44,13 +44,6 @@
 #define L3_BASE        ((pd_entry_t *)((char *)L2_BASE + L4_SLOT_PTE * NBPD_L2))
 #define L4_BASE        ((pd_entry_t *)((char *)L3_BASE + L4_SLOT_PTE * NBPD_L1))
 
-#define PDP_BASE       L4_BASE
-
-#define NKL4_MAX_ENTRIES       (unsigned long)1
-#define NKL3_MAX_ENTRIES       (unsigned long)(NKL4_MAX_ENTRIES * 512)
-#define NKL2_MAX_ENTRIES       (unsigned long)(NKL3_MAX_ENTRIES * 512)
-#define NKL1_MAX_ENTRIES       (unsigned long)(NKL2_MAX_ENTRIES * 512)
-
 #define NKL4_KIMG_ENTRIES      1
 #define NKL3_KIMG_ENTRIES      1
 #define NKL2_KIMG_ENTRIES      32



Home | Main Index | Thread Index | Old Index