Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/x86/include Fix inconsistency, these are indexes an...



details:   https://anonhg.NetBSD.org/src/rev/5e102d4a3285
branches:  trunk
changeset: 995092:5e102d4a3285
user:      maxv <maxv%NetBSD.org@localhost>
date:      Thu Dec 06 17:26:18 2018 +0000

description:
Fix inconsistency, these are indexes and not types, no real functional
change.

diffstat:

 sys/arch/x86/include/pmap.h |  21 ++++++++++-----------
 1 files changed, 10 insertions(+), 11 deletions(-)

diffs (35 lines):

diff -r a8526ffa20c3 -r 5e102d4a3285 sys/arch/x86/include/pmap.h
--- a/sys/arch/x86/include/pmap.h       Thu Dec 06 14:22:48 2018 +0000
+++ b/sys/arch/x86/include/pmap.h       Thu Dec 06 17:26:18 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pmap.h,v 1.91 2018/11/19 20:44:51 maxv Exp $   */
+/*     $NetBSD: pmap.h,v 1.92 2018/12/06 17:26:18 maxv Exp $   */
 
 /*
  * Copyright (c) 1997 Charles D. Cranor and Washington University.
@@ -156,16 +156,15 @@
        vaddr_t emodule;
 };
 
-#define SLSPACE_NONE   0
-#define SLAREA_USER    1
-#define SLAREA_PTE     2
-#define SLAREA_MAIN    3
-#define SLAREA_PCPU    4
-#define SLAREA_DMAP    5
-#define SLAREA_HYPV    6
-#define SLAREA_ASAN    7
-#define SLAREA_KERN    8
-#define SLSPACE_NAREAS 9
+#define SLAREA_USER    0
+#define SLAREA_PTE     1
+#define SLAREA_MAIN    2
+#define SLAREA_PCPU    3
+#define SLAREA_DMAP    4
+#define SLAREA_HYPV    5
+#define SLAREA_ASAN    6
+#define SLAREA_KERN    7
+#define SLSPACE_NAREAS 8
 
 struct slotspace {
        struct {



Home | Main Index | Thread Index | Old Index