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:
parent
1c56f87321
commit
b4335a04ac
6 changed files with 13 additions and 1 deletions
|
@ -13,6 +13,8 @@
|
|||
#include <linker/sections.h>
|
||||
#include <arch/cpu.h>
|
||||
|
||||
_ASM_FILE_PROLOGUE
|
||||
|
||||
GTEXT(arch_cpu_idle)
|
||||
SECTION_FUNC(TEXT, arch_cpu_idle)
|
||||
#ifdef CONFIG_TRACING
|
||||
|
|
|
@ -15,6 +15,8 @@
|
|||
#include <arch/cpu.h>
|
||||
#include <sw_isr_table.h>
|
||||
|
||||
_ASM_FILE_PROLOGUE
|
||||
|
||||
GDATA(_sw_isr_table)
|
||||
|
||||
/**
|
||||
|
|
|
@ -17,6 +17,8 @@
|
|||
#include "vector_table.h"
|
||||
#include "macro.h"
|
||||
|
||||
_ASM_FILE_PROLOGUE
|
||||
|
||||
/**
|
||||
*
|
||||
* @brief Reset vector
|
||||
|
|
|
@ -19,6 +19,8 @@
|
|||
#include <syscall.h>
|
||||
#include "macro.h"
|
||||
|
||||
_ASM_FILE_PROLOGUE
|
||||
|
||||
GDATA(_kernel)
|
||||
GDATA(_k_neg_eagain)
|
||||
|
||||
|
|
|
@ -13,6 +13,8 @@
|
|||
#include <linker/sections.h>
|
||||
#include "vector_table.h"
|
||||
|
||||
_ASM_FILE_PROLOGUE
|
||||
|
||||
/*
|
||||
* Four types of exceptions:
|
||||
* - synchronous: aborts from MMU, SP/CP alignment checking, unallocated
|
||||
|
|
|
@ -363,7 +363,9 @@ do { \
|
|||
#else
|
||||
#define _ASM_FILE_PROLOGUE .text; .code 32
|
||||
#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 */
|
||||
|
||||
/*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue