Make UEFI boot-platform build again
[haiku.git] / headers / private / system / arch / x86_64 / asm_defs.h
blob26d13c56911c3013b4b55e6460d936fc1599dc61
1 /*
2 * Copyright 2008, Ingo Weinhold, ingo_weinhold@gmx.de.
3 * Distributed under the terms of the MIT License.
4 */
5 #ifndef SYSTEM_ARCH_X86_64_ASM_DEFS_H
6 #define SYSTEM_ARCH_X86_64_ASM_DEFS_H
9 #define SYMBOL(name) .global name; name
10 #define SYMBOL_END(name) 1: .size name, 1b - name
11 #define STATIC_FUNCTION(name) .type name, @function; name
12 #define FUNCTION(name) .global name; .type name, @function; name
13 #define FUNCTION_END(name) 1: .size name, 1b - name
16 #endif /* SYSTEM_ARCH_X86_64_ASM_DEFS_H */