URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Go to most recent revision |
Only display areas with differences |
Details |
Blame |
View Log
Rev 158 |
Rev 816 |
#ifndef ASM_H
|
#ifndef ASM_H
|
#define ASM_H
|
#define ASM_H
|
|
|
#ifdef __STDC__
|
#ifdef __STDC__
|
# define _C_LABEL(x) _ ## x
|
# define _C_LABEL(x) _ ## x
|
#else
|
#else
|
# define _C_LABEL(x) _/**/x
|
# define _C_LABEL(x) _/**/x
|
#endif
|
#endif
|
#define _ASM_LABEL(x) x
|
#define _ASM_LABEL(x) x
|
|
|
#define _ENTRY(name) \
|
#define _ENTRY(name) \
|
.text; .align 4; .globl name; name:
|
.text; .align 4; .globl name; name:
|
|
|
#define ENTRY(name) \
|
#define ENTRY(name) \
|
_ENTRY(_C_LABEL(name))
|
_ENTRY(_C_LABEL(name))
|
|
|
#endif
|
#endif
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.