2
0
mirror of https://github.com/m-labs/artiq.git synced 2024-12-25 11:18:27 +08:00

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

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);