ahci: relocate ahci_vbase to unmapped region

This commit is contained in:
Michael Shaw 2023-11-15 20:16:21 -05:00
commit ec4d266abd
3 changed files with 9 additions and 3 deletions

View file

@ -6,11 +6,11 @@
#include <kernel/proc.h>
static slab_t *page_slab;
static spinlock_t kmap_lock = 0;
extern void *(*alloc_page)();
static struct rbtree *kmap_tree = NULL;
struct rbtree *kmap_tree = NULL;
spinlock_t kmap_lock = 0;
static void *kmap_alloc_page()
{