Source-Changes-HG archive

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

[src/trunk]: src/sys/arch Add two XXXs, so that people don't get confused, a ...



details:   https://anonhg.NetBSD.org/src/rev/edbc9dd49c15
branches:  trunk
changeset: 827297:edbc9dd49c15
user:      maxv <maxv%NetBSD.org@localhost>
date:      Mon Oct 23 06:00:59 2017 +0000

description:
Add two XXXs, so that people don't get confused, a fifth region is needed
anyway.

diffstat:

 sys/arch/amd64/stand/prekern/mm.c |  4 ++--
 sys/arch/x86/x86/x86_machdep.c    |  6 +++---
 2 files changed, 5 insertions(+), 5 deletions(-)

diffs (45 lines):

diff -r fe8a0a411142 -r edbc9dd49c15 sys/arch/amd64/stand/prekern/mm.c
--- a/sys/arch/amd64/stand/prekern/mm.c Mon Oct 23 03:54:40 2017 +0000
+++ b/sys/arch/amd64/stand/prekern/mm.c Mon Oct 23 06:00:59 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: mm.c,v 1.3 2017/10/18 17:12:42 maxv Exp $      */
+/*     $NetBSD: mm.c,v 1.4 2017/10/23 06:00:59 maxv Exp $      */
 
 /*
  * Copyright (c) 2017 The NetBSD Foundation, Inc. All rights reserved.
@@ -174,7 +174,7 @@
 
        size = (NKL2_KIMG_ENTRIES + 1) * NBPD_L2;
 
-       /* yes, this is ridiculous */
+       /* XXX: yes, this is ridiculous, will be fixed soon */
        rnd = rdtsc();
        randva = rounddown(KASLR_WINDOW_BASE + rnd % (KASLR_WINDOW_SIZE - size),
            PAGE_SIZE);
diff -r fe8a0a411142 -r edbc9dd49c15 sys/arch/x86/x86/x86_machdep.c
--- a/sys/arch/x86/x86/x86_machdep.c    Mon Oct 23 03:54:40 2017 +0000
+++ b/sys/arch/x86/x86/x86_machdep.c    Mon Oct 23 06:00:59 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: x86_machdep.c,v 1.99 2017/10/22 01:29:26 maya Exp $    */
+/*     $NetBSD: x86_machdep.c,v 1.100 2017/10/23 06:00:59 maxv Exp $   */
 
 /*-
  * Copyright (c) 2002, 2006, 2007 YAMAMOTO Takashi,
@@ -31,7 +31,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: x86_machdep.c,v 1.99 2017/10/22 01:29:26 maya Exp $");
+__KERNEL_RCSID(0, "$NetBSD: x86_machdep.c,v 1.100 2017/10/23 06:00:59 maxv Exp $");
 
 #include "opt_modular.h"
 #include "opt_physmem.h"
@@ -886,7 +886,7 @@
 init_x86_vm(paddr_t pa_kend)
 {
        extern struct bootspace bootspace;
-       paddr_t pa_kstart = bootspace.text.pa;
+       paddr_t pa_kstart = bootspace.text.pa; /* XXX head instead */
        uint64_t seg_start, seg_end;
        uint64_t seg_start1, seg_end1;
        int x;



Home | Main Index | Thread Index | Old Index