Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/amd64/stand/prekern Remove this #if, these options ...
details: https://anonhg.NetBSD.org/src/rev/ed7db8fa2d49
branches: trunk
changeset: 356768:ed7db8fa2d49
user: maxv <maxv%NetBSD.org@localhost>
date: Wed Oct 11 16:18:11 2017 +0000
description:
Remove this #if, these options belong to the kernel and not the prekern.
No real change since eblob is always here. And I was apparently drunk
when writing some comments.
diffstat:
sys/arch/amd64/stand/prekern/locore.S | 8 +++-----
1 files changed, 3 insertions(+), 5 deletions(-)
diffs (33 lines):
diff -r 4b31c2349b9f -r ed7db8fa2d49 sys/arch/amd64/stand/prekern/locore.S
--- a/sys/arch/amd64/stand/prekern/locore.S Wed Oct 11 16:13:16 2017 +0000
+++ b/sys/arch/amd64/stand/prekern/locore.S Wed Oct 11 16:18:11 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: locore.S,v 1.1 2017/10/10 09:29:14 maxv Exp $ */
+/* $NetBSD: locore.S,v 1.2 2017/10/11 16:18:11 maxv Exp $ */
/*
* Copyright (c) 1998, 2000, 2007, 2008, 2016, 2017 The NetBSD Foundation, Inc.
@@ -366,21 +366,19 @@
/* Find end of the prekern image; brings us on (1). */
movl $_C_LABEL(__prekern_end),%edi
- /* Find end of the kernel image; brind us on (2). */
+ /* Find end of the kernel image; brings us on (2). */
movl _C_LABEL(kernpa_end),%eax
testl %eax,%eax
jz 1f
movl %eax,%edi
1:
- /* Find end of the kernel symbols; brinds us on (3). */
-#if (NKSYMS || defined(DDB) || defined(MODULAR)) && !defined(makeoptions_COPY_SYMTAB) /* XXX */
+ /* Find end of the kernel symbols; brings us on (3). */
movl _C_LABEL(esym),%eax
testl %eax,%eax
jz 1f
movl %eax,%edi
1:
-#endif
/* Find end of the kernel preloaded modules; brings us on (4). */
movl _C_LABEL(eblob),%eax
Home |
Main Index |
Thread Index |
Old Index