Synchronize with sys/i386/i386/machdep.c revision 1.237.

This commit is contained in:
KATO Takenori 1997-04-13 06:02:52 +00:00
parent f39aebddfc
commit a6a8345e27
2 changed files with 6 additions and 2 deletions

View file

@ -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);

View file

@ -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);