> compile NEMU

221220000 张三
Linux zzy 5.15.146.1-microsoft-standard-WSL2 #1 SMP Thu Jan 11 04:09:03 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
 17:38:42 up 6 days, 12:44,  1 user,  load average: 1.00, 0.67, 0.72
This commit is contained in:
tracer-ics2023
2024-09-23 17:38:43 +08:00
committed by zzy
parent c42fc4f171
commit dfbae9796d

View File

@ -33,7 +33,7 @@ static uintptr_t loader(PCB *pcb, const char *filename) {
memset((uint8_t*)phdr[i].p_vaddr + phdr[i].p_filesz, 0, phdr[i].p_memsz - phdr[i].p_filesz);
}
assert(ehdr.e_entry == 0x83000000);
//assert(ehdr.e_entry == 0x83000000);
return 0x83000000;
return ehdr.e_entry;
}