Skip to content

Commit 75936d8

Browse files
Flavio Ceolincarlescufi
authored andcommitted
xtensa: userspace: Implement arch_syscall_oops
This function is needed by userspace. Signed-off-by: Flavio Ceolin <[email protected]>
1 parent 716efb2 commit 75936d8

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

arch/xtensa/core/fatal.c

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,3 +141,11 @@ FUNC_NORETURN void z_system_halt(unsigned int reason)
141141
CODE_UNREACHABLE;
142142
}
143143
#endif
144+
145+
FUNC_NORETURN void arch_syscall_oops(void *ssf)
146+
{
147+
z_arch_esf_t *esf = ssf;
148+
149+
z_xtensa_fatal_error(K_ERR_KERNEL_OOPS, esf);
150+
CODE_UNREACHABLE;
151+
}

0 commit comments

Comments
 (0)