arch: rename all esf struct to struct arch_esf

Rename every architecture's esf struct to `struct esf`.

Signed-off-by: Yong Cong Sin <ycsin@meta.com>
This commit is contained in:
Yong Cong Sin 2024-06-01 10:26:04 +08:00 committed by Maureen Helm
commit 3998e18ec4
23 changed files with 42 additions and 39 deletions

View file

@ -74,7 +74,7 @@ static int check_esf_matches_expectations(const z_arch_esf_t *pEsf)
* is overwritten in fault.c)
*/
if (memcmp((void *)callee_regs->psp, pEsf,
offsetof(struct __esf, basic.xpsr)) != 0) {
offsetof(struct arch_esf, basic.xpsr)) != 0) {
printk("psp does not match __basic_sf provided\n");
return -1;
}