summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>1997-10-22 00:05:08 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>1997-10-22 00:05:08 +0000
commitd992e69276bf94dc646ab4573c7113d9445e3662 (patch)
tree2c98122064bcbd140f06c89478dc7f844e6daf5e
parent211cd07bb7ee71804463ade819799b73d98397f6 (diff)
remap 0-->reserved; toby@
-rw-r--r--sys/arch/i386/stand/libsa/memprobe.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/i386/stand/libsa/memprobe.c b/sys/arch/i386/stand/libsa/memprobe.c
index b28de7dfbc2..e867bc8121f 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.20 1997/10/21 23:47:26 mickey Exp $ */
+/* $OpenBSD: memprobe.c,v 1.21 1997/10/22 00:05:07 mickey Exp $ */
/*
* Copyright (c) 1997 Tobias Weingartner, Michael Shalayeff
@@ -64,6 +64,8 @@ bios_E820(mp)
break;
gotcha++;
mp->size >>= 10; /* / 1024 */
+ if (mp->type == 0)
+ mp->type = BIOS_MAP_RES;
mp++;
} while (off);