haiku/headers/private/system/arch/arm64/asm_defs.h
Jaroslaw Pelczar 1761cb8e6f arm64: Add more headers for code compilation
This makes ARM64 target compile more files. This patch is one of
series of patches to support new architecture, as fixes in many
places are required just to compile the code.

Signed-off-by: Jaroslaw Pelczar <jarek@jpelczar.com>
Change-Id: Ia060612733cd3a0fcb781fec449da164ed635b8e
Reviewed-on: https://review.haiku-os.org/c/haiku/+/1807
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
2019-09-01 03:02:49 +00:00

15 lines
490 B
C

/*
* Copyright 2019 Haiku, Inc. All Rights Reserved.
* Distributed under the terms of the MIT License.
*/
#ifndef SYSTEM_ARCH_ARM64_ASM_DEFS_H
#define SYSTEM_ARCH_ARM64_ASM_DEFS_H
#define SYMBOL(name) .global name; name
#define SYMBOL_END(name) .size name, . - name
#define STATIC_FUNCTION(name) .type name, %function; name
#define FUNCTION(name) .global name; .type name, %function; name
#define FUNCTION_END(name) .size name, . - name
#endif /* SYSTEM_ARCH_ARM64_ASM_DEFS_H */