Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/amd64/amd64 Don't forget to call init_slotspace whe...



details:   https://anonhg.NetBSD.org/src/rev/bbe5cb8a4a11
branches:  trunk
changeset: 991844:bbe5cb8a4a11
user:      maxv <maxv%NetBSD.org@localhost>
date:      Thu Aug 02 16:58:00 2018 +0000

description:
Don't forget to call init_slotspace when we're booted via the prekern.

diffstat:

 sys/arch/amd64/amd64/prekern.c |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (25 lines):

diff -r ab73e9879407 -r bbe5cb8a4a11 sys/arch/amd64/amd64/prekern.c
--- a/sys/arch/amd64/amd64/prekern.c    Thu Aug 02 16:42:12 2018 +0000
+++ b/sys/arch/amd64/amd64/prekern.c    Thu Aug 02 16:58:00 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: prekern.c,v 1.1 2017/10/08 08:26:01 maxv Exp $ */
+/*     $NetBSD: prekern.c,v 1.2 2018/08/02 16:58:00 maxv Exp $ */
 
 /*
  * Copyright (c) 2017 The NetBSD Foundation, Inc. All rights reserved.
@@ -62,6 +62,7 @@
 };
 
 void main(void);
+void init_slotspace(void);
 void init_x86_64(paddr_t);
 
 static void prekern_copy_args(struct prekern_args *);
@@ -124,6 +125,7 @@
        prekern_copy_args(pkargs);
        first_avail = pkargs->first_avail;
 
+       init_slotspace();
        init_x86_64(first_avail);
 
        prekern_unmap();



Home | Main Index | Thread Index | Old Index