asm_defs.h revision c085f386
1/*
2 * Copyright 2008, Fran��ois Revol, revol@free.fr.
3 * Distributed under the terms of the MIT License.
4 */
5#ifndef SYSTEM_ARCH_RISCV64_ASM_DEFS_H
6#define SYSTEM_ARCH_RISCV64_ASM_DEFS_H
7
8
9/* include arch version helpers */
10//#include <arch_riscv64_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
19#endif	/* SYSTEM_ARCH_RISCV64_ASM_DEFS_H */
20