Module Name: src
Committed By: maxv
Date: Thu Aug 2 16:58:00 UTC 2018
Modified Files:
src/sys/arch/amd64/amd64: prekern.c
Log Message:
Don't forget to call init_slotspace when we're booted via the prekern.
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/amd64/amd64/prekern.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/amd64/amd64/prekern.c
diff -u src/sys/arch/amd64/amd64/prekern.c:1.1 src/sys/arch/amd64/amd64/prekern.c:1.2
--- src/sys/arch/amd64/amd64/prekern.c:1.1 Sun Oct 8 08:26:01 2017
+++ src/sys/arch/amd64/amd64/prekern.c Thu Aug 2 16:58:00 2018
@@ -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 @@ struct prekern_args {
};
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 @@ start_prekern(struct prekern_args *pkarg
prekern_copy_args(pkargs);
first_avail = pkargs->first_avail;
+ init_slotspace();
init_x86_64(first_avail);
prekern_unmap();