Unrot SPARSE_MAPPING code (vm_map_pageable -> vm_map_wire).
This commit is contained in:
parent
18b0669383
commit
725e38b285
@ -722,10 +722,10 @@ link_elf_load_file(linker_class_t cls, const char* filename, linker_file_t* resu
|
||||
/*
|
||||
* Wire down the pages
|
||||
*/
|
||||
vm_map_pageable(kernel_map,
|
||||
(vm_offset_t) segbase,
|
||||
(vm_offset_t) segbase + segs[i]->p_memsz,
|
||||
FALSE);
|
||||
vm_map_wire(kernel_map,
|
||||
(vm_offset_t) segbase,
|
||||
(vm_offset_t) segbase + segs[i]->p_memsz,
|
||||
FALSE);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
@ -722,10 +722,10 @@ link_elf_load_file(linker_class_t cls, const char* filename, linker_file_t* resu
|
||||
/*
|
||||
* Wire down the pages
|
||||
*/
|
||||
vm_map_pageable(kernel_map,
|
||||
(vm_offset_t) segbase,
|
||||
(vm_offset_t) segbase + segs[i]->p_memsz,
|
||||
FALSE);
|
||||
vm_map_wire(kernel_map,
|
||||
(vm_offset_t) segbase,
|
||||
(vm_offset_t) segbase + segs[i]->p_memsz,
|
||||
FALSE);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user