arm/arm64: Fix misc and trivials for ARM/ARM64 split
Fix the header guards, comments, github labeler, CODEOWNERS and MAINTAINERS files. Signed-off-by: Carlo Caione <ccaione@baylibre.com>
This commit is contained in:
parent
3539c2fbb3
commit
a43f3bade8
4
.github/labeler.yml
vendored
4
.github/labeler.yml
vendored
|
@ -58,8 +58,8 @@
|
|||
- "arch/arm/**/*"
|
||||
- "include/arch/arm/**/*"
|
||||
"area: ARM_64":
|
||||
- "arch/arm/core/aarch64/**/*"
|
||||
- "include/arch/arm/aarch64/**/*"
|
||||
- "arch/arm64/**/*"
|
||||
- "include/arch/arm64/**/*"
|
||||
"area: NIOS2":
|
||||
- "arch/nios2/**/*"
|
||||
- "include/arch/nios2/**/*"
|
||||
|
|
18
CODEOWNERS
18
CODEOWNERS
|
@ -21,10 +21,9 @@
|
|||
/arch/arc/ @abrodkin @ruuddw @evgeniy-paltsev
|
||||
/arch/arm/ @MaureenHelm @galak @ioannisg
|
||||
/arch/arm/core/aarch32/cortex_m/cmse/ @ioannisg
|
||||
/arch/arm/core/aarch64/ @carlocaione
|
||||
/arch/arm/include/aarch32/cortex_m/cmse.h @ioannisg
|
||||
/arch/arm/include/aarch64/ @carlocaione
|
||||
/arch/arm/core/aarch32/cortex_a_r/ @MaureenHelm @galak @ioannisg @bbolen @stephanosio
|
||||
/arch/arm64/ @carlocaione
|
||||
/arch/common/ @ioannisg @andyross
|
||||
/soc/arc/snps_*/ @abrodkin @ruuddw @evgeniy-paltsev
|
||||
/soc/nios2/ @nashif
|
||||
|
@ -44,7 +43,6 @@
|
|||
/soc/arm/nordic_nrf/ @ioannisg
|
||||
/soc/arm/nuvoton/ @ssekar15
|
||||
/soc/arm/nuvoton_npcx/ @MulinChao @WealianLiao @ChiHuaL
|
||||
/soc/arm/qemu_cortex_a53/ @carlocaione
|
||||
/soc/arm/quicklogic_eos_s3/ @kowalewskijan @kgugala
|
||||
/soc/arm/silabs_exx32/efm32pg1b/ @rdmeneze
|
||||
/soc/arm/silabs_exx32/efr32mg21/ @l-alfred
|
||||
|
@ -56,6 +54,10 @@
|
|||
/soc/arm/ti_simplelink/msp432p4xx/ @Mani-Sadhasivam
|
||||
/soc/arm/xilinx_zynqmp/ @stephanosio
|
||||
/soc/xtensa/intel_s1000/ @sathishkuttan @dcpleung
|
||||
/soc/arm64/ @carlocaione
|
||||
/soc/arm64/qemu_cortex_a53/ @carlocaione
|
||||
/soc/arm64/bcm_vk/ @abhishek-brcm
|
||||
/soc/arm64/xenvm/ @lorc
|
||||
/arch/x86/ @jhedberg @nashif @jenmwms @aasthagr
|
||||
/arch/nios2/ @nashif
|
||||
/arch/posix/ @aescolar @daor-oti
|
||||
|
@ -105,7 +107,6 @@
|
|||
/boards/arm/nucleo*/ @erwango @ABOSTM @FRASTM
|
||||
/boards/arm/nucleo_f401re/ @idlethread
|
||||
/boards/arm/nuvoton_pfm_m487/ @ssekar15
|
||||
/boards/arm/qemu_cortex_a53/ @carlocaione
|
||||
/boards/arm/qemu_cortex_r*/ @stephanosio
|
||||
/boards/arm/qemu_cortex_m*/ @ioannisg
|
||||
/boards/arm/quick_feather/ @kowalewskijan @kgugala
|
||||
|
@ -143,6 +144,9 @@
|
|||
/boards/xtensa/intel_s1000_crb/ @sathishkuttan @dcpleung
|
||||
/boards/xtensa/odroid_go/ @ydamigos
|
||||
/boards/sparc/ @martin-aberg
|
||||
/boards/arm64/qemu_cortex_a53/ @carlocaione
|
||||
/boards/arm64/bcm958402m2_a72/ @abhishek-brcm
|
||||
/boards/arm64/xenvm/ @lorc
|
||||
# All cmake related files
|
||||
/cmake/ @tejlmand @nashif
|
||||
/cmake/*/arcmwdt/ @abrodkin @evgeniy-paltsev @tejlmand
|
||||
|
@ -324,7 +328,7 @@
|
|||
/dts/arm/broadcom/ @sbranden
|
||||
/dts/arm/cypress/ @nandojve
|
||||
/dts/arm/infineon/ @parthitce
|
||||
/dts/arm/qemu-virt/ @carlocaione
|
||||
/dts/arm64/ @carlocaione
|
||||
/dts/arm/quicklogic/ @wtatarski @kowalewskijan @kgugala
|
||||
/dts/arm/st/ @erwango
|
||||
/dts/arm/ti/cc13?2* @bwitherspoon
|
||||
|
@ -352,7 +356,6 @@
|
|||
/dts/riscv/riscv32-litex-vexriscv.dtsi @mateusz-holenko @kgugala @pgielda
|
||||
/dts/arm/armv*m.dtsi @galak @ioannisg
|
||||
/dts/arm/armv7-r.dtsi @bbolen @stephanosio
|
||||
/dts/arm/armv8-a.dtsi @carlocaione
|
||||
/dts/arm/xilinx/ @bbolen @stephanosio
|
||||
/dts/x86/ @jhedberg
|
||||
/dts/xtensa/xtensa.dtsi @ydamigos
|
||||
|
@ -410,8 +413,7 @@
|
|||
/include/arch/arc/v2/irq.h @abrodkin @ruuddw @evgeniy-paltsev
|
||||
/include/arch/arm/aarch32/ @MaureenHelm @galak @ioannisg
|
||||
/include/arch/arm/aarch32/cortex_a_r/ @stephanosio
|
||||
/include/arch/arm/aarch64/ @carlocaione
|
||||
/include/arch/arm/arm-smccc.h @carlocaione
|
||||
/include/arch/arm64/ @carlocaione
|
||||
/include/arch/arm/aarch32/irq.h @carlocaione
|
||||
/include/arch/nios2/ @nashif
|
||||
/include/arch/nios2/arch.h @nashif
|
||||
|
|
|
@ -153,9 +153,12 @@ ARM64 arch:
|
|||
- npitre
|
||||
- ioannisg
|
||||
files:
|
||||
- arch/arm/core/aarch64/
|
||||
- include/arch/arm/aarch64/
|
||||
- arch/arm64/
|
||||
- include/arch/arm64/
|
||||
- tests/arch/arm64/
|
||||
- soc/arm64/qemu_cortex_a53/
|
||||
- boards/arm64/qemu_cortex_a53/
|
||||
- dts/arm64/
|
||||
labels:
|
||||
- "area: ARM64"
|
||||
|
||||
|
|
|
@ -11,8 +11,8 @@
|
|||
* Exception/interrupt context helpers.
|
||||
*/
|
||||
|
||||
#ifndef ZEPHYR_ARCH_ARM_INCLUDE_AARCH64_EXC_H_
|
||||
#define ZEPHYR_ARCH_ARM_INCLUDE_AARCH64_EXC_H_
|
||||
#ifndef ZEPHYR_ARCH_ARM64_INCLUDE_EXC_H_
|
||||
#define ZEPHYR_ARCH_ARM64_INCLUDE_EXC_H_
|
||||
|
||||
#include <arch/cpu.h>
|
||||
|
||||
|
@ -46,4 +46,4 @@ extern void z_arm64_call_svc(void *switch_to, void **switched_from);
|
|||
|
||||
#endif /* _ASMLANGUAGE */
|
||||
|
||||
#endif /* ZEPHYR_ARCH_ARM_INCLUDE_AARCH64_EXC_H_ */
|
||||
#endif /* ZEPHYR_ARCH_ARM64_INCLUDE_EXC_H_ */
|
||||
|
|
|
@ -17,8 +17,8 @@
|
|||
* in the offsets.o module.
|
||||
*/
|
||||
|
||||
#ifndef ZEPHYR_ARCH_ARM_INCLUDE_KERNEL_ARCH_DATA_H_
|
||||
#define ZEPHYR_ARCH_ARM_INCLUDE_KERNEL_ARCH_DATA_H_
|
||||
#ifndef ZEPHYR_ARCH_ARM64_INCLUDE_KERNEL_ARCH_DATA_H_
|
||||
#define ZEPHYR_ARCH_ARM64_INCLUDE_KERNEL_ARCH_DATA_H_
|
||||
|
||||
#include <toolchain.h>
|
||||
#include <linker/sections.h>
|
||||
|
@ -45,4 +45,4 @@ typedef struct __basic_sf _basic_sf_t;
|
|||
|
||||
#endif /* _ASMLANGUAGE */
|
||||
|
||||
#endif /* ZEPHYR_ARCH_ARM_INCLUDE_KERNEL_ARCH_DATA_H_ */
|
||||
#endif /* ZEPHYR_ARCH_ARM64_INCLUDE_KERNEL_ARCH_DATA_H_ */
|
||||
|
|
|
@ -17,8 +17,8 @@
|
|||
* in the offsets.o module.
|
||||
*/
|
||||
|
||||
#ifndef ZEPHYR_ARCH_ARM_INCLUDE_AARCH64_KERNEL_ARCH_FUNC_H_
|
||||
#define ZEPHYR_ARCH_ARM_INCLUDE_AARCH64_KERNEL_ARCH_FUNC_H_
|
||||
#ifndef ZEPHYR_ARCH_ARM64_INCLUDE_KERNEL_ARCH_FUNC_H_
|
||||
#define ZEPHYR_ARCH_ARM64_INCLUDE_KERNEL_ARCH_FUNC_H_
|
||||
|
||||
#include <kernel_arch_data.h>
|
||||
|
||||
|
@ -49,4 +49,4 @@ extern void z_arm64_set_ttbr0(uintptr_t ttbr0);
|
|||
}
|
||||
#endif
|
||||
|
||||
#endif /* ZEPHYR_ARCH_ARM_INCLUDE_AARCH64_KERNEL_ARCH_FUNC_H_ */
|
||||
#endif /* ZEPHYR_ARCH_ARM64_INCLUDE_KERNEL_ARCH_FUNC_H_ */
|
||||
|
|
|
@ -4,8 +4,8 @@
|
|||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
#ifndef ZEPHYR_ARCH_ARM_INCLUDE_AARCH64_OFFSETS_SHORT_ARCH_H_
|
||||
#define ZEPHYR_ARCH_ARM_INCLUDE_AARCH64_OFFSETS_SHORT_ARCH_H_
|
||||
#ifndef ZEPHYR_ARCH_ARM64_INCLUDE_OFFSETS_SHORT_ARCH_H_
|
||||
#define ZEPHYR_ARCH_ARM64_INCLUDE_OFFSETS_SHORT_ARCH_H_
|
||||
|
||||
#include <offsets.h>
|
||||
|
||||
|
@ -14,4 +14,4 @@
|
|||
(___thread_t_arch_OFFSET + ___thread_arch_t_priv_stack_start_OFFSET)
|
||||
#endif
|
||||
|
||||
#endif /* ZEPHYR_ARCH_ARM_INCLUDE_AARCH64_OFFSETS_SHORT_ARCH_H_ */
|
||||
#endif /* ZEPHYR_ARCH_ARM64_INCLUDE_OFFSETS_SHORT_ARCH_H_ */
|
||||
|
|
10
boards/arm64/index.rst
Normal file
10
boards/arm64/index.rst
Normal file
|
@ -0,0 +1,10 @@
|
|||
.. _boards-arm64:
|
||||
|
||||
ARM64 Boards
|
||||
############
|
||||
|
||||
.. toctree::
|
||||
:maxdepth: 1
|
||||
:glob:
|
||||
|
||||
**/*
|
|
@ -15,6 +15,7 @@ under :zephyr_file:`doc/templates/board.tmpl`
|
|||
|
||||
x86/index.rst
|
||||
arm/index.rst
|
||||
arm64/index.rst
|
||||
arc/index.rst
|
||||
nios2/index.rst
|
||||
xtensa/index.rst
|
||||
|
|
|
@ -10,11 +10,11 @@
|
|||
*
|
||||
* This header contains the ARM64 specific kernel interface. It is
|
||||
* included by the kernel interface architecture-abstraction header
|
||||
* (include/arm/aarch64/cpu.h)
|
||||
* (include/arm64/cpu.h)
|
||||
*/
|
||||
|
||||
#ifndef ZEPHYR_INCLUDE_ARCH_ARM_AARCH64_ARCH_H_
|
||||
#define ZEPHYR_INCLUDE_ARCH_ARM_AARCH64_ARCH_H_
|
||||
#ifndef ZEPHYR_INCLUDE_ARCH_ARM64_ARCH_H_
|
||||
#define ZEPHYR_INCLUDE_ARCH_ARM64_ARCH_H_
|
||||
|
||||
/* Add include for DTS generated information */
|
||||
#include <devicetree.h>
|
||||
|
@ -49,7 +49,7 @@ extern "C" {
|
|||
* The macros are to be stored in k_mem_partition_attr_t
|
||||
* objects. The format of a k_mem_partition_attr_t object
|
||||
* is an uint32_t composed by permission and attribute flags
|
||||
* located in include/arch/arm/aarch64/arm_mmu.h
|
||||
* located in include/arch/arm64/arm_mmu.h
|
||||
*/
|
||||
|
||||
/* Read-Write access permission attributes */
|
||||
|
@ -82,4 +82,4 @@ struct arch_mem_domain {
|
|||
}
|
||||
#endif
|
||||
|
||||
#endif /* ZEPHYR_INCLUDE_ARCH_ARM_AARCH64_ARCH_H_ */
|
||||
#endif /* ZEPHYR_INCLUDE_ARCH_ARM64_ARCH_H_ */
|
||||
|
|
|
@ -4,8 +4,8 @@
|
|||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
#ifndef ZEPHYR_INCLUDE_ARCH_ARM_AARCH64_ARCH_INLINES_H
|
||||
#define ZEPHYR_INCLUDE_ARCH_ARM_AARCH64_ARCH_INLINES_H
|
||||
#ifndef ZEPHYR_INCLUDE_ARCH_ARM64_ARCH_INLINES_H
|
||||
#define ZEPHYR_INCLUDE_ARCH_ARM64_ARCH_INLINES_H
|
||||
|
||||
#ifndef _ASMLANGUAGE
|
||||
|
||||
|
@ -28,4 +28,4 @@ static ALWAYS_INLINE _cpu_t *arch_curr_cpu(void)
|
|||
}
|
||||
|
||||
#endif /* !_ASMLANGUAGE */
|
||||
#endif /* ZEPHYR_INCLUDE_ARCH_ARM_AARCH64_ARCH_INLINES_H */
|
||||
#endif /* ZEPHYR_INCLUDE_ARCH_ARM64_ARCH_INLINES_H */
|
||||
|
|
|
@ -4,8 +4,8 @@
|
|||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
#ifndef ZEPHYR_INCLUDE_ARCH_ARM_ARM_SMCCC_H_
|
||||
#define ZEPHYR_INCLUDE_ARCH_ARM_ARM_SMCCC_H_
|
||||
#ifndef ZEPHYR_INCLUDE_ARCH_ARM64_SMCCC_H_
|
||||
#define ZEPHYR_INCLUDE_ARCH_ARM64_SMCCC_H_
|
||||
|
||||
/*
|
||||
* Result from SMC/HVC call
|
||||
|
@ -56,4 +56,4 @@ void arm_smccc_smc(unsigned long a0, unsigned long a1,
|
|||
unsigned long a6, unsigned long a7,
|
||||
struct arm_smccc_res *res);
|
||||
|
||||
#endif /* ZEPHYR_INCLUDE_ARCH_ARM_ARM_SMCCC_H_ */
|
||||
#endif /* ZEPHYR_INCLUDE_ARCH_ARM64_SMCCC_H_ */
|
||||
|
|
|
@ -4,8 +4,8 @@
|
|||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
#ifndef ZEPHYR_INCLUDE_ARCH_ARM64_MMU_ARM_MMU_H_
|
||||
#define ZEPHYR_INCLUDE_ARCH_ARM64_MMU_ARM_MMU_H_
|
||||
#ifndef ZEPHYR_INCLUDE_ARCH_ARM64_ARM_MMU_H_
|
||||
#define ZEPHYR_INCLUDE_ARCH_ARM64_ARM_MMU_H_
|
||||
|
||||
/* Following Memory types supported through MAIR encodings can be passed
|
||||
* by user through "attrs"(attributes) field of specified memory region.
|
||||
|
@ -201,4 +201,4 @@ void z_arm64_swap_ptables(struct k_thread *thread);
|
|||
|
||||
#endif /* _ASMLANGUAGE */
|
||||
|
||||
#endif /* ZEPHYR_INCLUDE_ARCH_ARM64_MMU_ARM_MMU_H_ */
|
||||
#endif /* ZEPHYR_INCLUDE_ARCH_ARM64_ARM_MMU_H_ */
|
||||
|
|
|
@ -4,8 +4,8 @@
|
|||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
#ifndef ZEPHYR_INCLUDE_ARCH_ARM_AARCH64_ASM_INLINE_H_
|
||||
#define ZEPHYR_INCLUDE_ARCH_ARM_AARCH64_ASM_INLINE_H_
|
||||
#ifndef ZEPHYR_INCLUDE_ARCH_ARM64_ASM_INLINE_H_
|
||||
#define ZEPHYR_INCLUDE_ARCH_ARM64_ASM_INLINE_H_
|
||||
|
||||
/*
|
||||
* The file must not be included directly
|
||||
|
@ -18,4 +18,4 @@
|
|||
#include <arch/arm/asm_inline_other.h>
|
||||
#endif
|
||||
|
||||
#endif /* ZEPHYR_INCLUDE_ARCH_ARM_AARCH64_ASM_INLINE_H_ */
|
||||
#endif /* ZEPHYR_INCLUDE_ARCH_ARM64_ASM_INLINE_H_ */
|
||||
|
|
|
@ -6,8 +6,8 @@
|
|||
|
||||
/* Either public functions or macros or invoked by public functions */
|
||||
|
||||
#ifndef ZEPHYR_INCLUDE_ARCH_ARM_AARCH64_ASM_INLINE_GCC_H_
|
||||
#define ZEPHYR_INCLUDE_ARCH_ARM_AARCH64_ASM_INLINE_GCC_H_
|
||||
#ifndef ZEPHYR_INCLUDE_ARCH_ARM64_ASM_INLINE_GCC_H_
|
||||
#define ZEPHYR_INCLUDE_ARCH_ARM64_ASM_INLINE_GCC_H_
|
||||
|
||||
/*
|
||||
* The file must not be included directly
|
||||
|
@ -54,4 +54,4 @@ static ALWAYS_INLINE bool arch_irq_unlocked(unsigned int key)
|
|||
|
||||
#endif /* _ASMLANGUAGE */
|
||||
|
||||
#endif /* ZEPHYR_INCLUDE_ARCH_ARM_AARCH64_ASM_INLINE_GCC_H_ */
|
||||
#endif /* ZEPHYR_INCLUDE_ARCH_ARM64_ASM_INLINE_GCC_H_ */
|
||||
|
|
|
@ -4,8 +4,8 @@
|
|||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
#ifndef ZEPHYR_INCLUDE_ARCH_ARM_AARCH64_CPU_H_
|
||||
#define ZEPHYR_INCLUDE_ARCH_ARM_AARCH64_CPU_H_
|
||||
#ifndef ZEPHYR_INCLUDE_ARCH_ARM64_CPU_H_
|
||||
#define ZEPHYR_INCLUDE_ARCH_ARM64_CPU_H_
|
||||
|
||||
#include <sys/util.h>
|
||||
|
||||
|
@ -206,4 +206,4 @@
|
|||
#define L1_CACHE_BYTES BIT(L1_CACHE_SHIFT)
|
||||
#define ARM64_CPU_INIT_SIZE L1_CACHE_BYTES
|
||||
|
||||
#endif /* ZEPHYR_INCLUDE_ARCH_ARM_AARCH64_CPU_H_ */
|
||||
#endif /* ZEPHYR_INCLUDE_ARCH_ARM64_CPU_H_ */
|
||||
|
|
|
@ -11,8 +11,8 @@
|
|||
* ARM AArch64-specific kernel error handling interface. Included by arch.h.
|
||||
*/
|
||||
|
||||
#ifndef ZEPHYR_INCLUDE_ARCH_ARM_AARCH64_ERROR_H_
|
||||
#define ZEPHYR_INCLUDE_ARCH_ARM_AARCH64_ERROR_H_
|
||||
#ifndef ZEPHYR_INCLUDE_ARCH_ARM64_ERROR_H_
|
||||
#define ZEPHYR_INCLUDE_ARCH_ARM64_ERROR_H_
|
||||
|
||||
#include <arch/arm64/syscall.h>
|
||||
#include <arch/arm64/exc.h>
|
||||
|
@ -37,4 +37,4 @@ do { \
|
|||
}
|
||||
#endif
|
||||
|
||||
#endif /* ZEPHYR_INCLUDE_ARCH_ARM_AARCH64_ERROR_H_ */
|
||||
#endif /* ZEPHYR_INCLUDE_ARCH_ARM64_ERROR_H_ */
|
||||
|
|
|
@ -11,8 +11,8 @@
|
|||
* ARM-specific kernel exception handling interface. Included by arm64/arch.h.
|
||||
*/
|
||||
|
||||
#ifndef ZEPHYR_INCLUDE_ARCH_ARM_AARCH64_EXC_H_
|
||||
#define ZEPHYR_INCLUDE_ARCH_ARM_AARCH64_EXC_H_
|
||||
#ifndef ZEPHYR_INCLUDE_ARCH_ARM64_EXC_H_
|
||||
#define ZEPHYR_INCLUDE_ARCH_ARM64_EXC_H_
|
||||
|
||||
/* for assembler, only works with constants */
|
||||
|
||||
|
@ -60,4 +60,4 @@ typedef struct __esf z_arch_esf_t;
|
|||
|
||||
#endif /* _ASMLANGUAGE */
|
||||
|
||||
#endif /* ZEPHYR_INCLUDE_ARCH_ARM_AARCH64_EXC_H_ */
|
||||
#endif /* ZEPHYR_INCLUDE_ARCH_ARM64_EXC_H_ */
|
||||
|
|
|
@ -9,11 +9,11 @@
|
|||
* @brief Cortex-A public interrupt handling
|
||||
*
|
||||
* ARM64-specific kernel interrupt handling interface.
|
||||
* Included by arm/aarch64/arch.h.
|
||||
* Included by arm64/arch.h.
|
||||
*/
|
||||
|
||||
#ifndef ZEPHYR_INCLUDE_ARCH_ARM_AARCH64_IRQ_H_
|
||||
#define ZEPHYR_INCLUDE_ARCH_ARM_AARCH64_IRQ_H_
|
||||
#ifndef ZEPHYR_INCLUDE_ARCH_ARM64_IRQ_H_
|
||||
#define ZEPHYR_INCLUDE_ARCH_ARM64_IRQ_H_
|
||||
|
||||
#include <irq.h>
|
||||
#include <sw_isr_table.h>
|
||||
|
@ -111,4 +111,4 @@ extern void _isr_wrapper(void);
|
|||
}
|
||||
#endif
|
||||
|
||||
#endif /* ZEPHYR_INCLUDE_ARCH_ARM_AARCH64_IRQ_H_ */
|
||||
#endif /* ZEPHYR_INCLUDE_ARCH_ARM64_IRQ_H_ */
|
||||
|
|
|
@ -4,8 +4,8 @@
|
|||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
#ifndef ZEPHYR_INCLUDE_ARCH_ARM_AARCH64_LIB_HELPERS_H_
|
||||
#define ZEPHYR_INCLUDE_ARCH_ARM_AARCH64_LIB_HELPERS_H_
|
||||
#ifndef ZEPHYR_INCLUDE_ARCH_ARM64_LIB_HELPERS_H_
|
||||
#define ZEPHYR_INCLUDE_ARCH_ARM64_LIB_HELPERS_H_
|
||||
|
||||
#ifndef _ASMLANGUAGE
|
||||
|
||||
|
@ -183,4 +183,4 @@ static inline bool is_in_secure_state(void)
|
|||
|
||||
#endif /* !_ASMLANGUAGE */
|
||||
|
||||
#endif /* ZEPHYR_INCLUDE_ARCH_ARM_AARCH64_LIB_HELPERS_H_ */
|
||||
#endif /* ZEPHYR_INCLUDE_ARCH_ARM64_LIB_HELPERS_H_ */
|
||||
|
|
|
@ -4,8 +4,8 @@
|
|||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
#ifndef ZEPHYR_INCLUDE_ARCH_ARM_AARCH64_MACRO_INC_
|
||||
#define ZEPHYR_INCLUDE_ARCH_ARM_AARCH64_MACRO_INC_
|
||||
#ifndef ZEPHYR_INCLUDE_ARCH_ARM64_MACRO_INC_
|
||||
#define ZEPHYR_INCLUDE_ARCH_ARM64_MACRO_INC_
|
||||
|
||||
#ifdef _ASMLANGUAGE
|
||||
|
||||
|
@ -44,4 +44,4 @@
|
|||
.endm
|
||||
#endif /* _ASMLANGUAGE */
|
||||
|
||||
#endif /* ZEPHYR_INCLUDE_ARCH_ARM_AARCH64_MACRO_INC_ */
|
||||
#endif /* ZEPHYR_INCLUDE_ARCH_ARM64_MACRO_INC_ */
|
||||
|
|
|
@ -9,11 +9,11 @@
|
|||
* @brief Cortex-A public kernel miscellaneous
|
||||
*
|
||||
* ARM64-specific kernel miscellaneous interface. Included by
|
||||
* arm/aarch64/arch.h.
|
||||
* arm64/arch.h.
|
||||
*/
|
||||
|
||||
#ifndef ZEPHYR_INCLUDE_ARCH_ARM_AARCH64_MISC_H_
|
||||
#define ZEPHYR_INCLUDE_ARCH_ARM_AARCH64_MISC_H_
|
||||
#ifndef ZEPHYR_INCLUDE_ARCH_ARM64_MISC_H_
|
||||
#define ZEPHYR_INCLUDE_ARCH_ARM64_MISC_H_
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
@ -38,4 +38,4 @@ static ALWAYS_INLINE void arch_nop(void)
|
|||
}
|
||||
#endif
|
||||
|
||||
#endif /* ZEPHYR_INCLUDE_ARCH_ARM_AARCH64_MISC_H_ */
|
||||
#endif /* ZEPHYR_INCLUDE_ARCH_ARM64_MISC_H_ */
|
||||
|
|
|
@ -9,8 +9,8 @@
|
|||
* gcc builtins)
|
||||
*/
|
||||
|
||||
#ifndef ZEPHYR_INCLUDE_ARCH_ARM_AARCH64_SYS_IO_H_
|
||||
#define ZEPHYR_INCLUDE_ARCH_ARM_AARCH64_SYS_IO_H_
|
||||
#ifndef ZEPHYR_INCLUDE_ARCH_ARM64_SYS_IO_H_
|
||||
#define ZEPHYR_INCLUDE_ARCH_ARM64_SYS_IO_H_
|
||||
|
||||
#ifndef _ASMLANGUAGE
|
||||
|
||||
|
@ -87,4 +87,4 @@ static ALWAYS_INLINE void sys_write32(uint32_t data, mem_addr_t addr)
|
|||
|
||||
#endif /* _ASMLANGUAGE */
|
||||
|
||||
#endif /* ZEPHYR_INCLUDE_ARCH_ARM_AARCH64_SYS_IO_H_ */
|
||||
#endif /* ZEPHYR_INCLUDE_ARCH_ARM64_SYS_IO_H_ */
|
||||
|
|
|
@ -10,11 +10,11 @@
|
|||
*
|
||||
* This header contains the ARM64 specific syscall interface. It is
|
||||
* included by the syscall interface architecture-abstraction header
|
||||
* (include/arch/aarch64/syscall.h)
|
||||
* (include/arch64/syscall.h)
|
||||
*/
|
||||
|
||||
#ifndef ZEPHYR_INCLUDE_ARCH_AARCH64_ARM_SYSCALL_H_
|
||||
#define ZEPHYR_INCLUDE_ARCH_AARCH64_ARM_SYSCALL_H_
|
||||
#ifndef ZEPHYR_INCLUDE_ARCH_ARM64_SYSCALL_H_
|
||||
#define ZEPHYR_INCLUDE_ARCH_ARM64_SYSCALL_H_
|
||||
|
||||
#define _SVC_CALL_CONTEXT_SWITCH 0
|
||||
#define _SVC_CALL_IRQ_OFFLOAD 1
|
||||
|
@ -179,4 +179,4 @@ static inline bool arch_is_user_context(void)
|
|||
#endif /* _ASMLANGUAGE */
|
||||
#endif /* CONFIG_USERSPACE */
|
||||
|
||||
#endif /* ZEPHYR_INCLUDE_ARCH_ARM_AARCH64_SYSCALL_H_ */
|
||||
#endif /* ZEPHYR_INCLUDE_ARCH_ARM64_SYSCALL_H_ */
|
||||
|
|
|
@ -16,8 +16,8 @@
|
|||
* necessary to instantiate instances of struct k_thread.
|
||||
*/
|
||||
|
||||
#ifndef ZEPHYR_INCLUDE_ARCH_ARM_AARCH64_THREAD_H_
|
||||
#define ZEPHYR_INCLUDE_ARCH_ARM_AARCH64_THREAD_H_
|
||||
#ifndef ZEPHYR_INCLUDE_ARCH_ARM64_THREAD_H_
|
||||
#define ZEPHYR_INCLUDE_ARCH_ARM64_THREAD_H_
|
||||
|
||||
#ifndef _ASMLANGUAGE
|
||||
#include <zephyr/types.h>
|
||||
|
@ -50,4 +50,4 @@ typedef struct _thread_arch _thread_arch_t;
|
|||
|
||||
#endif /* _ASMLANGUAGE */
|
||||
|
||||
#endif /* ZEPHYR_INCLUDE_ARCH_ARM_AARCH64_THREAD_H_ */
|
||||
#endif /* ZEPHYR_INCLUDE_ARCH_ARM64_THREAD_H_ */
|
||||
|
|
|
@ -4,8 +4,8 @@
|
|||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
#ifndef ZEPHYR_INCLUDE_ARCH_ARM_AARCH64_THREAD_STACK_H_
|
||||
#define ZEPHYR_INCLUDE_ARCH_ARM_AARCH64_THREAD_STACK_H_
|
||||
#ifndef ZEPHYR_INCLUDE_ARCH_ARM64_THREAD_STACK_H_
|
||||
#define ZEPHYR_INCLUDE_ARCH_ARM64_THREAD_STACK_H_
|
||||
|
||||
#define ARCH_STACK_PTR_ALIGN 16
|
||||
|
||||
|
@ -55,4 +55,4 @@ struct z_arm64_thread_stack_header {
|
|||
|
||||
#endif /* _ASMLANGUAGE */
|
||||
|
||||
#endif /* ZEPHYR_INCLUDE_ARCH_ARM_AARCH64_THREAD_STACK_H_ */
|
||||
#endif /* ZEPHYR_INCLUDE_ARCH_ARM64_THREAD_STACK_H_ */
|
||||
|
|
|
@ -4,8 +4,8 @@
|
|||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
#ifndef ZEPHYR_INCLUDE_ARCH_ARM_AARCH64_TIMER_H_
|
||||
#define ZEPHYR_INCLUDE_ARCH_ARM_AARCH64_TIMER_H_
|
||||
#ifndef ZEPHYR_INCLUDE_ARCH_ARM64_TIMER_H_
|
||||
#define ZEPHYR_INCLUDE_ARCH_ARM64_TIMER_H_
|
||||
|
||||
#ifndef _ASMLANGUAGE
|
||||
|
||||
|
@ -70,4 +70,4 @@ static ALWAYS_INLINE uint64_t arm_arch_timer_count(void)
|
|||
|
||||
#endif /* _ASMLANGUAGE */
|
||||
|
||||
#endif /* ZEPHYR_INCLUDE_ARCH_ARM_AARCH64_TIMER_H_ */
|
||||
#endif /* ZEPHYR_INCLUDE_ARCH_ARM64_TIMER_H_ */
|
||||
|
|
Loading…
Reference in a new issue