Make new memory detection default.
Introduce a new option, "CONSERVATIVE_MEMDETECT", which disables the new BIOS calls.
This commit is contained in:
parent
8aa62d76fc
commit
80a5032beb
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.7 1997/08/14 15:38:30 drochner Exp $
|
||||
# $NetBSD: Makefile,v 1.8 1997/08/14 17:00:20 drochner Exp $
|
||||
|
||||
S= ${.CURDIR}/../../../../
|
||||
|
||||
@ -11,8 +11,8 @@ SRCS= main.c devopen.c conf.c
|
||||
CLEANFILES+= ${BSSTART} ${PROG}.sym ${PROG}.list
|
||||
|
||||
CPPFLAGS+= -DCOMPAT_OLDBOOT
|
||||
#uncomment to enable extended memory detection
|
||||
#CPPFLAGS+= -DEXTENDED_MEMDETECT
|
||||
#uncomment if there are problems with memory detection
|
||||
#CPPFLAGS+= -DCONSERVATIVE_MEMDETECT
|
||||
#increase MAXFLENTRIES if "installboot" complains about
|
||||
# "not enough fragment space in bootcode" (default: 5)
|
||||
#CPPFLAGS+= -DMAXFLENTRIES=10
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.7 1997/08/14 15:38:31 drochner Exp $
|
||||
# $NetBSD: Makefile,v 1.8 1997/08/14 17:00:22 drochner Exp $
|
||||
|
||||
S= ${.CURDIR}/../../../../
|
||||
|
||||
@ -11,8 +11,8 @@ SRCS= main.c devopen.c
|
||||
CLEANFILES+= ${DOSSTART} ${PROG}.sym ${PROG}.com ${PROG}.list
|
||||
|
||||
CPPFLAGS+= -DCOMPAT_OLDBOOT -DXMS
|
||||
#uncomment to enable extended memory detection
|
||||
#CPPFLAGS+= -DEXTENDED_MEMDETECT
|
||||
#uncomment if there are problems with memory detection
|
||||
#CPPFLAGS+= -DCONSERVATIVE_MEMDETECT
|
||||
|
||||
#CFLAGS= -O2 -fomit-frame-pointer -fno-defer-pop
|
||||
CFLAGS+= -Wall
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: libi386.h,v 1.4 1997/08/14 15:22:01 drochner Exp $ */
|
||||
/* $NetBSD: libi386.h,v 1.5 1997/08/14 17:00:18 drochner Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1996
|
||||
@ -50,10 +50,10 @@ void delay __P((int));
|
||||
int getbasemem __P((void));
|
||||
int getextmemx __P((void));
|
||||
int getextmem1 __P((void));
|
||||
#ifdef EXTENDED_MEMDETECT
|
||||
#define getextmem() getextmemx()
|
||||
#else
|
||||
#ifdef CONSERVATIVE_MEMDETECT
|
||||
#define getextmem() getextmem1()
|
||||
#else
|
||||
#define getextmem() getextmemx()
|
||||
#endif
|
||||
void reboot __P((void));
|
||||
void gateA20 __P((void));
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.10 1997/08/14 15:38:32 drochner Exp $
|
||||
# $NetBSD: Makefile,v 1.11 1997/08/14 17:00:23 drochner Exp $
|
||||
|
||||
S= ${.CURDIR}/../../../../
|
||||
|
||||
@ -15,8 +15,8 @@ CLEANFILES+= ${ROMSTART} ${PROG}.bin ${PROG}.rom ${PROG}.sym ${PROG}.list
|
||||
#CPPFLAGS+= -DNET_DEBUG
|
||||
#CPPFLAGS+= -DSUPPORT_BOOTP -DSUPPORT_TFTP
|
||||
CPPFLAGS+= -DSUPPORT_RARP -DSUPPORT_BOOTPARAM -DSUPPORT_NFS
|
||||
#uncomment to enable extended memory detection
|
||||
#CPPFLAGS+= -DEXTENDED_MEMDETECT
|
||||
#uncomment if there are problems with memory detection
|
||||
#CPPFLAGS+= -DCONSERVATIVE_MEMDETECT
|
||||
|
||||
#CFLAGS= -O2 -fomit-frame-pointer -fno-defer-pop
|
||||
CFLAGS+= -Wall
|
||||
|
Loading…
Reference in New Issue
Block a user