diff options
author | kato <kato@FreeBSD.org> | 1997-04-13 06:02:52 +0000 |
---|---|---|
committer | kato <kato@FreeBSD.org> | 1997-04-13 06:02:52 +0000 |
commit | 9661fa8f25f62549a9eb0783d7c05cbc04fc848e (patch) | |
tree | 880e77f6adc837943ac179aab2959fb550d04eff /sys | |
parent | b4fc66f21eeb1d018a8db9898ba375a4a51c600c (diff) | |
download | FreeBSD-src-9661fa8f25f62549a9eb0783d7c05cbc04fc848e.zip FreeBSD-src-9661fa8f25f62549a9eb0783d7c05cbc04fc848e.tar.gz |
Synchronize with sys/i386/i386/machdep.c revision 1.237.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/pc98/i386/machdep.c | 4 | ||||
-rw-r--r-- | sys/pc98/pc98/machdep.c | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/sys/pc98/i386/machdep.c b/sys/pc98/i386/machdep.c index 297061b..ed46bc2 100644 --- a/sys/pc98/i386/machdep.c +++ b/sys/pc98/i386/machdep.c @@ -35,7 +35,7 @@ * SUCH DAMAGE. * * from: @(#)machdep.c 7.4 (Berkeley) 6/3/91 - * $Id: machdep.c,v 1.34 1997/03/31 11:11:12 davidg Exp $ + * $Id: machdep.c,v 1.35 1997/04/07 11:00:45 kato Exp $ */ #include "npx.h" @@ -311,6 +311,8 @@ again: if (bouncepages == 0) { bouncepages = 64; bouncepages += ((Maxmem - 4096) / 2048) * 32; + if (bouncepages > 128) + bouncepages = 128; } v = (caddr_t)((vm_offset_t)round_page(v)); valloc(bouncememory, char, bouncepages * PAGE_SIZE); diff --git a/sys/pc98/pc98/machdep.c b/sys/pc98/pc98/machdep.c index 297061b..ed46bc2 100644 --- a/sys/pc98/pc98/machdep.c +++ b/sys/pc98/pc98/machdep.c @@ -35,7 +35,7 @@ * SUCH DAMAGE. * * from: @(#)machdep.c 7.4 (Berkeley) 6/3/91 - * $Id: machdep.c,v 1.34 1997/03/31 11:11:12 davidg Exp $ + * $Id: machdep.c,v 1.35 1997/04/07 11:00:45 kato Exp $ */ #include "npx.h" @@ -311,6 +311,8 @@ again: if (bouncepages == 0) { bouncepages = 64; bouncepages += ((Maxmem - 4096) / 2048) * 32; + if (bouncepages > 128) + bouncepages = 128; } v = (caddr_t)((vm_offset_t)round_page(v)); valloc(bouncememory, char, bouncepages * PAGE_SIZE); |