arm: aarch64: Reintroduce _ASM_FILE_PROLOGUE

This is currently missing from the AArch64 assembly files.

Signed-off-by: Carlo Caione <ccaione@baylibre.com>
This commit is contained in:
Carlo Caione 2020-03-10 18:26:58 +01:00 committed by Ioannis Glaropoulos
commit b4335a04ac
6 changed files with 13 additions and 1 deletions

View file

@ -13,6 +13,8 @@
#include <linker/sections.h> #include <linker/sections.h>
#include <arch/cpu.h> #include <arch/cpu.h>
_ASM_FILE_PROLOGUE
GTEXT(arch_cpu_idle) GTEXT(arch_cpu_idle)
SECTION_FUNC(TEXT, arch_cpu_idle) SECTION_FUNC(TEXT, arch_cpu_idle)
#ifdef CONFIG_TRACING #ifdef CONFIG_TRACING

View file

@ -15,6 +15,8 @@
#include <arch/cpu.h> #include <arch/cpu.h>
#include <sw_isr_table.h> #include <sw_isr_table.h>
_ASM_FILE_PROLOGUE
GDATA(_sw_isr_table) GDATA(_sw_isr_table)
/** /**

View file

@ -17,6 +17,8 @@
#include "vector_table.h" #include "vector_table.h"
#include "macro.h" #include "macro.h"
_ASM_FILE_PROLOGUE
/** /**
* *
* @brief Reset vector * @brief Reset vector

View file

@ -19,6 +19,8 @@
#include <syscall.h> #include <syscall.h>
#include "macro.h" #include "macro.h"
_ASM_FILE_PROLOGUE
GDATA(_kernel) GDATA(_kernel)
GDATA(_k_neg_eagain) GDATA(_k_neg_eagain)

View file

@ -13,6 +13,8 @@
#include <linker/sections.h> #include <linker/sections.h>
#include "vector_table.h" #include "vector_table.h"
_ASM_FILE_PROLOGUE
/* /*
* Four types of exceptions: * Four types of exceptions:
* - synchronous: aborts from MMU, SP/CP alignment checking, unallocated * - synchronous: aborts from MMU, SP/CP alignment checking, unallocated

View file

@ -363,7 +363,9 @@ do { \
#else #else
#define _ASM_FILE_PROLOGUE .text; .code 32 #define _ASM_FILE_PROLOGUE .text; .code 32
#endif /* CONFIG_ASSEMBLER_ISA_THUMB2 */ #endif /* CONFIG_ASSEMBLER_ISA_THUMB2 */
#endif /* CONFIG_ARM && !CONFIG_ARM64 */ #elif defined(CONFIG_ARM64)
#define _ASM_FILE_PROLOGUE .text
#endif /* CONFIG_ARM64 || (CONFIG_ARM && !CONFIG_ARM64)*/
#endif /* _ASMLANGUAGE */ #endif /* _ASMLANGUAGE */
/* /*