The `arm64_syscall_adapter` was introduced by #1009.
In order to forward binary syscalls,
it requires a dependency on `CONFIG_LIBSYSCALL_SHIM_HANDLER`,
and the current `CONFIG_LIBSYSCALL_SHIM` is not enough.
Signed-off-by: Tianyi Liu <i.pear@outlook.com>
Reviewed-by: Razvan Virtan <virtanrazvan@gmail.com>
Reviewed-by: Maria Sfiraiala <maria.sfiraiala@gmail.com>
Approved-by: Razvan Deaconescu <razvand@unikraft.io>
GitHub-Closes: #1132
gic->ops.handle_irq(regs);
}
-#ifdef CONFIG_LIBSYSCALL_SHIM
+#ifdef CONFIG_LIBSYSCALL_SHIM_HANDLER
extern void ukplat_syscall_handler(struct __regs *r);
UK_EVENT_HANDLER(UKARCH_TRAP_SYSCALL, arm64_syscall_adapter);
-#endif /* CONFIG_LIBSYSCALL_SHIM */
+#endif /* CONFIG_LIBSYSCALL_SHIM_HANDLER */