df41deac1c
It doesn't make sense to keep the aarch32 directory in the 'arch/arm/core' directory as the aarch64 has been moved out. This commit introduces the following major changes. 1. Move all directories and files in 'arch/arm/core/aarch32' to 'arch/arm/core' and remove the 'arch/arm/core/aarch32' directory. 2. Move all directories and files in 'arch/include/aarch32' to 'arch/include' and remove the 'arch/include/aarch32' directory. 3. Remove the nested including in the 'arch/include/kernel_arch_func.h' and 'arch/include/offsets_short_arch.h' header files. 4. Change the path string which is influenced by the changement 1 and 2. Signed-off-by: Huifeng Zhang <Huifeng.Zhang@arm.com>
34 lines
1.1 KiB
ArmAsm
34 lines
1.1 KiB
ArmAsm
/*
|
|
* Copyright (C) 2023, Advanced Micro Devices, Inc.
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
#include <zephyr/linker/sections.h>
|
|
|
|
_ASM_FILE_PROLOGUE
|
|
|
|
SECTION_SUBSEC_FUNC(image_header,_image_header_section,_image_header)
|
|
#ifdef CONFIG_CPU_CORTEX_M
|
|
/*
|
|
* setting the _very_ early boot on the main stack allows to use memset
|
|
* on the interrupt stack when CONFIG_INIT_STACKS is enabled before
|
|
* switching to the interrupt stack for the rest of the early boot
|
|
*/
|
|
.long z_main_stack + CONFIG_MAIN_STACK_SIZE
|
|
.long z_arm_reset
|
|
#else
|
|
b __start // branch to kernel start
|
|
.long 0 // reserved
|
|
#endif
|
|
.long 0 // reserved
|
|
.long 0 // reserved
|
|
.long 0 // reserved
|
|
.long 0 // reserved
|
|
.long 0 // reserved
|
|
.long 0 // reserved
|
|
.long 0 // reserved
|
|
.long 0x016f2818 // Magic number
|
|
.long __rom_region_start // start address of zImage
|
|
.long __end // end address of zImage
|