Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/i386/i386 Remove a duplicate entry for PTE_BASE.



details:   https://anonhg.NetBSD.org/src/rev/3d90d33b215e
branches:  trunk
changeset: 752317:3d90d33b215e
user:      jym <jym%NetBSD.org@localhost>
date:      Mon Feb 22 23:52:17 2010 +0000

description:
Remove a duplicate entry for PTE_BASE.

While here, introduce PDP_SIZE and PDE_SIZE. They will be used by asm code
to make it more generic (PAE related).

diffstat:

 sys/arch/i386/i386/genassym.cf |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (27 lines):

diff -r 177f2bbf70e9 -r 3d90d33b215e sys/arch/i386/i386/genassym.cf
--- a/sys/arch/i386/i386/genassym.cf    Mon Feb 22 23:05:39 2010 +0000
+++ b/sys/arch/i386/i386/genassym.cf    Mon Feb 22 23:52:17 2010 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: genassym.cf,v 1.84 2009/11/27 03:23:10 rmind Exp $
+#      $NetBSD: genassym.cf,v 1.85 2010/02/22 23:52:17 jym Exp $
 
 #
 # Copyright (c) 1998, 2006, 2007, 2008 The NetBSD Foundation, Inc.
@@ -150,7 +150,6 @@
 define LSRUN                   LSRUN
 define LSONPROC                LSONPROC
 
-define PTE_BASE                PTE_BASE
 define UPAGES                  UPAGES
 define USPACE                  USPACE
 define KSTACK_SIZE             KSTACK_SIZE
@@ -169,6 +168,9 @@
 define PDIR_SLOT_PTE           PDIR_SLOT_PTE
 define PTE_BASE                PTE_BASE
 
+define PDP_SIZE                PDP_SIZE
+define PDE_SIZE                sizeof(pd_entry_t)
+
 define IOMAPSIZE               IOMAPSIZE
 
 define VM_MAXUSER_ADDRESS      (int)VM_MAXUSER_ADDRESS



Home | Main Index | Thread Index | Old Index