ahci: relocate ahci_vbase to unmapped region
This commit is contained in:
parent
823f811954
commit
ec4d266abd
3 changed files with 9 additions and 3 deletions
|
|
@ -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()
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue