mirror of https://github.com/m-labs/artiq.git
ksupport: kernel_run lookup with dyld (closes #590)
adapt to misoc change
This commit is contained in:
parent
78700a67bc
commit
54f05b6fc1
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue