ref: 2dd98ec94ebe7429531ae99996841e46faa73e5c
parent: ad13cd2e2d20c627be567e0556547236828f6a9d
author: 9ferno <gophone2015@gmail.com>
date: Fri Aug 6 03:59:12 EDT 2021
more debug prints
--- a/os/pc64/memory.c
+++ b/os/pc64/memory.c
@@ -33,12 +33,12 @@
/*
* Allocate from the map directly to make page tables.
*/
- print("before calling rampage\n");
- memmapdump();
+ DP("before calling rampage\n");
+ /* memmapdump(); */
pa = memmapalloc(-1, BY2PG, BY2PG, MemRAM);
if(pa == -1)
panic("rampage: out of memory\n");
- print("rampage returned 0x%p\n", pa);
+ DP("rampage returned 0x%p\n", pa);
return (void*)pa;
}