mirror of
https://github.com/justinian/jsix.git
synced 2025-12-10 00:14:32 -08:00
[boot] Don't double-load read-only program data
The bootloader's load_program was reproducing all loadable program header sections into new pages. Now only do that for sections containing BSS sections (eg, where file size and mem size do not match).
This commit is contained in:
@@ -184,7 +184,6 @@ log_mtrrs()
|
||||
process *
|
||||
load_simple_process(init::program &program)
|
||||
{
|
||||
|
||||
process *p = new process;
|
||||
vm_space &space = p->space();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user