diff options
author | 2013-03-15 09:19:31 +0000 | |
---|---|---|
committer | 2013-03-15 09:19:31 +0000 | |
commit | 73059d26de80bfdf5510045406aa06db7c9614a4 (patch) | |
tree | c3c8cedc99bb061ddf60a55f2164983adfc7b848 | |
parent | add some board types which will be used later to identify particular boards (diff) | |
download | wireguard-openbsd-73059d26de80bfdf5510045406aa06db7c9614a4.tar.xz wireguard-openbsd-73059d26de80bfdf5510045406aa06db7c9614a4.zip |
print a dump of structs boot_info/boot_desc which contain useful information
to have in the dmesg, for the time being
ok bcallah@ yasuoka@
-rw-r--r-- | sys/arch/octeon/octeon/machdep.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/octeon/octeon/machdep.c b/sys/arch/octeon/octeon/machdep.c index ebfb69bfff7..ed1a5d993dc 100644 --- a/sys/arch/octeon/octeon/machdep.c +++ b/sys/arch/octeon/octeon/machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: machdep.c,v 1.26 2013/03/15 09:19:01 jasper Exp $ */ +/* $OpenBSD: machdep.c,v 1.27 2013/03/15 09:19:31 jasper Exp $ */ /* * Copyright (c) 2009, 2010 Miodrag Vallat. @@ -374,6 +374,7 @@ mips_init(__register_t a0, __register_t a1, __register_t a2 __unused, consinit(); printf("Initial setup done, switching console.\n"); +#define DEBUG #ifdef DEBUG #define DUMP_BOOT_DESC(field, format) \ printf("boot_desc->" #field ":" #format "\n", boot_desc->field) |