summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
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++) {