asm: update files with <zephyr/...> include prefix
Assembler files were not migrated with the new <zephyr/...> prefix. Note that the conversion has been scripted, refer to #45388 for more details. Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
This commit is contained in:
parent
d342e4c4c1
commit
4b91c2d79f
92 changed files with 263 additions and 263 deletions
|
@ -11,12 +11,12 @@
|
||||||
* CPU power management routines.
|
* CPU power management routines.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <kernel_structs.h>
|
#include <zephyr/kernel_structs.h>
|
||||||
#include <offsets_short.h>
|
#include <offsets_short.h>
|
||||||
#include <toolchain.h>
|
#include <zephyr/toolchain.h>
|
||||||
#include <linker/sections.h>
|
#include <zephyr/linker/sections.h>
|
||||||
#include <arch/cpu.h>
|
#include <zephyr/arch/cpu.h>
|
||||||
#include <arch/arc/asm-compat/assembler.h>
|
#include <zephyr/arch/arc/asm-compat/assembler.h>
|
||||||
|
|
||||||
GTEXT(arch_cpu_idle)
|
GTEXT(arch_cpu_idle)
|
||||||
GTEXT(arch_cpu_atomic_idle)
|
GTEXT(arch_cpu_atomic_idle)
|
||||||
|
|
|
@ -13,11 +13,11 @@
|
||||||
* See isr_wrapper.S for details.
|
* See isr_wrapper.S for details.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <kernel_structs.h>
|
#include <zephyr/kernel_structs.h>
|
||||||
#include <offsets_short.h>
|
#include <offsets_short.h>
|
||||||
#include <toolchain.h>
|
#include <zephyr/toolchain.h>
|
||||||
#include <linker/sections.h>
|
#include <zephyr/linker/sections.h>
|
||||||
#include <arch/cpu.h>
|
#include <zephyr/arch/cpu.h>
|
||||||
#include <swap_macros.h>
|
#include <swap_macros.h>
|
||||||
|
|
||||||
GTEXT(_firq_enter)
|
GTEXT(_firq_enter)
|
||||||
|
|
|
@ -12,12 +12,12 @@
|
||||||
* Fault handlers for ARCv2 processors.
|
* Fault handlers for ARCv2 processors.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <toolchain.h>
|
#include <zephyr/toolchain.h>
|
||||||
#include <linker/sections.h>
|
#include <zephyr/linker/sections.h>
|
||||||
#include <arch/cpu.h>
|
#include <zephyr/arch/cpu.h>
|
||||||
#include <swap_macros.h>
|
#include <swap_macros.h>
|
||||||
#include <syscall.h>
|
#include <zephyr/syscall.h>
|
||||||
#include <arch/arc/asm-compat/assembler.h>
|
#include <zephyr/arch/arc/asm-compat/assembler.h>
|
||||||
|
|
||||||
GTEXT(_Fault)
|
GTEXT(_Fault)
|
||||||
GTEXT(__reset)
|
GTEXT(__reset)
|
||||||
|
|
|
@ -14,13 +14,13 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <offsets_short.h>
|
#include <offsets_short.h>
|
||||||
#include <toolchain.h>
|
#include <zephyr/toolchain.h>
|
||||||
#include <linker/sections.h>
|
#include <zephyr/linker/sections.h>
|
||||||
#include <sw_isr_table.h>
|
#include <zephyr/sw_isr_table.h>
|
||||||
#include <kernel_structs.h>
|
#include <zephyr/kernel_structs.h>
|
||||||
#include <arch/cpu.h>
|
#include <zephyr/arch/cpu.h>
|
||||||
#include <swap_macros.h>
|
#include <swap_macros.h>
|
||||||
#include <arch/arc/asm-compat/assembler.h>
|
#include <zephyr/arch/arc/asm-compat/assembler.h>
|
||||||
|
|
||||||
GTEXT(_isr_wrapper)
|
GTEXT(_isr_wrapper)
|
||||||
GTEXT(_isr_demux)
|
GTEXT(_isr_demux)
|
||||||
|
|
|
@ -14,13 +14,13 @@
|
||||||
* See isr_wrapper.S for details.
|
* See isr_wrapper.S for details.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <kernel_structs.h>
|
#include <zephyr/kernel_structs.h>
|
||||||
#include <offsets_short.h>
|
#include <offsets_short.h>
|
||||||
#include <toolchain.h>
|
#include <zephyr/toolchain.h>
|
||||||
#include <linker/sections.h>
|
#include <zephyr/linker/sections.h>
|
||||||
#include <arch/cpu.h>
|
#include <zephyr/arch/cpu.h>
|
||||||
#include <swap_macros.h>
|
#include <swap_macros.h>
|
||||||
#include <arch/arc/asm-compat/assembler.h>
|
#include <zephyr/arch/arc/asm-compat/assembler.h>
|
||||||
|
|
||||||
GTEXT(_rirq_enter)
|
GTEXT(_rirq_enter)
|
||||||
GTEXT(_rirq_exit)
|
GTEXT(_rirq_exit)
|
||||||
|
|
|
@ -11,11 +11,11 @@
|
||||||
* Reset handler that prepares the system for running C code.
|
* Reset handler that prepares the system for running C code.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <toolchain.h>
|
#include <zephyr/toolchain.h>
|
||||||
#include <linker/sections.h>
|
#include <zephyr/linker/sections.h>
|
||||||
#include <arch/cpu.h>
|
#include <zephyr/arch/cpu.h>
|
||||||
#include <swap_macros.h>
|
#include <swap_macros.h>
|
||||||
#include <arch/arc/asm-compat/assembler.h>
|
#include <zephyr/arch/arc/asm-compat/assembler.h>
|
||||||
|
|
||||||
GDATA(z_interrupt_stacks)
|
GDATA(z_interrupt_stacks)
|
||||||
GDATA(z_main_stack)
|
GDATA(z_main_stack)
|
||||||
|
|
|
@ -3,9 +3,9 @@
|
||||||
*
|
*
|
||||||
* SPDX-License-Identifier: Apache-2.0
|
* SPDX-License-Identifier: Apache-2.0
|
||||||
*/
|
*/
|
||||||
#include <toolchain.h>
|
#include <zephyr/toolchain.h>
|
||||||
#include <linker/sections.h>
|
#include <zephyr/linker/sections.h>
|
||||||
#include <arch/cpu.h>
|
#include <zephyr/arch/cpu.h>
|
||||||
|
|
||||||
.macro clear_scratch_regs
|
.macro clear_scratch_regs
|
||||||
mov r1, 0
|
mov r1, 0
|
||||||
|
|
|
@ -14,14 +14,14 @@
|
||||||
* See isr_wrapper.S for details.
|
* See isr_wrapper.S for details.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <kernel_structs.h>
|
#include <zephyr/kernel_structs.h>
|
||||||
#include <offsets_short.h>
|
#include <offsets_short.h>
|
||||||
#include <toolchain.h>
|
#include <zephyr/toolchain.h>
|
||||||
#include <linker/sections.h>
|
#include <zephyr/linker/sections.h>
|
||||||
#include <arch/cpu.h>
|
#include <zephyr/arch/cpu.h>
|
||||||
#include <v2/irq.h>
|
#include <v2/irq.h>
|
||||||
#include <swap_macros.h>
|
#include <swap_macros.h>
|
||||||
#include <arch/arc/asm-compat/assembler.h>
|
#include <zephyr/arch/arc/asm-compat/assembler.h>
|
||||||
|
|
||||||
GTEXT(z_arc_switch)
|
GTEXT(z_arc_switch)
|
||||||
|
|
||||||
|
|
|
@ -11,10 +11,10 @@
|
||||||
* Wrapper for z_thread_entry routine when called from the initial context.
|
* Wrapper for z_thread_entry routine when called from the initial context.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <toolchain.h>
|
#include <zephyr/toolchain.h>
|
||||||
#include <linker/sections.h>
|
#include <zephyr/linker/sections.h>
|
||||||
#include <v2/irq.h>
|
#include <v2/irq.h>
|
||||||
#include <arch/arc/asm-compat/assembler.h>
|
#include <zephyr/arch/arc/asm-compat/assembler.h>
|
||||||
|
|
||||||
GTEXT(z_thread_entry_wrapper)
|
GTEXT(z_thread_entry_wrapper)
|
||||||
GTEXT(z_thread_entry_wrapper1)
|
GTEXT(z_thread_entry_wrapper1)
|
||||||
|
|
|
@ -5,11 +5,11 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <offsets_short.h>
|
#include <offsets_short.h>
|
||||||
#include <toolchain.h>
|
#include <zephyr/toolchain.h>
|
||||||
#include <linker/sections.h>
|
#include <zephyr/linker/sections.h>
|
||||||
#include <kernel_structs.h>
|
#include <zephyr/kernel_structs.h>
|
||||||
#include <arch/cpu.h>
|
#include <zephyr/arch/cpu.h>
|
||||||
#include <syscall.h>
|
#include <zephyr/syscall.h>
|
||||||
#include <swap_macros.h>
|
#include <swap_macros.h>
|
||||||
#include <v2/irq.h>
|
#include <v2/irq.h>
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
* SPDX-License-Identifier: Apache-2.0
|
* SPDX-License-Identifier: Apache-2.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <toolchain.h>
|
#include <zephyr/toolchain.h>
|
||||||
|
|
||||||
_ASM_FILE_PROLOGUE
|
_ASM_FILE_PROLOGUE
|
||||||
|
|
||||||
|
|
|
@ -23,10 +23,10 @@
|
||||||
* depending on the application exception handler implementation.
|
* depending on the application exception handler implementation.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <toolchain.h>
|
#include <zephyr/toolchain.h>
|
||||||
#include <linker/sections.h>
|
#include <zephyr/linker/sections.h>
|
||||||
#include <offsets_short.h>
|
#include <offsets_short.h>
|
||||||
#include <arch/cpu.h>
|
#include <zephyr/arch/cpu.h>
|
||||||
|
|
||||||
_ASM_FILE_PROLOGUE
|
_ASM_FILE_PROLOGUE
|
||||||
|
|
||||||
|
|
|
@ -14,10 +14,10 @@
|
||||||
* not wrapped around by _isr_wrapper()).
|
* not wrapped around by _isr_wrapper()).
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <toolchain.h>
|
#include <zephyr/toolchain.h>
|
||||||
#include <linker/sections.h>
|
#include <zephyr/linker/sections.h>
|
||||||
#include <offsets_short.h>
|
#include <offsets_short.h>
|
||||||
#include <arch/cpu.h>
|
#include <zephyr/arch/cpu.h>
|
||||||
|
|
||||||
_ASM_FILE_PROLOGUE
|
_ASM_FILE_PROLOGUE
|
||||||
|
|
||||||
|
|
|
@ -12,9 +12,9 @@
|
||||||
* Reset handler that prepares the system for running C code.
|
* Reset handler that prepares the system for running C code.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <toolchain.h>
|
#include <zephyr/toolchain.h>
|
||||||
#include <linker/sections.h>
|
#include <zephyr/linker/sections.h>
|
||||||
#include <arch/cpu.h>
|
#include <zephyr/arch/cpu.h>
|
||||||
#include <offsets_short.h>
|
#include <offsets_short.h>
|
||||||
#include <aarch32/cortex_a_r/tcm.h>
|
#include <aarch32/cortex_a_r/tcm.h>
|
||||||
#include "vector_table.h"
|
#include "vector_table.h"
|
||||||
|
|
|
@ -10,8 +10,8 @@
|
||||||
* @brief Populated vector table in ROM
|
* @brief Populated vector table in ROM
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <toolchain.h>
|
#include <zephyr/toolchain.h>
|
||||||
#include <linker/sections.h>
|
#include <zephyr/linker/sections.h>
|
||||||
#include "vector_table.h"
|
#include "vector_table.h"
|
||||||
|
|
||||||
_ASM_FILE_PROLOGUE
|
_ASM_FILE_PROLOGUE
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
* SPDX-License-Identifier: Apache-2.0
|
* SPDX-License-Identifier: Apache-2.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <toolchain.h>
|
#include <zephyr/toolchain.h>
|
||||||
|
|
||||||
_ASM_FILE_PROLOGUE
|
_ASM_FILE_PROLOGUE
|
||||||
|
|
||||||
|
|
|
@ -13,10 +13,10 @@
|
||||||
* wrapped around by _isr_wrapper()).
|
* wrapped around by _isr_wrapper()).
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <toolchain.h>
|
#include <zephyr/toolchain.h>
|
||||||
#include <linker/sections.h>
|
#include <zephyr/linker/sections.h>
|
||||||
#include <offsets_short.h>
|
#include <offsets_short.h>
|
||||||
#include <arch/cpu.h>
|
#include <zephyr/arch/cpu.h>
|
||||||
|
|
||||||
_ASM_FILE_PROLOGUE
|
_ASM_FILE_PROLOGUE
|
||||||
|
|
||||||
|
|
|
@ -12,8 +12,8 @@
|
||||||
* Fault handlers for ARM Cortex-M processors.
|
* Fault handlers for ARM Cortex-M processors.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <toolchain.h>
|
#include <zephyr/toolchain.h>
|
||||||
#include <linker/sections.h>
|
#include <zephyr/linker/sections.h>
|
||||||
|
|
||||||
_ASM_FILE_PROLOGUE
|
_ASM_FILE_PROLOGUE
|
||||||
|
|
||||||
|
|
|
@ -11,9 +11,9 @@
|
||||||
* Reset handler that prepares the system for running C code.
|
* Reset handler that prepares the system for running C code.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <toolchain.h>
|
#include <zephyr/toolchain.h>
|
||||||
#include <linker/sections.h>
|
#include <zephyr/linker/sections.h>
|
||||||
#include <arch/cpu.h>
|
#include <zephyr/arch/cpu.h>
|
||||||
#include "vector_table.h"
|
#include "vector_table.h"
|
||||||
|
|
||||||
_ASM_FILE_PROLOGUE
|
_ASM_FILE_PROLOGUE
|
||||||
|
|
|
@ -17,8 +17,8 @@
|
||||||
* rest should not be triggered until the kernel is ready to handle them.
|
* rest should not be triggered until the kernel is ready to handle them.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <toolchain.h>
|
#include <zephyr/toolchain.h>
|
||||||
#include <linker/sections.h>
|
#include <zephyr/linker/sections.h>
|
||||||
#include "vector_table.h"
|
#include "vector_table.h"
|
||||||
|
|
||||||
_ASM_FILE_PROLOGUE
|
_ASM_FILE_PROLOGUE
|
||||||
|
|
|
@ -10,8 +10,8 @@
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <toolchain.h>
|
#include <zephyr/toolchain.h>
|
||||||
#include <linker/sections.h>
|
#include <zephyr/linker/sections.h>
|
||||||
|
|
||||||
_ASM_FILE_PROLOGUE
|
_ASM_FILE_PROLOGUE
|
||||||
|
|
||||||
|
|
|
@ -21,8 +21,8 @@
|
||||||
* Note: Currently support mcuboot only.
|
* Note: Currently support mcuboot only.
|
||||||
* */
|
* */
|
||||||
|
|
||||||
#include <toolchain.h>
|
#include <zephyr/toolchain.h>
|
||||||
#include <linker/sections.h>
|
#include <zephyr/linker/sections.h>
|
||||||
|
|
||||||
_ASM_FILE_PROLOGUE
|
_ASM_FILE_PROLOGUE
|
||||||
|
|
||||||
|
|
|
@ -17,11 +17,11 @@
|
||||||
*/
|
*/
|
||||||
.eabi_attribute Tag_ABI_align_preserved, 1
|
.eabi_attribute Tag_ABI_align_preserved, 1
|
||||||
|
|
||||||
#include <toolchain.h>
|
#include <zephyr/toolchain.h>
|
||||||
#include <linker/sections.h>
|
#include <zephyr/linker/sections.h>
|
||||||
#include <offsets_short.h>
|
#include <offsets_short.h>
|
||||||
#include <arch/cpu.h>
|
#include <zephyr/arch/cpu.h>
|
||||||
#include <sw_isr_table.h>
|
#include <zephyr/sw_isr_table.h>
|
||||||
|
|
||||||
|
|
||||||
_ASM_FILE_PROLOGUE
|
_ASM_FILE_PROLOGUE
|
||||||
|
|
|
@ -15,8 +15,8 @@
|
||||||
* rebooting might trigger the exact same problem over and over.
|
* rebooting might trigger the exact same problem over and over.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <toolchain.h>
|
#include <zephyr/toolchain.h>
|
||||||
#include <linker/sections.h>
|
#include <zephyr/linker/sections.h>
|
||||||
|
|
||||||
_ASM_FILE_PROLOGUE
|
_ASM_FILE_PROLOGUE
|
||||||
|
|
||||||
|
|
|
@ -14,15 +14,15 @@
|
||||||
* on ARM Cortex-A, Cortex-M and Cortex-R CPUs.
|
* on ARM Cortex-A, Cortex-M and Cortex-R CPUs.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <toolchain.h>
|
#include <zephyr/toolchain.h>
|
||||||
#include <linker/sections.h>
|
#include <zephyr/linker/sections.h>
|
||||||
#include <offsets_short.h>
|
#include <offsets_short.h>
|
||||||
#include <arch/cpu.h>
|
#include <zephyr/arch/cpu.h>
|
||||||
#include <syscall.h>
|
#include <zephyr/syscall.h>
|
||||||
#include <kernel.h>
|
#include <zephyr/kernel.h>
|
||||||
|
|
||||||
#if defined(CONFIG_CPU_CORTEX_M)
|
#if defined(CONFIG_CPU_CORTEX_M)
|
||||||
#include <arch/arm/aarch32/cortex_m/cpu.h>
|
#include <zephyr/arch/arm/aarch32/cortex_m/cpu.h>
|
||||||
#endif
|
#endif
|
||||||
_ASM_FILE_PROLOGUE
|
_ASM_FILE_PROLOGUE
|
||||||
|
|
||||||
|
|
|
@ -7,15 +7,15 @@
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <toolchain.h>
|
#include <zephyr/toolchain.h>
|
||||||
#include <linker/sections.h>
|
#include <zephyr/linker/sections.h>
|
||||||
#include <offsets_short.h>
|
#include <offsets_short.h>
|
||||||
#include <syscall.h>
|
#include <zephyr/syscall.h>
|
||||||
|
|
||||||
#include <arch/arm/aarch32/exc.h>
|
#include <zephyr/arch/arm/aarch32/exc.h>
|
||||||
|
|
||||||
#if defined(CONFIG_ARMV7_R)
|
#if defined(CONFIG_ARMV7_R)
|
||||||
#include <arch/cpu.h>
|
#include <zephyr/arch/cpu.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
_ASM_FILE_PROLOGUE
|
_ASM_FILE_PROLOGUE
|
||||||
|
|
|
@ -8,9 +8,9 @@
|
||||||
* ARM64 Cortex-A power management
|
* ARM64 Cortex-A power management
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <toolchain.h>
|
#include <zephyr/toolchain.h>
|
||||||
#include <linker/sections.h>
|
#include <zephyr/linker/sections.h>
|
||||||
#include <arch/cpu.h>
|
#include <zephyr/arch/cpu.h>
|
||||||
|
|
||||||
_ASM_FILE_PROLOGUE
|
_ASM_FILE_PROLOGUE
|
||||||
|
|
||||||
|
|
|
@ -5,8 +5,8 @@
|
||||||
* SPDX-License-Identifier: Apache-2.0
|
* SPDX-License-Identifier: Apache-2.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <toolchain.h>
|
#include <zephyr/toolchain.h>
|
||||||
#include <linker/sections.h>
|
#include <zephyr/linker/sections.h>
|
||||||
|
|
||||||
_ASM_FILE_PROLOGUE
|
_ASM_FILE_PROLOGUE
|
||||||
|
|
||||||
|
|
|
@ -4,8 +4,8 @@
|
||||||
* SPDX-License-Identifier: Apache-2.0
|
* SPDX-License-Identifier: Apache-2.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <linker/sections.h>
|
#include <zephyr/linker/sections.h>
|
||||||
#include <arch/cpu.h>
|
#include <zephyr/arch/cpu.h>
|
||||||
#include "mmu.h"
|
#include "mmu.h"
|
||||||
|
|
||||||
#if CONFIG_MMU_PAGE_SIZE == 4096 || defined(CONFIG_ARM_MPU)
|
#if CONFIG_MMU_PAGE_SIZE == 4096 || defined(CONFIG_ARM_MPU)
|
||||||
|
|
|
@ -8,12 +8,12 @@
|
||||||
* ARM64 Cortex-A ISRs wrapper
|
* ARM64 Cortex-A ISRs wrapper
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <toolchain.h>
|
#include <zephyr/toolchain.h>
|
||||||
#include <linker/sections.h>
|
#include <zephyr/linker/sections.h>
|
||||||
#include <offsets_short.h>
|
#include <offsets_short.h>
|
||||||
#include <arch/cpu.h>
|
#include <zephyr/arch/cpu.h>
|
||||||
#include <sw_isr_table.h>
|
#include <zephyr/sw_isr_table.h>
|
||||||
#include <drivers/interrupt_controller/gic.h>
|
#include <zephyr/drivers/interrupt_controller/gic.h>
|
||||||
#include "macro_priv.inc"
|
#include "macro_priv.inc"
|
||||||
|
|
||||||
_ASM_FILE_PROLOGUE
|
_ASM_FILE_PROLOGUE
|
||||||
|
|
|
@ -4,9 +4,9 @@
|
||||||
* SPDX-License-Identifier: Apache-2.0
|
* SPDX-License-Identifier: Apache-2.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <toolchain.h>
|
#include <zephyr/toolchain.h>
|
||||||
#include <linker/sections.h>
|
#include <zephyr/linker/sections.h>
|
||||||
#include <arch/cpu.h>
|
#include <zephyr/arch/cpu.h>
|
||||||
|
|
||||||
_ASM_FILE_PROLOGUE
|
_ASM_FILE_PROLOGUE
|
||||||
|
|
||||||
|
|
|
@ -4,9 +4,9 @@
|
||||||
* SPDX-License-Identifier: Apache-2.0
|
* SPDX-License-Identifier: Apache-2.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <toolchain.h>
|
#include <zephyr/toolchain.h>
|
||||||
#include <linker/sections.h>
|
#include <zephyr/linker/sections.h>
|
||||||
#include <arch/cpu.h>
|
#include <zephyr/arch/cpu.h>
|
||||||
#include "boot.h"
|
#include "boot.h"
|
||||||
#include "macro_priv.inc"
|
#include "macro_priv.inc"
|
||||||
|
|
||||||
|
|
|
@ -11,9 +11,9 @@
|
||||||
* See https://developer.arm.com/docs/den0028/latest
|
* See https://developer.arm.com/docs/den0028/latest
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <toolchain.h>
|
#include <zephyr/toolchain.h>
|
||||||
#include <linker/sections.h>
|
#include <zephyr/linker/sections.h>
|
||||||
#include <arch/cpu.h>
|
#include <zephyr/arch/cpu.h>
|
||||||
#include <offsets_short.h>
|
#include <offsets_short.h>
|
||||||
|
|
||||||
.macro SMCCC instr
|
.macro SMCCC instr
|
||||||
|
|
|
@ -11,11 +11,11 @@
|
||||||
* on ARM64 Cortex-A (AArch64)
|
* on ARM64 Cortex-A (AArch64)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <toolchain.h>
|
#include <zephyr/toolchain.h>
|
||||||
#include <linker/sections.h>
|
#include <zephyr/linker/sections.h>
|
||||||
#include <offsets_short.h>
|
#include <offsets_short.h>
|
||||||
#include <arch/cpu.h>
|
#include <zephyr/arch/cpu.h>
|
||||||
#include <syscall.h>
|
#include <zephyr/syscall.h>
|
||||||
#include "macro_priv.inc"
|
#include "macro_priv.inc"
|
||||||
|
|
||||||
_ASM_FILE_PROLOGUE
|
_ASM_FILE_PROLOGUE
|
||||||
|
|
|
@ -4,12 +4,12 @@
|
||||||
* SPDX-License-Identifier: Apache-2.0
|
* SPDX-License-Identifier: Apache-2.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <toolchain.h>
|
#include <zephyr/toolchain.h>
|
||||||
#include <linker/sections.h>
|
#include <zephyr/linker/sections.h>
|
||||||
#include <offsets_short.h>
|
#include <offsets_short.h>
|
||||||
#include <arch/cpu.h>
|
#include <zephyr/arch/cpu.h>
|
||||||
#include <syscall.h>
|
#include <zephyr/syscall.h>
|
||||||
#include <arch/arm64/mm.h>
|
#include <zephyr/arch/arm64/mm.h>
|
||||||
#include "macro_priv.inc"
|
#include "macro_priv.inc"
|
||||||
|
|
||||||
_ASM_FILE_PROLOGUE
|
_ASM_FILE_PROLOGUE
|
||||||
|
|
|
@ -8,11 +8,11 @@
|
||||||
* Populated vector table
|
* Populated vector table
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <toolchain.h>
|
#include <zephyr/toolchain.h>
|
||||||
#include <linker/sections.h>
|
#include <zephyr/linker/sections.h>
|
||||||
#include <offsets.h>
|
#include <offsets.h>
|
||||||
#include <arch/cpu.h>
|
#include <zephyr/arch/cpu.h>
|
||||||
#include <arch/arm64/tpidrro_el0.h>
|
#include <zephyr/arch/arm64/tpidrro_el0.h>
|
||||||
|
|
||||||
_ASM_FILE_PROLOGUE
|
_ASM_FILE_PROLOGUE
|
||||||
|
|
||||||
|
|
|
@ -4,10 +4,10 @@
|
||||||
* SPDX-License-Identifier: Apache-2.0
|
* SPDX-License-Identifier: Apache-2.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <toolchain.h>
|
#include <zephyr/toolchain.h>
|
||||||
#include <linker/sections.h>
|
#include <zephyr/linker/sections.h>
|
||||||
#include <xen/public/arch-arm.h>
|
#include <zephyr/xen/public/arch-arm.h>
|
||||||
#include <xen/public/xen.h>
|
#include <zephyr/xen/public/xen.h>
|
||||||
|
|
||||||
#define HYPERCALL(hypercall) \
|
#define HYPERCALL(hypercall) \
|
||||||
GTEXT(HYPERVISOR_##hypercall); \
|
GTEXT(HYPERVISOR_##hypercall); \
|
||||||
|
|
|
@ -6,10 +6,10 @@
|
||||||
* SPDX-License-Identifier: Apache-2.0
|
* SPDX-License-Identifier: Apache-2.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <toolchain.h>
|
#include <zephyr/toolchain.h>
|
||||||
#include <kernel_structs.h>
|
#include <zephyr/kernel_structs.h>
|
||||||
#include <offsets_short.h>
|
#include <offsets_short.h>
|
||||||
#include <arch/cpu.h>
|
#include <zephyr/arch/cpu.h>
|
||||||
|
|
||||||
#include <mips/regdef.h>
|
#include <mips/regdef.h>
|
||||||
#include <mips/mipsregs.h>
|
#include <mips/mipsregs.h>
|
||||||
|
|
|
@ -4,8 +4,8 @@
|
||||||
* SPDX-License-Identifier: Apache-2.0
|
* SPDX-License-Identifier: Apache-2.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <toolchain.h>
|
#include <zephyr/toolchain.h>
|
||||||
#include <linker/sections.h>
|
#include <zephyr/linker/sections.h>
|
||||||
#include <mips/regdef.h>
|
#include <mips/regdef.h>
|
||||||
#include <mips/mipsregs.h>
|
#include <mips/mipsregs.h>
|
||||||
|
|
||||||
|
|
|
@ -6,9 +6,9 @@
|
||||||
* SPDX-License-Identifier: Apache-2.0
|
* SPDX-License-Identifier: Apache-2.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <toolchain.h>
|
#include <zephyr/toolchain.h>
|
||||||
#include <offsets_short.h>
|
#include <offsets_short.h>
|
||||||
#include <arch/cpu.h>
|
#include <zephyr/arch/cpu.h>
|
||||||
#include <mips/regdef.h>
|
#include <mips/regdef.h>
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
|
@ -4,8 +4,8 @@
|
||||||
* SPDX-License-Identifier: Apache-2.0
|
* SPDX-License-Identifier: Apache-2.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <toolchain.h>
|
#include <zephyr/toolchain.h>
|
||||||
#include <linker/sections.h>
|
#include <zephyr/linker/sections.h>
|
||||||
|
|
||||||
/* exports */
|
/* exports */
|
||||||
GTEXT(__start)
|
GTEXT(__start)
|
||||||
|
|
|
@ -4,8 +4,8 @@
|
||||||
* SPDX-License-Identifier: Apache-2.0
|
* SPDX-License-Identifier: Apache-2.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <toolchain.h>
|
#include <zephyr/toolchain.h>
|
||||||
#include <linker/sections.h>
|
#include <zephyr/linker/sections.h>
|
||||||
#include <offsets_short.h>
|
#include <offsets_short.h>
|
||||||
|
|
||||||
/* exports */
|
/* exports */
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
* SPDX-License-Identifier: Apache-2.0
|
* SPDX-License-Identifier: Apache-2.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <toolchain.h>
|
#include <zephyr/toolchain.h>
|
||||||
|
|
||||||
GTEXT(__start)
|
GTEXT(__start)
|
||||||
|
|
||||||
|
|
|
@ -4,8 +4,8 @@
|
||||||
* SPDX-License-Identifier: Apache-2.0
|
* SPDX-License-Identifier: Apache-2.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <toolchain.h>
|
#include <zephyr/toolchain.h>
|
||||||
#include <linker/sections.h>
|
#include <zephyr/linker/sections.h>
|
||||||
#include <offsets_short.h>
|
#include <offsets_short.h>
|
||||||
|
|
||||||
/* exports */
|
/* exports */
|
||||||
|
|
|
@ -6,15 +6,15 @@
|
||||||
* SPDX-License-Identifier: Apache-2.0
|
* SPDX-License-Identifier: Apache-2.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <toolchain.h>
|
#include <zephyr/toolchain.h>
|
||||||
#include <linker/sections.h>
|
#include <zephyr/linker/sections.h>
|
||||||
#include <offsets_short.h>
|
#include <offsets_short.h>
|
||||||
#include <arch/cpu.h>
|
#include <zephyr/arch/cpu.h>
|
||||||
#include <sys/util.h>
|
#include <zephyr/sys/util.h>
|
||||||
#include <kernel.h>
|
#include <zephyr/kernel.h>
|
||||||
#include <syscall.h>
|
#include <zephyr/syscall.h>
|
||||||
#include <arch/riscv/csr.h>
|
#include <zephyr/arch/riscv/csr.h>
|
||||||
#include <arch/riscv/syscall.h>
|
#include <zephyr/arch/riscv/syscall.h>
|
||||||
#include "asm_macros.inc"
|
#include "asm_macros.inc"
|
||||||
|
|
||||||
/* Convenience macros for loading/storing register states. */
|
/* Convenience macros for loading/storing register states. */
|
||||||
|
|
|
@ -4,9 +4,9 @@
|
||||||
* SPDX-License-Identifier: Apache-2.0
|
* SPDX-License-Identifier: Apache-2.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <toolchain.h>
|
#include <zephyr/toolchain.h>
|
||||||
#include <linker/sections.h>
|
#include <zephyr/linker/sections.h>
|
||||||
#include <arch/cpu.h>
|
#include <zephyr/arch/cpu.h>
|
||||||
#include "asm_macros.inc"
|
#include "asm_macros.inc"
|
||||||
|
|
||||||
#define CSR_PMPCFG_BASE 0x3a0
|
#define CSR_PMPCFG_BASE 0x3a0
|
||||||
|
|
|
@ -5,9 +5,9 @@
|
||||||
* SPDX-License-Identifier: Apache-2.0
|
* SPDX-License-Identifier: Apache-2.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <toolchain.h>
|
#include <zephyr/toolchain.h>
|
||||||
#include <linker/sections.h>
|
#include <zephyr/linker/sections.h>
|
||||||
#include <arch/cpu.h>
|
#include <zephyr/arch/cpu.h>
|
||||||
#include "asm_macros.inc"
|
#include "asm_macros.inc"
|
||||||
|
|
||||||
/* exports */
|
/* exports */
|
||||||
|
|
|
@ -4,12 +4,12 @@
|
||||||
* SPDX-License-Identifier: Apache-2.0
|
* SPDX-License-Identifier: Apache-2.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <toolchain.h>
|
#include <zephyr/toolchain.h>
|
||||||
#include <linker/sections.h>
|
#include <zephyr/linker/sections.h>
|
||||||
#include <kernel.h>
|
#include <zephyr/kernel.h>
|
||||||
#include <sys/util.h>
|
#include <zephyr/sys/util.h>
|
||||||
#include <offsets_short.h>
|
#include <offsets_short.h>
|
||||||
#include <arch/cpu.h>
|
#include <zephyr/arch/cpu.h>
|
||||||
#include "asm_macros.inc"
|
#include "asm_macros.inc"
|
||||||
|
|
||||||
/* Convenience macros for loading/storing register states. */
|
/* Convenience macros for loading/storing register states. */
|
||||||
|
|
|
@ -6,13 +6,13 @@
|
||||||
* SPDX-License-Identifier: Apache-2.0
|
* SPDX-License-Identifier: Apache-2.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <toolchain.h>
|
#include <zephyr/toolchain.h>
|
||||||
#include <linker/sections.h>
|
#include <zephyr/linker/sections.h>
|
||||||
#include <offsets_short.h>
|
#include <offsets_short.h>
|
||||||
#include <arch/cpu.h>
|
#include <zephyr/arch/cpu.h>
|
||||||
#include <syscall.h>
|
#include <zephyr/syscall.h>
|
||||||
#include <kernel_structs.h>
|
#include <zephyr/kernel_structs.h>
|
||||||
#include <arch/riscv/csr.h>
|
#include <zephyr/arch/riscv/csr.h>
|
||||||
#include "asm_macros.inc"
|
#include "asm_macros.inc"
|
||||||
|
|
||||||
/* exports */
|
/* exports */
|
||||||
|
|
|
@ -4,10 +4,10 @@
|
||||||
* SPDX-License-Identifier: Apache-2.0
|
* SPDX-License-Identifier: Apache-2.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <toolchain.h>
|
#include <zephyr/toolchain.h>
|
||||||
#include <linker/sections.h>
|
#include <zephyr/linker/sections.h>
|
||||||
#include <offsets_short.h>
|
#include <offsets_short.h>
|
||||||
#include <arch/sparc/sparc.h>
|
#include <zephyr/arch/sparc/sparc.h>
|
||||||
|
|
||||||
GTEXT(__sparc_trap_except_reason)
|
GTEXT(__sparc_trap_except_reason)
|
||||||
GTEXT(__sparc_trap_fault)
|
GTEXT(__sparc_trap_fault)
|
||||||
|
|
|
@ -4,10 +4,10 @@
|
||||||
* SPDX-License-Identifier: Apache-2.0
|
* SPDX-License-Identifier: Apache-2.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <toolchain.h>
|
#include <zephyr/toolchain.h>
|
||||||
#include <linker/sections.h>
|
#include <zephyr/linker/sections.h>
|
||||||
#include <offsets_short.h>
|
#include <offsets_short.h>
|
||||||
#include <arch/sparc/sparc.h>
|
#include <zephyr/arch/sparc/sparc.h>
|
||||||
#include "stack_offsets.h"
|
#include "stack_offsets.h"
|
||||||
|
|
||||||
GTEXT(__sparc_trap_interrupt)
|
GTEXT(__sparc_trap_interrupt)
|
||||||
|
|
|
@ -4,9 +4,9 @@
|
||||||
* SPDX-License-Identifier: Apache-2.0
|
* SPDX-License-Identifier: Apache-2.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <toolchain.h>
|
#include <zephyr/toolchain.h>
|
||||||
#include <linker/sections.h>
|
#include <zephyr/linker/sections.h>
|
||||||
#include <arch/sparc/sparc.h>
|
#include <zephyr/arch/sparc/sparc.h>
|
||||||
|
|
||||||
/* The trap table reset entry jumps to here. */
|
/* The trap table reset entry jumps to here. */
|
||||||
|
|
||||||
|
|
|
@ -4,9 +4,9 @@
|
||||||
* SPDX-License-Identifier: Apache-2.0
|
* SPDX-License-Identifier: Apache-2.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <toolchain.h>
|
#include <zephyr/toolchain.h>
|
||||||
#include <linker/sections.h>
|
#include <zephyr/linker/sections.h>
|
||||||
#include <arch/sparc/sparc.h>
|
#include <zephyr/arch/sparc/sparc.h>
|
||||||
|
|
||||||
GTEXT(__sparc_trap_sw_set_pil)
|
GTEXT(__sparc_trap_sw_set_pil)
|
||||||
|
|
||||||
|
|
|
@ -4,10 +4,10 @@
|
||||||
* SPDX-License-Identifier: Apache-2.0
|
* SPDX-License-Identifier: Apache-2.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <toolchain.h>
|
#include <zephyr/toolchain.h>
|
||||||
#include <linker/sections.h>
|
#include <zephyr/linker/sections.h>
|
||||||
#include <offsets_short.h>
|
#include <offsets_short.h>
|
||||||
#include <arch/sparc/sparc.h>
|
#include <zephyr/arch/sparc/sparc.h>
|
||||||
|
|
||||||
GTEXT(z_sparc_arch_switch)
|
GTEXT(z_sparc_arch_switch)
|
||||||
GTEXT(z_sparc_context_switch)
|
GTEXT(z_sparc_context_switch)
|
||||||
|
|
|
@ -10,8 +10,8 @@
|
||||||
* instructions.
|
* instructions.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <toolchain.h>
|
#include <zephyr/toolchain.h>
|
||||||
#include <linker/sections.h>
|
#include <zephyr/linker/sections.h>
|
||||||
|
|
||||||
#define BAD_TRAP \
|
#define BAD_TRAP \
|
||||||
rd %psr, %l0; \
|
rd %psr, %l0; \
|
||||||
|
|
|
@ -10,9 +10,9 @@
|
||||||
* "Flush windows" which is used for example by longjmp() and C++ exceptions.
|
* "Flush windows" which is used for example by longjmp() and C++ exceptions.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <toolchain.h>
|
#include <zephyr/toolchain.h>
|
||||||
#include <linker/sections.h>
|
#include <zephyr/linker/sections.h>
|
||||||
#include <arch/sparc/sparc.h>
|
#include <zephyr/arch/sparc/sparc.h>
|
||||||
|
|
||||||
GTEXT(__sparc_trap_window_overflow)
|
GTEXT(__sparc_trap_window_overflow)
|
||||||
GTEXT(__sparc_trap_window_underflow)
|
GTEXT(__sparc_trap_window_underflow)
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
* SPDX-License-Identifier: Apache-2.0
|
* SPDX-License-Identifier: Apache-2.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <arch/x86/multiboot.h>
|
#include <zephyr/arch/x86/multiboot.h>
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* This is included by ia32/crt0.S and intel64/locore.S
|
* This is included by ia32/crt0.S and intel64/locore.S
|
||||||
|
|
|
@ -15,13 +15,13 @@
|
||||||
* available in virtual address space after loading of page table.
|
* available in virtual address space after loading of page table.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <arch/x86/ia32/asm.h>
|
#include <zephyr/arch/x86/ia32/asm.h>
|
||||||
#include <arch/x86/msr.h>
|
#include <zephyr/arch/x86/msr.h>
|
||||||
#include <kernel_arch_data.h>
|
#include <kernel_arch_data.h>
|
||||||
#include <arch/cpu.h>
|
#include <zephyr/arch/cpu.h>
|
||||||
#include <arch/x86/multiboot.h>
|
#include <zephyr/arch/x86/multiboot.h>
|
||||||
#include <x86_mmu.h>
|
#include <x86_mmu.h>
|
||||||
#include <sys/mem_manage.h>
|
#include <zephyr/sys/mem_manage.h>
|
||||||
|
|
||||||
/* exports (private APIs) */
|
/* exports (private APIs) */
|
||||||
|
|
||||||
|
|
|
@ -14,8 +14,8 @@
|
||||||
* and exiting a C exception handler.
|
* and exiting a C exception handler.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <arch/x86/ia32/asm.h>
|
#include <zephyr/arch/x86/ia32/asm.h>
|
||||||
#include <arch/x86/ia32/arch.h> /* For MK_ISR_NAME */
|
#include <zephyr/arch/x86/ia32/arch.h> /* For MK_ISR_NAME */
|
||||||
#include <offsets_short.h>
|
#include <offsets_short.h>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -14,10 +14,10 @@
|
||||||
* entering and exiting a C interrupt handler.
|
* entering and exiting a C interrupt handler.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <arch/x86/ia32/asm.h>
|
#include <zephyr/arch/x86/ia32/asm.h>
|
||||||
#include <offsets_short.h>
|
#include <offsets_short.h>
|
||||||
#include <arch/cpu.h>
|
#include <zephyr/arch/cpu.h>
|
||||||
#include <drivers/interrupt_controller/sysapic.h>
|
#include <zephyr/drivers/interrupt_controller/sysapic.h>
|
||||||
|
|
||||||
/* exports (internal APIs) */
|
/* exports (internal APIs) */
|
||||||
|
|
||||||
|
|
|
@ -11,9 +11,9 @@
|
||||||
* This module implements the arch_swap() routine for the IA-32 architecture.
|
* This module implements the arch_swap() routine for the IA-32 architecture.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <arch/x86/ia32/asm.h>
|
#include <zephyr/arch/x86/ia32/asm.h>
|
||||||
#include <kernel.h>
|
#include <zephyr/kernel.h>
|
||||||
#include <arch/cpu.h>
|
#include <zephyr/arch/cpu.h>
|
||||||
#include <kernel_arch_data.h>
|
#include <kernel_arch_data.h>
|
||||||
#include <offsets_short.h>
|
#include <offsets_short.h>
|
||||||
|
|
||||||
|
|
|
@ -4,11 +4,11 @@
|
||||||
* SPDX-License-Identifier: Apache-2.0
|
* SPDX-License-Identifier: Apache-2.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <arch/x86/ia32/asm.h>
|
#include <zephyr/arch/x86/ia32/asm.h>
|
||||||
#include <arch/cpu.h>
|
#include <zephyr/arch/cpu.h>
|
||||||
#include <offsets_short.h>
|
#include <offsets_short.h>
|
||||||
#include <syscall.h>
|
#include <zephyr/syscall.h>
|
||||||
#include <sys/mem_manage.h>
|
#include <zephyr/sys/mem_manage.h>
|
||||||
#include <x86_mmu.h>
|
#include <x86_mmu.h>
|
||||||
|
|
||||||
/* Exports */
|
/* Exports */
|
||||||
|
|
|
@ -3,16 +3,16 @@
|
||||||
* SPDX-License-Identifier: Apache-2.0
|
* SPDX-License-Identifier: Apache-2.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <toolchain.h>
|
#include <zephyr/toolchain.h>
|
||||||
#include <arch/x86/multiboot.h>
|
#include <zephyr/arch/x86/multiboot.h>
|
||||||
#include <arch/x86/efi.h>
|
#include <zephyr/arch/x86/efi.h>
|
||||||
#include <sys/util.h>
|
#include <zephyr/sys/util.h>
|
||||||
#include <arch/x86/msr.h>
|
#include <zephyr/arch/x86/msr.h>
|
||||||
#include <kernel_arch_data.h>
|
#include <kernel_arch_data.h>
|
||||||
#include <offsets_short.h>
|
#include <offsets_short.h>
|
||||||
#include <drivers/interrupt_controller/loapic.h>
|
#include <zephyr/drivers/interrupt_controller/loapic.h>
|
||||||
#include <arch/cpu.h>
|
#include <zephyr/arch/cpu.h>
|
||||||
#include <sys/mem_manage.h>
|
#include <zephyr/sys/mem_manage.h>
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Definitions/macros for enabling paging
|
* Definitions/macros for enabling paging
|
||||||
|
|
|
@ -4,11 +4,11 @@
|
||||||
* SPDX-License-Identifier: Apache-2.0
|
* SPDX-License-Identifier: Apache-2.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <toolchain.h>
|
#include <zephyr/toolchain.h>
|
||||||
#include <arch/cpu.h>
|
#include <zephyr/arch/cpu.h>
|
||||||
#include <offsets_short.h>
|
#include <offsets_short.h>
|
||||||
#include <syscall.h>
|
#include <zephyr/syscall.h>
|
||||||
#include <sys/mem_manage.h>
|
#include <zephyr/sys/mem_manage.h>
|
||||||
|
|
||||||
#ifdef CONFIG_X86_KPTI
|
#ifdef CONFIG_X86_KPTI
|
||||||
/* Copy interrupt return stack context to the trampoline stack, switch back
|
/* Copy interrupt return stack context to the trampoline stack, switch back
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
*/
|
*/
|
||||||
#include <xtensa-asm2-s.h>
|
#include <xtensa-asm2-s.h>
|
||||||
#include <offsets.h>
|
#include <offsets.h>
|
||||||
#include <toolchain.h>
|
#include <zephyr/toolchain.h>
|
||||||
#include <zsr.h>
|
#include <zsr.h>
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
|
@ -9,8 +9,8 @@
|
||||||
* @brief LOAPIC spurious interrupt handler
|
* @brief LOAPIC spurious interrupt handler
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <kernel_structs.h>
|
#include <zephyr/kernel_structs.h>
|
||||||
#include <arch/x86/ia32/asm.h>
|
#include <zephyr/arch/x86/ia32/asm.h>
|
||||||
|
|
||||||
GTEXT(z_loapic_spurious_handler)
|
GTEXT(z_loapic_spurious_handler)
|
||||||
|
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
* @brief System/hardware module for Nordic Semiconductor nRFxx family processors
|
* @brief System/hardware module for Nordic Semiconductor nRFxx family processors
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <toolchain.h>
|
#include <zephyr/toolchain.h>
|
||||||
|
|
||||||
_ASM_FILE_PROLOGUE
|
_ASM_FILE_PROLOGUE
|
||||||
|
|
||||||
|
|
|
@ -12,8 +12,8 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <soc.h>
|
#include <soc.h>
|
||||||
#include <toolchain.h>
|
#include <zephyr/toolchain.h>
|
||||||
#include <linker/sections.h>
|
#include <zephyr/linker/sections.h>
|
||||||
|
|
||||||
_ASM_FILE_PROLOGUE
|
_ASM_FILE_PROLOGUE
|
||||||
|
|
||||||
|
|
|
@ -12,8 +12,8 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <soc.h>
|
#include <soc.h>
|
||||||
#include <toolchain.h>
|
#include <zephyr/toolchain.h>
|
||||||
#include <linker/sections.h>
|
#include <zephyr/linker/sections.h>
|
||||||
|
|
||||||
_ASM_FILE_PROLOGUE
|
_ASM_FILE_PROLOGUE
|
||||||
|
|
||||||
|
|
|
@ -12,8 +12,8 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <soc.h>
|
#include <soc.h>
|
||||||
#include <toolchain.h>
|
#include <zephyr/toolchain.h>
|
||||||
#include <linker/sections.h>
|
#include <zephyr/linker/sections.h>
|
||||||
|
|
||||||
_ASM_FILE_PROLOGUE
|
_ASM_FILE_PROLOGUE
|
||||||
|
|
||||||
|
|
|
@ -12,8 +12,8 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <soc.h>
|
#include <soc.h>
|
||||||
#include <toolchain.h>
|
#include <zephyr/toolchain.h>
|
||||||
#include <linker/sections.h>
|
#include <zephyr/linker/sections.h>
|
||||||
|
|
||||||
_ASM_FILE_PROLOGUE
|
_ASM_FILE_PROLOGUE
|
||||||
|
|
||||||
|
|
|
@ -12,8 +12,8 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <soc.h>
|
#include <soc.h>
|
||||||
#include <toolchain.h>
|
#include <zephyr/toolchain.h>
|
||||||
#include <linker/sections.h>
|
#include <zephyr/linker/sections.h>
|
||||||
|
|
||||||
_ASM_FILE_PROLOGUE
|
_ASM_FILE_PROLOGUE
|
||||||
|
|
||||||
|
|
|
@ -7,9 +7,9 @@
|
||||||
* SPDX-License-Identifier: Apache-2.0
|
* SPDX-License-Identifier: Apache-2.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <toolchain.h>
|
#include <zephyr/toolchain.h>
|
||||||
#include <linker/sections.h>
|
#include <zephyr/linker/sections.h>
|
||||||
#include <arch/cpu.h>
|
#include <zephyr/arch/cpu.h>
|
||||||
|
|
||||||
#if defined(CONFIG_PLATFORM_SPECIFIC_INIT) && defined(CONFIG_SOC_LPC54114_M4)
|
#if defined(CONFIG_PLATFORM_SPECIFIC_INIT) && defined(CONFIG_SOC_LPC54114_M4)
|
||||||
|
|
||||||
|
|
|
@ -4,9 +4,9 @@
|
||||||
* SPDX-License-Identifier: Apache-2.0
|
* SPDX-License-Identifier: Apache-2.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <toolchain.h>
|
#include <zephyr/toolchain.h>
|
||||||
#include <linker/sections.h>
|
#include <zephyr/linker/sections.h>
|
||||||
#include <arch/cpu.h>
|
#include <zephyr/arch/cpu.h>
|
||||||
#include <offsets_short.h>
|
#include <offsets_short.h>
|
||||||
|
|
||||||
_ASM_FILE_PROLOGUE
|
_ASM_FILE_PROLOGUE
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
* SPDX-License-Identifier: Apache-2.0
|
* SPDX-License-Identifier: Apache-2.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <toolchain.h>
|
#include <zephyr/toolchain.h>
|
||||||
#include <mips/regdef.h>
|
#include <mips/regdef.h>
|
||||||
|
|
||||||
/* Imports */
|
/* Imports */
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <offsets.h>
|
#include <offsets.h>
|
||||||
#include <toolchain.h>
|
#include <zephyr/toolchain.h>
|
||||||
|
|
||||||
/* Exports */
|
/* Exports */
|
||||||
GTEXT(__soc_is_irq)
|
GTEXT(__soc_is_irq)
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
#include "soc/interrupt_reg.h"
|
#include "soc/interrupt_reg.h"
|
||||||
#include "riscv/rvruntime-frames.h"
|
#include "riscv/rvruntime-frames.h"
|
||||||
#include "soc/soc_caps.h"
|
#include "soc/soc_caps.h"
|
||||||
#include <toolchain.h>
|
#include <zephyr/toolchain.h>
|
||||||
|
|
||||||
/* Imports */
|
/* Imports */
|
||||||
GTEXT(__irq_wrapper)
|
GTEXT(__irq_wrapper)
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <offsets.h>
|
#include <offsets.h>
|
||||||
#include <toolchain.h>
|
#include <zephyr/toolchain.h>
|
||||||
|
|
||||||
#include <soc.h>
|
#include <soc.h>
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
* SPDX-License-Identifier: Apache-2.0
|
* SPDX-License-Identifier: Apache-2.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <toolchain.h>
|
#include <zephyr/toolchain.h>
|
||||||
|
|
||||||
/* Imports */
|
/* Imports */
|
||||||
GTEXT(__initialize)
|
GTEXT(__initialize)
|
||||||
|
|
|
@ -4,9 +4,9 @@
|
||||||
* SPDX-License-Identifier: Apache-2.0
|
* SPDX-License-Identifier: Apache-2.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <linker/sections.h>
|
#include <zephyr/linker/sections.h>
|
||||||
#include <toolchain.h>
|
#include <zephyr/toolchain.h>
|
||||||
#include <arch/cpu.h>
|
#include <zephyr/arch/cpu.h>
|
||||||
|
|
||||||
/* Exports */
|
/* Exports */
|
||||||
GTEXT(_WdogInit)
|
GTEXT(_WdogInit)
|
||||||
|
|
|
@ -8,10 +8,10 @@
|
||||||
* common interrupt management code for riscv SOCs supporting the riscv
|
* common interrupt management code for riscv SOCs supporting the riscv
|
||||||
* privileged architecture specification
|
* privileged architecture specification
|
||||||
*/
|
*/
|
||||||
#include <kernel_structs.h>
|
#include <zephyr/kernel_structs.h>
|
||||||
#include <offsets.h>
|
#include <offsets.h>
|
||||||
#include <toolchain.h>
|
#include <zephyr/toolchain.h>
|
||||||
#include <linker/sections.h>
|
#include <zephyr/linker/sections.h>
|
||||||
#include <soc.h>
|
#include <soc.h>
|
||||||
|
|
||||||
/* exports */
|
/* exports */
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "chip_chipregs.h"
|
#include "chip_chipregs.h"
|
||||||
#include <toolchain.h>
|
#include <zephyr/toolchain.h>
|
||||||
|
|
||||||
/* exports */
|
/* exports */
|
||||||
GTEXT(__start)
|
GTEXT(__start)
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <offsets.h>
|
#include <offsets.h>
|
||||||
#include <toolchain.h>
|
#include <zephyr/toolchain.h>
|
||||||
|
|
||||||
#include <soc.h>
|
#include <soc.h>
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
* SPDX-License-Identifier: Apache-2.0
|
* SPDX-License-Identifier: Apache-2.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <toolchain.h>
|
#include <zephyr/toolchain.h>
|
||||||
#include <soc.h>
|
#include <soc.h>
|
||||||
|
|
||||||
/* exports */
|
/* exports */
|
||||||
|
|
|
@ -8,10 +8,10 @@
|
||||||
* common interrupt management code for riscv SOCs supporting the riscv
|
* common interrupt management code for riscv SOCs supporting the riscv
|
||||||
* privileged architecture specification
|
* privileged architecture specification
|
||||||
*/
|
*/
|
||||||
#include <kernel_structs.h>
|
#include <zephyr/kernel_structs.h>
|
||||||
#include <offsets.h>
|
#include <offsets.h>
|
||||||
#include <toolchain.h>
|
#include <zephyr/toolchain.h>
|
||||||
#include <linker/sections.h>
|
#include <zephyr/linker/sections.h>
|
||||||
#include <soc.h>
|
#include <soc.h>
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
* SPDX-License-Identifier: Apache-2.0
|
* SPDX-License-Identifier: Apache-2.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <toolchain.h>
|
#include <zephyr/toolchain.h>
|
||||||
|
|
||||||
/* exports */
|
/* exports */
|
||||||
GTEXT(__start)
|
GTEXT(__start)
|
||||||
|
|
|
@ -4,8 +4,8 @@
|
||||||
* SPDX-License-Identifier: Apache-2.0
|
* SPDX-License-Identifier: Apache-2.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <toolchain.h>
|
#include <zephyr/toolchain.h>
|
||||||
#include <arch/riscv/csr.h>
|
#include <zephyr/arch/riscv/csr.h>
|
||||||
#include <nuclei/nuclei_csr.h>
|
#include <nuclei/nuclei_csr.h>
|
||||||
|
|
||||||
GTEXT(__nuclei_start)
|
GTEXT(__nuclei_start)
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
* SPDX-License-Identifier: Apache-2.0
|
* SPDX-License-Identifier: Apache-2.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <toolchain.h>
|
#include <zephyr/toolchain.h>
|
||||||
|
|
||||||
/* exports */
|
/* exports */
|
||||||
GTEXT(__reset)
|
GTEXT(__reset)
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
* SPDX-License-Identifier: Apache-2.0
|
* SPDX-License-Identifier: Apache-2.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <toolchain.h>
|
#include <zephyr/toolchain.h>
|
||||||
|
|
||||||
GTEXT(__soc_handle_irq)
|
GTEXT(__soc_handle_irq)
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <offsets.h>
|
#include <offsets.h>
|
||||||
#include <toolchain.h>
|
#include <zephyr/toolchain.h>
|
||||||
|
|
||||||
#include <soc.h>
|
#include <soc.h>
|
||||||
|
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
#define NDS_MCACHE_CTL 0x7CA
|
#define NDS_MCACHE_CTL 0x7CA
|
||||||
#define NDS_MMISC_CTL 0x7D0
|
#define NDS_MMISC_CTL 0x7D0
|
||||||
|
|
||||||
#include <toolchain.h>
|
#include <zephyr/toolchain.h>
|
||||||
|
|
||||||
.option push
|
.option push
|
||||||
.option norelax
|
.option norelax
|
||||||
|
|
|
@ -14,9 +14,9 @@ testing.
|
||||||
|
|
||||||
#ifdef CONFIG_X86
|
#ifdef CONFIG_X86
|
||||||
|
|
||||||
#include <arch/cpu.h>
|
#include <zephyr/arch/cpu.h>
|
||||||
#include <kernel_structs.h>
|
#include <zephyr/kernel_structs.h>
|
||||||
#include <arch/x86/ia32/asm.h>
|
#include <zephyr/arch/x86/ia32/asm.h>
|
||||||
|
|
||||||
/* imports (internal APIs) */
|
/* imports (internal APIs) */
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue