CACAO
abi.hpp
Go to the documentation of this file.
1 /* src/vm/jit/abi.hpp - common ABI defines
2 
3  Copyright (C) 1996-2013
4  CACAOVM - Verein zur Foerderung der freien virtuellen Maschine CACAO
5 
6  This file is part of CACAO.
7 
8  This program is free software; you can redistribute it and/or
9  modify it under the terms of the GNU General Public License as
10  published by the Free Software Foundation; either version 2, or (at
11  your option) any later version.
12 
13  This program is distributed in the hope that it will be useful, but
14  WITHOUT ANY WARRANTY; without even the implied warranty of
15  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16  General Public License for more details.
17 
18  You should have received a copy of the GNU General Public License
19  along with this program; if not, write to the Free Software
20  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
21  02110-1301, USA.
22 
23 */
24 
25 
26 #ifndef ABI_HPP_
27 #define ABI_HPP_ 1
28 
29 #include "config.h"
30 #include "vm/types.hpp"
31 
32 #include "arch.hpp"
33 
34 #include "vm/jit/abi-asm.hpp"
35 #include "vm/jit/jit.hpp"
36 #include "vm/jit/stack.hpp"
37 
38 
39 /* ABI externs ****************************************************************/
40 
41 extern s4 nregdescint[];
42 extern char *regs[];
43 extern s4 nregdescfloat[];
44 
45 extern const char *abi_registers_integer_name[];
46 extern const s4 abi_registers_integer_argument[];
47 extern const s4 abi_registers_integer_saved[];
48 extern const s4 abi_registers_integer_temporary[];
49 
50 extern const s4 abi_registers_float_argument[];
51 extern const s4 abi_registers_float_saved[];
52 extern const s4 abi_registers_float_temporary[];
53 
54 
55 /* function prototypes ********************************************************/
56 
57 /* machine dependent descriptor function */
58 void md_param_alloc(methoddesc *md);
60 
61 /* machine dependent return value handling function */
63 
64 #endif // ABI_HPP_
65 
66 
67 /*
68  * These are local overrides for various environment variables in Emacs.
69  * Please do not remove this and leave it at the end of the file, where
70  * Emacs will automagically detect them.
71  * ---------------------------------------------------------------------
72  * Local variables:
73  * mode: c++
74  * indent-tabs-mode: t
75  * c-basic-offset: 4
76  * tab-width: 4
77  * End:
78  * vim:noexpandtab:sw=4:ts=4:
79  */
const s4 abi_registers_float_argument[]
Definition: md-abi.cpp:107
void md_return_alloc(jitdata *jd, stackelement_t *stackslot)
Definition: md-abi.cpp:250
char * regs[]
Definition: disass.c:51
Definition: jit.hpp:126
const s4 abi_registers_integer_argument[]
Definition: md-abi.cpp:64
s4 nregdescint[]
Definition: md-abi.cpp:41
const s4 abi_registers_integer_saved[]
Definition: md-abi.cpp:75
const s4 abi_registers_float_temporary[]
Definition: md-abi.cpp:129
const s4 abi_registers_float_saved[]
Definition: md-abi.cpp:118
const s4 abi_registers_integer_temporary[]
Definition: md-abi.cpp:88
int32_t s4
Definition: types.hpp:45
void md_param_alloc(methoddesc *md)
Definition: md-abi.cpp:153
const char * abi_registers_integer_name[]
Definition: md-abi.cpp:57
void md_param_alloc_native(methoddesc *md)
Definition: md-abi.cpp:224
s4 nregdescfloat[]
Definition: md-abi.cpp:98