> 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 16:59:59 up 6 days, 12:05, 1 user, load average: 0.65, 0.68, 0.57
This commit is contained in:
@ -38,7 +38,7 @@ static uintptr_t loader(PCB *pcb, const char *filename) {
|
||||
|
||||
void naive_uload(PCB *pcb, const char *filename) {
|
||||
uintptr_t entry = loader(pcb, filename);
|
||||
Log("Jump to entry = %p", entry);
|
||||
Log("Jump to entry = %x", entry);
|
||||
((void(*)())entry) ();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user