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
|
@ -320,7 +320,7 @@ void bt_ctlr_assert_handle(char *file, uint32_t line)
|
|||
#endif /* CONFIG_BT_CTLR_ASSERT_HANDLER */
|
||||
|
||||
#if defined(CONFIG_BT_HCI_VS_FATAL_ERROR)
|
||||
void k_sys_fatal_error_handler(unsigned int reason, const z_arch_esf_t *esf)
|
||||
void k_sys_fatal_error_handler(unsigned int reason, const struct arch_esf *esf)
|
||||
{
|
||||
/* Disable interrupts, this is unrecoverable */
|
||||
(void)irq_lock();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue