grammar updates
[mono.git] / mono / mini / mini-ppc.h
1 #ifndef __MONO_MINI_PPC_H__
2 #define __MONO_MINI_PPC_H__
3
4 #include <mono/arch/x86/x86-codegen.h>
5 #include <mono/arch/ppc/ppc-codegen.h>
6
7 #define MONO_MAX_IREGS 32
8 #define MONO_MAX_FREGS 32
9
10 #define MONO_ARCH_FRAME_ALIGNMENT 4
11
12 /* fixme: align to 16byte instead of 32byte (we align to 32byte to get 
13  * reproduceable results for benchmarks */
14 #define MONO_ARCH_CODE_ALIGNMENT 32
15
16 #define MONO_ARCH_BASEREG X86_EBP
17 #define MONO_ARCH_RETREG1 ppc_r3
18 #define MONO_ARCH_RETREG2 ppc_r4
19
20 struct MonoLMF {
21         gpointer    previous_lmf;
22         gpointer    lmf_addr;
23         MonoMethod *method;
24         guint32     ebp;
25         guint32     eip;
26 };
27
28 #endif /* __MONO_MINI_PPC_H__ */