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:
parent
c559591380
commit
a7d3d2e0b1
1 changed files with 10 additions and 0 deletions
|
@ -237,3 +237,13 @@ void z_arm64_do_kernel_oops(z_arch_esf_t *esf)
|
||||||
|
|
||||||
z_arm64_fatal_error(reason, 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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue