aarch64: fatal: Add arch_syscall_oops hook

Add the arch_syscall_oops hook for the AArch64.

Signed-off-by: Carlo Caione <ccaione@baylibre.com>
This commit is contained in:
Carlo Caione 2020-11-10 17:09:12 +01:00 committed by Anas Nashif
parent c559591380
commit a7d3d2e0b1

View file

@ -237,3 +237,13 @@ void z_arm64_do_kernel_oops(z_arch_esf_t *esf)
z_arm64_fatal_error(reason, esf);
}
#ifdef CONFIG_USERSPACE
FUNC_NORETURN void arch_syscall_oops(void *ssf_ptr)
{
ARG_UNUSED(ssf_ptr);
z_arm64_fatal_error(K_ERR_KERNEL_OOPS, NULL);
CODE_UNREACHABLE;
}
#endif