diff options
author | 1998-06-08 19:27:33 +0000 | |
---|---|---|
committer | 1998-06-08 19:27:33 +0000 | |
commit | 643d3d6bad19339194a719fa3d07e9e88174dec9 (patch) | |
tree | e18cd9ce1aa27d3b959668cbb75a4b90484f664b | |
parent | typos (diff) | |
download | wireguard-openbsd-643d3d6bad19339194a719fa3d07e9e88174dec9.tar.xz wireguard-openbsd-643d3d6bad19339194a719fa3d07e9e88174dec9.zip |
use named constatnts
-rw-r--r-- | sys/arch/i386/stand/libsa/memprobe.c | 7 |
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; } } |