ksupport: kernel_run lookup with dyld (closes #590)

adapt to misoc change
This commit is contained in:
Robert Jördens 2016-10-18 10:06:51 +02:00
parent 78700a67bc
commit 54f05b6fc1
1 changed files with 1 additions and 1 deletions

View File

@ -409,7 +409,7 @@ int main(void)
}
if(request->run_kernel) {
void (*kernel_run)() = request->library_info->init;
void (*kernel_run)() = dyld_lookup("__modinit__", request->library_info);
void *typeinfo = dyld_lookup("typeinfo", request->library_info);
mailbox_send_and_wait(&load_reply);