]> git.buserror.net Git - polintos/scott/priv.git/blobdiff - kernel/tests/aspace.cc
random kernel stuff
[polintos/scott/priv.git] / kernel / tests / aspace.cc
index 694021ebc507dd16c7bab594d3dc1a1c2cebb902..8471c37883fd7f644e249a1c44b6364c46c13550 100644 (file)
@@ -57,7 +57,8 @@ void thread(void *arg)
               (void *)stacked[0], (void *)stacked[1],
               (void *)mappables[0], (void *)mappables[1]);
                
-       char *buf = new char[100000];
+//     char *buf = new char[100000];
+       char *buf = (char *)alloc_pages(25);
        printf("buf %p\n", buf);
        
        char *abuf = (char *)((((ulong)buf) + 4095) & ~4095);