summaryrefslogtreecommitdiff
path: root/sys/arch/i386/stand/libsa
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>1998-06-08 19:27:34 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>1998-06-08 19:27:34 +0000
commitf5cec9c9a052fad58a4a5fb05c366af2474a695a (patch)
tree8d64b233e86145ad034ea804cc93651b1ef6593e /sys/arch/i386/stand/libsa
parentf54ed5ded7653d754ec4d09372dc18d7fd536158 (diff)
use named constatnts
Diffstat (limited to 'sys/arch/i386/stand/libsa')
-rw-r--r--sys/arch/i386/stand/libsa/memprobe.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/arch/i386/stand/libsa/memprobe.c b/sys/arch/i386/stand/libsa/memprobe.c
index b6a85e79063..8d8d5f59cef 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.28 1998/06/08 18:56:45 mickey Exp $ */
+/* $OpenBSD: memprobe.c,v 1.29 1998/06/08 19:27:33 mickey Exp $ */
/*
* Copyright (c) 1997 Tobias Weingartner, Michael Shalayeff
@@ -34,6 +34,7 @@
#include <sys/param.h>
#include <machine/biosvar.h>
+#include <dev/isa/isareg.h>
#include <stand/boot/bootarg.h>
#include "libsa.h"
@@ -312,9 +313,9 @@ memprobe()
printf(" %luK", (u_long)im->size);
/* We ignore "good" memory in the 640K-1M hole */
- if(im->addr < 0xA0000)
+ if(im->addr < IOM_BEGIN)
cnvmem += im->size;
- if(im->addr >= 0x100000)
+ if(im->addr >= IOM_END)
extmem += im->size;
}
}