summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authordrahn <drahn@openbsd.org>2006-10-16 21:22:59 +0000
committerdrahn <drahn@openbsd.org>2006-10-16 21:22:59 +0000
commitc52a97075c0521f191a8d9745c75ded38a949683 (patch)
treeb419cb341fefc279896f420c55c76b778c37a818 /sys
parentDo not zero bss in the kernel, the bootloader does this for us and it causes (diff)
downloadwireguard-openbsd-c52a97075c0521f191a8d9745c75ded38a949683.tar.xz
wireguard-openbsd-c52a97075c0521f191a8d9745c75ded38a949683.zip
yes this looks like debug, however it allows the kernel to load. ???
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/landisk/stand/boot/devs.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/arch/landisk/stand/boot/devs.c b/sys/arch/landisk/stand/boot/devs.c
index 52a74c07030..baa6698e717 100644
--- a/sys/arch/landisk/stand/boot/devs.c
+++ b/sys/arch/landisk/stand/boot/devs.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: devs.c,v 1.2 2006/10/11 23:06:46 drahn Exp $ */
+/* $OpenBSD: devs.c,v 1.3 2006/10/16 21:22:59 drahn Exp $ */
/*
* Copyright (c) 2006 Michael Shalayeff
@@ -78,6 +78,10 @@ run_loadfile(u_long *marks, int howto)
cache_flush();
printf("entry point at 0x%x\n", (int)entry);
+ printf("start at 0x%x\n", (int)marks[MARK_START]);
+ printf("NSYMS 0x%x\n", (int)marks[MARK_NSYM]);
+ printf("SYM at 0x%x\n", (int)marks[MARK_SYM]);
+ printf("END at 0x%x\n", (int)marks[MARK_END]);
(*(void (*)(int,int,int))entry)(howto, marks[MARK_END], 0);
}