diff options
| author | cinap_lenrek <cinap_lenrek@gmx.de> | 2012-08-06 23:54:52 +0200 |
|---|---|---|
| committer | cinap_lenrek <cinap_lenrek@gmx.de> | 2012-08-06 23:54:52 +0200 |
| commit | cd99666815cb7918d73b73059f9a6398a5b2b601 (patch) | |
| tree | 0da638afd9d48903fa0df8d590826185d5afbfcb | |
| parent | 6a443a3e6ada7b4af40f1ce0b890122dcb3fb8ef (diff) | |
| download | plan9front-cd99666815cb7918d73b73059f9a6398a5b2b601.tar.xz | |
memory.c: remove unused xmapupa map
| -rw-r--r-- | sys/src/9/pc/memory.c | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/sys/src/9/pc/memory.c b/sys/src/9/pc/memory.c index c14dda4d6..f0e2eba32 100644 --- a/sys/src/9/pc/memory.c +++ b/sys/src/9/pc/memory.c @@ -53,13 +53,6 @@ static RMap rmapupa = { &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 @@ umbrwfree(ulong addr, int size) /* * 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) |
