Commit a missing piece of r364302.
This had failed to apply due to a merge conflict. Reported by: Jenkins MFC with: r364302
This commit is contained in:
parent
2ae32ca2c8
commit
7efe14cb99
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=364306
@ -745,15 +745,13 @@ kva_import_domain(void *arena, vmem_size_t size, int flags, vmem_addr_t *addrp)
|
||||
void
|
||||
kmem_init(vm_offset_t start, vm_offset_t end)
|
||||
{
|
||||
vm_map_t m;
|
||||
int domain;
|
||||
|
||||
m = vm_map_create(kernel_pmap, VM_MIN_KERNEL_ADDRESS, end);
|
||||
m->system_map = 1;
|
||||
vm_map_lock(m);
|
||||
vm_map_init(kernel_map, kernel_pmap, VM_MIN_KERNEL_ADDRESS, end);
|
||||
kernel_map->system_map = 1;
|
||||
vm_map_lock(kernel_map);
|
||||
/* N.B.: cannot use kgdb to debug, starting with this assignment ... */
|
||||
kernel_map = m;
|
||||
(void)vm_map_insert(m, NULL, 0,
|
||||
(void)vm_map_insert(kernel_map, NULL, 0,
|
||||
#ifdef __amd64__
|
||||
KERNBASE,
|
||||
#else
|
||||
|
Loading…
Reference in New Issue
Block a user