arch: remove z_arch_esf_t
The exception stack frame type `z_arch_esf_t` had been deprecated since #73593 for 2 releases, it is not used in the kernel since, and applications/drivers should have been updated to use the `struct arch_esf` now, remove it. Signed-off-by: Yong Cong Sin <ycsin@meta.com> Signed-off-by: Yong Cong Sin <yongcong.sin@gmail.com>
This commit is contained in:
parent
588ccd9698
commit
085df8bd1e
3 changed files with 1 additions and 4 deletions
|
@ -47,8 +47,6 @@ typedef struct z_thread_stack_element k_thread_stack_t;
|
||||||
|
|
||||||
typedef void (*k_thread_entry_t)(void *p1, void *p2, void *p3);
|
typedef void (*k_thread_entry_t)(void *p1, void *p2, void *p3);
|
||||||
|
|
||||||
__deprecated typedef struct arch_esf z_arch_esf_t;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @defgroup arch-timing Architecture timing APIs
|
* @defgroup arch-timing Architecture timing APIs
|
||||||
* @ingroup arch-interface
|
* @ingroup arch-interface
|
||||||
|
|
|
@ -2,7 +2,6 @@ _cpu_arch_t
|
||||||
k_mem_partition_attr_t
|
k_mem_partition_attr_t
|
||||||
k_timepoint_t
|
k_timepoint_t
|
||||||
mbedtls_pk_context
|
mbedtls_pk_context
|
||||||
z_arch_esf_t
|
|
||||||
pinctrl_soc_pin_t
|
pinctrl_soc_pin_t
|
||||||
io_rw_32
|
io_rw_32
|
||||||
\b[a-zA-Z_][a-zA-Z0-9_]*TypeDef
|
\b[a-zA-Z_][a-zA-Z0-9_]*TypeDef
|
||||||
|
|
|
@ -34,7 +34,7 @@ size_t arch_perf_current_stack_trace(uintptr_t *buf, size_t size)
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* In riscv (arch/riscv/core/isr.S) ra, ip($mepc) and fp($s0) are saved
|
* In riscv (arch/riscv/core/isr.S) ra, ip($mepc) and fp($s0) are saved
|
||||||
* at the beginning of _isr_wrapper in order, specified by z_arch_esf_t.
|
* at the beginning of _isr_wrapper in order, specified by struct arch_esf.
|
||||||
* Then, before calling interruption handler, core switch $sp to
|
* Then, before calling interruption handler, core switch $sp to
|
||||||
* _current_cpu->irq_stack and save $sp with offset -16 on irq stack
|
* _current_cpu->irq_stack and save $sp with offset -16 on irq stack
|
||||||
*
|
*
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue