1 /* 2 * Copyright 2019 Haiku, Inc. All Rights Reserved. 3 * Distributed under the terms of the MIT License. 4 */ 5 #ifndef SYSTEM_ARCH_ARM64_ASM_DEFS_H 6 #define SYSTEM_ARCH_ARM64_ASM_DEFS_H 7 8 #define SYMBOL(name) .global name; name 9 #define SYMBOL_END(name) .size name, . - name 10 #define STATIC_FUNCTION(name) .type name, %function; name 11 #define FUNCTION(name) .global name; .type name, %function; name 12 #define FUNCTION_END(name) .size name, . - name 13 14 #endif /* SYSTEM_ARCH_ARM64_ASM_DEFS_H */ 15