Provide the new argument to kmem_suballoc().
This commit is contained in:
parent
c251140c26
commit
0f95f2184f
@ -174,7 +174,7 @@ memguard_init(vm_map_t parent_map, unsigned long size)
|
|||||||
size *= PAGE_SIZE;
|
size *= PAGE_SIZE;
|
||||||
|
|
||||||
memguard_map = kmem_suballoc(parent_map, (vm_offset_t *)&base,
|
memguard_map = kmem_suballoc(parent_map, (vm_offset_t *)&base,
|
||||||
(vm_offset_t *)&limit, (vm_size_t)size);
|
(vm_offset_t *)&limit, (vm_size_t)size, FALSE);
|
||||||
memguard_map->system_map = 1;
|
memguard_map->system_map = 1;
|
||||||
memguard_mapsize = size;
|
memguard_mapsize = size;
|
||||||
memguard_mapused = 0;
|
memguard_mapused = 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user