arch: define struct arch_esf
and deprecate z_arch_esf_t
Make `struct arch_esf` compulsory for all architectures by declaring it in the `arch_interface.h` header. After this commit, the named struct `z_arch_esf_t` is only used internally to generate offsets, and is slated to be removed from the `arch_interface.h` header in the future. Signed-off-by: Yong Cong Sin <ycsin@meta.com>
This commit is contained in:
parent
3998e18ec4
commit
e54b27b967
105 changed files with 203 additions and 222 deletions
|
@ -153,7 +153,7 @@ static void release_offload_sem(void)
|
|||
* default one.
|
||||
*/
|
||||
void ztest_post_fatal_error_hook(unsigned int reason,
|
||||
const z_arch_esf_t *pEsf)
|
||||
const struct arch_esf *pEsf)
|
||||
{
|
||||
switch (case_type) {
|
||||
case ZTEST_CATCH_FATAL_ACCESS:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue