Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/amd64/include Remove KERN_BASE, unused. It has alwa...



details:   https://anonhg.NetBSD.org/src/rev/3947be2b74e4
branches:  trunk
changeset: 834090:3947be2b74e4
user:      maxv <maxv%NetBSD.org@localhost>
date:      Fri Jul 27 07:35:09 2018 +0000

description:
Remove KERN_BASE, unused. It has always been wrong anyway, the value
should have been passed into VA_SIGN_NEG().

diffstat:

 sys/arch/amd64/include/pmap.h |  3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diffs (17 lines):

diff -r f53ff912a1c4 -r 3947be2b74e4 sys/arch/amd64/include/pmap.h
--- a/sys/arch/amd64/include/pmap.h     Fri Jul 27 07:32:59 2018 +0000
+++ b/sys/arch/amd64/include/pmap.h     Fri Jul 27 07:35:09 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pmap.h,v 1.47 2018/07/25 11:47:07 maxv Exp $   */
+/*     $NetBSD: pmap.h,v 1.48 2018/07/27 07:35:09 maxv Exp $   */
 
 /*
  * Copyright (c) 1997 Charles D. Cranor and Washington University.
@@ -158,7 +158,6 @@
  */
 
 #define PTE_BASE       ((pt_entry_t *)(L4_SLOT_PTE * NBPD_L4))
-#define KERN_BASE      ((pt_entry_t *)(L4_SLOT_KERN * NBPD_L4))
 
 #define L1_BASE        PTE_BASE
 #define L2_BASE        ((pd_entry_t *)((char *)L1_BASE + L4_SLOT_PTE * NBPD_L3))



Home | Main Index | Thread Index | Old Index