memory.c: remove unused xmapupa map
This commit is contained in:
parent
6a443a3e6a
commit
cd99666815
1 changed files with 3 additions and 10 deletions
|
@ -53,13 +53,6 @@ static RMap rmapupa = {
|
||||||
&mapupa[nelem(mapupa)-1],
|
&mapupa[nelem(mapupa)-1],
|
||||||
};
|
};
|
||||||
|
|
||||||
static Map xmapupa[16];
|
|
||||||
static RMap xrmapupa = {
|
|
||||||
"unbacked physical memory",
|
|
||||||
xmapupa,
|
|
||||||
&xmapupa[nelem(xmapupa)-1],
|
|
||||||
};
|
|
||||||
|
|
||||||
static Map mapram[16];
|
static Map mapram[16];
|
||||||
static RMap rmapram = {
|
static RMap rmapram = {
|
||||||
"physical memory",
|
"physical memory",
|
||||||
|
@ -811,9 +804,9 @@ umbrwfree(ulong addr, int size)
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Give out otherwise-unused physical address space
|
* Give out otherwise-unused physical address space
|
||||||
* for use in configuring devices. Note that unlike upamalloc
|
* for use in configuring devices. Note that upaalloc
|
||||||
* before it, upaalloc does not map the physical address
|
* does not map the physical address into virtual memory.
|
||||||
* into virtual memory. Call vmap to do that.
|
* Call vmap to do that.
|
||||||
*/
|
*/
|
||||||
ulong
|
ulong
|
||||||
upaalloc(int size, int align)
|
upaalloc(int size, int align)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue