xref: /haiku/headers/private/system/arch/sparc/asm_defs.h (revision a127b88ecbfab58f64944c98aa47722a18e363b2)
1 /*
2  * Copyright 2008, François Revol, revol@free.fr.
3  * Distributed under the terms of the MIT License.
4  */
5 #ifndef SYSTEM_ARCH_SPARC_ASM_DEFS_H
6 #define SYSTEM_ARCH_SPARC_ASM_DEFS_H
7 
8 
9 /* include arch version helpers */
10 //#include <arch_sparc_version.h>
11 
12 #define SYMBOL(name)			.global name; name
13 #define SYMBOL_END(name)		1: .size name, 1b - name
14 #define STATIC_FUNCTION(name)	.type name, %function; name
15 #define FUNCTION(name)			.global name; .type name, %function; name
16 #define FUNCTION_END(name)		1: .size name, 1b - name
17 
18 #endif	/* SYSTEM_ARCH_SPARC_ASM_DEFS_H */
19 
20 
21