Tue Aug 5 12:21:08 CEST 2003 Paolo Molaro <lupus@ximian.com>
[mono.git] / mono / mini / mini-sparc.h
1 #ifndef __MONO_MINI_SPARC_H__
2 #define __MONO_MINI_SPARC_H__
3
4 #include <mono/arch/sparc/sparc-codegen.h>
5
6 /* Check this for Sparc.  I think it is right. */
7 #define MONO_ARCH_FRAME_ALIGNMENT 4
8
9 /* Also check this. */
10 #define MONO_ARCH_CODE_ALIGNMENT 32
11
12 /* BASEREG = Frame pointer
13  * RETREG? = Return register (but is it for caller or callee?)
14  */
15 #define MONO_ARCH_BASEREG sparc_fp
16 #define MONO_ARCH_RETREG1 sparc_i0
17
18 struct MonoLMF {
19         gpointer    previous_lmf;
20         gpointer    lmf_addr;
21         MonoMethod *method;
22         guint32     ebp;
23         guint32     eip;
24 };
25
26 #endif /* __MONO_MINI_SPARC_H__ */