ref: f2fc14b919943c3838aa37f0a6abb2d586634ad7
parent: 70cdebaba66983dffa87765e08d3e7e277edae04
author: cinap_lenrek <cinap_lenrek@gmx.de>
date: Mon Aug 6 19:54:52 EDT 2012
memory.c: remove unused xmapupa map
--- a/sys/src/9/pc/memory.c
+++ b/sys/src/9/pc/memory.c
@@ -53,13 +53,6 @@
&mapupa[nelem(mapupa)-1],
};
-static Map xmapupa[16];
-static RMap xrmapupa = {- "unbacked physical memory",
- xmapupa,
- &xmapupa[nelem(xmapupa)-1],
-};
-
static Map mapram[16];
static RMap rmapram = {"physical memory",
@@ -811,9 +804,9 @@
/*
* Give out otherwise-unused physical address space
- * for use in configuring devices. Note that unlike upamalloc
- * before it, upaalloc does not map the physical address
- * into virtual memory. Call vmap to do that.
+ * for use in configuring devices. Note that upaalloc
+ * does not map the physical address into virtual memory.
+ * Call vmap to do that.
*/
ulong
upaalloc(int size, int align)
--
⑨