summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorTobias Weingartner <weingart@cvs.openbsd.org>1997-10-22 00:14:26 +0000
committerTobias Weingartner <weingart@cvs.openbsd.org>1997-10-22 00:14:26 +0000
commit4ba0c5731a0514b8f8aa0f788725a0d6d62283eb (patch)
treeaed942865d47aceb3a55100773dd04ae188df254 /sys/arch
parentd992e69276bf94dc646ab4573c7113d9445e3662 (diff)
Cleanup.
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/i386/stand/libsa/memprobe.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/arch/i386/stand/libsa/memprobe.c b/sys/arch/i386/stand/libsa/memprobe.c
index e867bc8121f..01de42f56d6 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.21 1997/10/22 00:05:07 mickey Exp $ */
+/* $OpenBSD: memprobe.c,v 1.22 1997/10/22 00:14:25 weingart Exp $ */
/*
* Copyright (c) 1997 Tobias Weingartner, Michael Shalayeff
@@ -276,9 +276,8 @@ memprobe()
printf("\n");
#endif
pm->type = BIOS_MAP_END;
- /* Register in global var */
- addbootarg(BOOTARG_MEMMAP, (pm - bm + 1) * sizeof(*bm), bm);
printf("mem0:");
+ memory_map = bm;
/* Get total free memory */
for(im = bm; im->type != BIOS_MAP_END; im++) {