summaryrefslogtreecommitdiffstats
path: root/sys/amd64
diff options
context:
space:
mode:
authordg <dg@FreeBSD.org>1994-08-31 06:17:49 +0000
committerdg <dg@FreeBSD.org>1994-08-31 06:17:49 +0000
commita9a9ceeae2109e65721d0b5ed662e324502ceb15 (patch)
tree7ff25817640db4f5e71d9a492c482795929bb37f /sys/amd64
parente149c004635e54083175fac38276b9c5d5f138e4 (diff)
downloadFreeBSD-src-a9a9ceeae2109e65721d0b5ed662e324502ceb15.zip
FreeBSD-src-a9a9ceeae2109e65721d0b5ed662e324502ceb15.tar.gz
Rather than exclude bounce buffers support with NOBOUNCE, include it
with BOUNCE_BUFFERS. This is more intuitive, and is better for future multiplatform support. Added BOUNCE_BUFFERS option to the GENERIC and LINT kernel config files.
Diffstat (limited to 'sys/amd64')
-rw-r--r--sys/amd64/amd64/machdep.c6
-rw-r--r--sys/amd64/amd64/vm_machdep.c6
2 files changed, 6 insertions, 6 deletions
diff --git a/sys/amd64/amd64/machdep.c b/sys/amd64/amd64/machdep.c
index 3ba8234..f91eafc 100644
--- a/sys/amd64/amd64/machdep.c
+++ b/sys/amd64/amd64/machdep.c
@@ -35,7 +35,7 @@
* SUCH DAMAGE.
*
* from: @(#)machdep.c 7.4 (Berkeley) 6/3/91
- * $Id: machdep.c,v 1.56 1994/08/24 11:45:19 sos Exp $
+ * $Id: machdep.c,v 1.57 1994/08/27 16:14:12 davidg Exp $
*/
#include "npx.h"
@@ -255,7 +255,7 @@ again:
valloc(swbuf, struct buf, nswbuf);
valloc(buf, struct buf, nbuf);
-#ifndef NOBOUNCE
+#ifdef BOUNCE_BUFFERS
/*
* If there is more than 16MB of memory, allocate some bounce buffers
*/
@@ -321,7 +321,7 @@ again:
printf("using %d buffers containing %d bytes of memory\n",
nbuf, bufpages * CLBYTES);
-#ifndef NOBOUNCE
+#ifdef BOUNCE_BUFFERS
/*
* init bounce buffers
*/
diff --git a/sys/amd64/amd64/vm_machdep.c b/sys/amd64/amd64/vm_machdep.c
index 906ea75..7f92a64 100644
--- a/sys/amd64/amd64/vm_machdep.c
+++ b/sys/amd64/amd64/vm_machdep.c
@@ -38,7 +38,7 @@
*
* from: @(#)vm_machdep.c 7.3 (Berkeley) 5/13/91
* Utah $Hdr: vm_machdep.c 1.16.1.1 89/06/23$
- * $Id: vm_machdep.c,v 1.25 1994/08/07 03:31:52 davidg Exp $
+ * $Id: vm_machdep.c,v 1.26 1994/08/07 14:53:11 davidg Exp $
*/
#include "npx.h"
@@ -55,7 +55,7 @@
#include <vm/vm.h>
#include <vm/vm_kern.h>
-#ifndef NOBOUNCE
+#ifdef BOUNCE_BUFFERS
vm_map_t io_map;
volatile int kvasfreecnt;
@@ -512,7 +512,7 @@ vm_bounce_init()
bouncefree = bouncepages;
}
-#endif /* NOBOUNCE */
+#endif /* BOUNCE_BUFFERS */
/*
* quick version of vm_fault
*/
OpenPOWER on IntegriCloud