kv2: add paging
this also fixes up a bunch of formatting, adding the type vaddr_t Signed-off-by: Michael Shaw <spencershawiscool@gmail.com>
This commit is contained in:
parent
27a7f3de75
commit
d6873d6c7a
18 changed files with 130 additions and 66 deletions
|
|
@ -29,7 +29,7 @@ dev_t device_create(void *private, dev_class_t class, const char *name)
|
|||
info->class = class;
|
||||
memcpy(info->name, name, MIN(name_len, sizeof(info->name) - 1));
|
||||
|
||||
node->value = (uintptr_t)info;
|
||||
node->value = (vaddr_t)info;
|
||||
|
||||
return key;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue