summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>1998-08-31 20:53:11 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>1998-08-31 20:53:11 +0000
commit730d8628591f80efd0874debe30a4a4fd21cf197 (patch)
treec0226bf413b2c371e52b26a5c32ad8897db237e8
parent28197220ef90561f4958a37a1b5ab74201f0e071 (diff)
better debug printfs
-rw-r--r--sys/arch/i386/stand/libsa/memprobe.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/sys/arch/i386/stand/libsa/memprobe.c b/sys/arch/i386/stand/libsa/memprobe.c
index 8d8d5f59cef..c42206d295a 100644
--- a/sys/arch/i386/stand/libsa/memprobe.c
+++ b/sys/arch/i386/stand/libsa/memprobe.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: memprobe.c,v 1.29 1998/06/08 19:27:33 mickey Exp $ */
+/* $OpenBSD: memprobe.c,v 1.30 1998/08/31 20:53:10 mickey Exp $ */
/*
* Copyright (c) 1997 Tobias Weingartner, Michael Shalayeff
@@ -96,7 +96,7 @@ bios_E820(mp)
if (!gotcha)
return (NULL);
#ifdef DEBUG
- printf("0x15[E820]");
+ printf(" 0x15[E820]");
#endif
return (mp);
}
@@ -120,7 +120,7 @@ bios_E801(mp)
if(rc & 0xff)
return (NULL);
#ifdef DEBUG
- printf("0x15[E801]");
+ printf(" 0x15[E801]");
#endif
/* Fill out BIOS map */
mp->addr = (1024 * 1024); /* 1MB */
@@ -153,7 +153,7 @@ bios_8800(mp)
if(rc & 0xff)
return (NULL);
#ifdef DEBUG
- printf("0x15[8800]");
+ printf(" 0x15[8800]");
#endif
/* Fill out a BIOS_MAP */
mp->addr = 1024 * 1024; /* 1MB */
@@ -173,7 +173,7 @@ bios_int12(mp)
{
int mem;
#ifdef DEBUG
- printf(", 0x12\n");
+ printf(" 0x12");
#endif
__asm __volatile(DOINT(0x12) : "=a" (mem) :: "%ecx", "%edx", "cc");
@@ -257,7 +257,7 @@ badprobe(mp)
{
int ram;
#ifdef DEBUG
- printf("Scan");
+ printf(" Scan");
#endif
/* probe extended memory
*
@@ -281,7 +281,7 @@ memprobe()
{
bios_memmap_t *pm = bios_memmap, *im;
#ifdef DEBUG
- printf("Probing memory: ");
+ printf("Probing memory:");
#endif
if(!(pm = bios_E820(bios_memmap))) {
im = bios_int12(bios_memmap);
@@ -291,7 +291,7 @@ memprobe()
if (!pm)
pm = badprobe(im);
if (!pm) {
- printf ("No Extended memory detected.");
+ printf (" No Extended memory detected.");
pm = im;
}
}