diff options
author | Jasper Lievisse Adriaanse <jasper@cvs.openbsd.org> | 2013-03-15 09:19:32 +0000 |
---|---|---|
committer | Jasper Lievisse Adriaanse <jasper@cvs.openbsd.org> | 2013-03-15 09:19:32 +0000 |
commit | 98fb50ab6f66087c816b00bffc56eb9f82a218d8 (patch) | |
tree | ff7794a2f02e238f5346f53860cb4b8dcbb506b5 /sys/arch | |
parent | 9535e3417be1743e8526f2127bc0c1da9532126a (diff) |
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@
Diffstat (limited to 'sys/arch')
-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) |