mem: improve device memory mapping
MMIO ports will no longer directly map to HHDM addresses and will need to be searched for in the memory mapping tree
This commit is contained in:
parent
24e2610a6b
commit
4dc4f07dc6
10 changed files with 111 additions and 16 deletions
|
|
@ -12,7 +12,7 @@ static slab_t *slab_cache[ARRAY_SIZE(slab_sizes)];
|
|||
static size_t dma_sizes[] = { 0x1000, 0x10000, 0x100000, 0x1000000 };
|
||||
static slab_t *slab_cache_dma[ARRAY_SIZE(slab_sizes)];
|
||||
|
||||
static struct rbtree kmalloc_tree = { NULL, 0 };
|
||||
static struct rbtree kmalloc_tree = { NULL, 0, 0 };
|
||||
|
||||
static inline void slab_range(slab_t *slab, uintptr_t *o_start, uintptr_t *o_end)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue