2009-07-27 20:23:08 +04:00
|
|
|
/*
|
|
|
|
* Copyright 2008, François Revol, revol@free.fr.
|
|
|
|
* Distributed under the terms of the MIT License.
|
|
|
|
*/
|
|
|
|
#ifndef SYSTEM_ARCH_ARM_ASM_DEFS_H
|
|
|
|
#define SYSTEM_ARCH_ARM_ASM_DEFS_H
|
|
|
|
|
|
|
|
|
2009-08-11 07:02:44 +04:00
|
|
|
/* include arch version helpers */
|
|
|
|
#include <arch_arm_version.h>
|
|
|
|
|
2009-07-27 20:23:08 +04:00
|
|
|
#define SYMBOL(name) .global name; name
|
|
|
|
#define SYMBOL_END(name) 1: .size name, 1b - name
|
|
|
|
#define STATIC_FUNCTION(name) .type name, %function; name
|
|
|
|
#define FUNCTION(name) .global name; .type name, %function; name
|
|
|
|
#define FUNCTION_END(name) 1: .size name, 1b - name
|
|
|
|
|
|
|
|
#endif /* SYSTEM_ARCH_ARM_ASM_DEFS_H */
|
|
|
|
|