Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-4]: src/sys/arch/pc532/pc532 pull up 1.96 -> 1.97:



details:   https://anonhg.NetBSD.org/src/rev/79af989c5950
branches:  netbsd-1-4
changeset: 468273:79af989c5950
user:      chs <chs%NetBSD.org@localhost>
date:      Fri Apr 16 16:22:15 1999 +0000

description:
pull up 1.96 -> 1.97:
add a `flags' argument to uvm_pagealloc_strat().
define a flag UVM_PGA_USERESERVE to allow non-kernel object
allocations to use pages from the reserve.
use the new flag for allocations in pmap modules.

diffstat:

 sys/arch/pc532/pc532/machdep.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 27c0256d5e66 -r 79af989c5950 sys/arch/pc532/pc532/machdep.c
--- a/sys/arch/pc532/pc532/machdep.c    Fri Apr 16 16:21:48 1999 +0000
+++ b/sys/arch/pc532/pc532/machdep.c    Fri Apr 16 16:22:15 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: machdep.c,v 1.96 1999/04/01 00:17:48 thorpej Exp $     */
+/*     $NetBSD: machdep.c,v 1.96.2.1 1999/04/16 16:22:15 chs Exp $     */
 
 /*-
  * Copyright (c) 1996 Matthias Pfaller.
@@ -294,7 +294,7 @@
                curbufsize = CLBYTES * ((i < residual) ? (base+1) : base);
 
                while (curbufsize) {
-                       pg = uvm_pagealloc(NULL, 0, NULL);
+                       pg = uvm_pagealloc(NULL, 0, NULL, 0);
                        if (pg == NULL)
                                panic("cpu_startup: not enough memory for "
                                    "buffer cache");



Home | Main Index | Thread Index | Old Index