1 /* src/vm/jit/abi.h - common ABI defines
3 Copyright (C) 1996-2005, 2006, 2007, 2008
4 CACAOVM - Verein zur Foerderung der freien virtuellen Maschine CACAO
6 This file is part of CACAO.
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.
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.
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
34 #include "vm/jit/abi-asm.h"
35 #include "vm/jit/jit.h"
36 #include "vm/jit/stack.h"
39 /* ABI externs ****************************************************************/
41 extern s4 nregdescint[];
43 extern s4 nregdescfloat[];
45 #if defined(HAS_ADDRESS_REGISTER_FILE)
46 extern s4 nregdescadr[];
48 extern const char *abi_registers_address_name[];
49 extern const s4 abi_registers_address_argument[];
50 extern const s4 abi_registers_address_saved[];
51 extern const s4 abi_registers_address_temporary[];
54 extern const char *abi_registers_integer_name[];
55 extern const s4 abi_registers_integer_argument[];
56 extern const s4 abi_registers_integer_saved[];
57 extern const s4 abi_registers_integer_temporary[];
59 extern const char *abi_registers_float_name[];
60 extern const s4 abi_registers_float_argument[];
61 extern const s4 abi_registers_float_saved[];
62 extern const s4 abi_registers_float_temporary[];
65 /* function prototypes ********************************************************/
67 /* machine dependent descriptor function */
68 void md_param_alloc(methoddesc *md);
69 void md_param_alloc_native(methoddesc *md);
71 /* machine dependent return value handling function */
72 void md_return_alloc(jitdata *jd, stackelement_t *stackslot);
78 * These are local overrides for various environment variables in Emacs.
79 * Please do not remove this and leave it at the end of the file, where
80 * Emacs will automagically detect them.
81 * ---------------------------------------------------------------------