add arm64 support
- add arm64 dependent codes with GICv3 and SVE support - fix bugs based on architecture separation requests
This commit is contained in:
25
arch/arm64/kernel/include/linkage.h
Normal file
25
arch/arm64/kernel/include/linkage.h
Normal file
@@ -0,0 +1,25 @@
|
||||
/* linkage.h COPYRIGHT FUJITSU LIMITED 2015-2016 */
|
||||
#ifndef __HEADER_ARM64_COMMON_LINKAGE_H
|
||||
#define __HEADER_ARM64_COMMON_LINKAGE_H
|
||||
|
||||
#include <arch-memory.h>
|
||||
#include <compiler.h>
|
||||
|
||||
#define ASM_NL ;
|
||||
|
||||
#define __ALIGN .align 4
|
||||
#define __ALIGN_STR ".align 4"
|
||||
|
||||
#define ENTRY(name) \
|
||||
.globl name ASM_NL \
|
||||
__ALIGN ASM_NL \
|
||||
name:
|
||||
|
||||
#define END(name) \
|
||||
.size name, .-name
|
||||
|
||||
#define ENDPROC(name) \
|
||||
.type name, @function ASM_NL \
|
||||
END(name)
|
||||
|
||||
#endif /* !__HEADER_ARM64_COMMON_LINKAGE_H */
|
||||
Reference in New Issue
Block a user