xref: /haiku/headers/private/system/arch/m68k/asm_defs.h (revision 1e60bdeab63fa7a57bc9a55b032052e95a18bd2c)
1 /*
2  * Copyright 2008, François Revol, revol@free.fr.
3  * Distributed under the terms of the MIT License.
4  */
5 #ifndef SYSTEM_ARCH_M68K_ASM_DEFS_H
6 #define SYSTEM_ARCH_M68K_ASM_DEFS_H
7 
8 
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
14 
15 
16 #endif	/* SYSTEM_ARCH_M68K_ASM_DEFS_H */
17 
18