arch: mips: Rename _Fault to z_mips_fault

The exception fault handler function is named _Fault which is inconsistent
with all other arch-specific functions present in Zephyr. This patch
replaces the name with z_mips_fault.

Signed-off-by: Joel Holdsworth <jholdsworth@nvidia.com>
This commit is contained in:
Joel Holdsworth 2025-01-24 10:01:30 -08:00 committed by Benjamin Cabé
commit d76cf5b57e
2 changed files with 3 additions and 3 deletions

View file

@ -84,7 +84,7 @@ static char *cause_str(unsigned long cause)
} }
} }
void _Fault(struct arch_esf *esf) void z_mips_fault(struct arch_esf *esf)
{ {
unsigned long cause; unsigned long cause;

View file

@ -66,7 +66,7 @@
addi sp, sp, __struct_arch_esf_SIZEOF ; addi sp, sp, __struct_arch_esf_SIZEOF ;
/* imports */ /* imports */
GTEXT(_Fault) GTEXT(z_mips_fault)
GTEXT(_k_neg_eagain) GTEXT(_k_neg_eagain)
GTEXT(z_thread_mark_switched_in) GTEXT(z_thread_mark_switched_in)
@ -125,7 +125,7 @@ SECTION_FUNC(exception.other, _mips_interrupt)
unhandled: unhandled:
move a0, sp move a0, sp
jal _Fault jal z_mips_fault
eret eret
is_kernel_syscall: is_kernel_syscall: