1 /* src/vm/jit/abi.h - common ABI defines
3 Copyright (C) 1996-2005, 2006, 2007 R. Grafl, A. Krall, C. Kruegel,
4 C. Oates, R. Obermaisser, M. Platter, M. Probst, S. Ring,
5 E. Steiner, C. Thalinger, D. Thuernbeck, P. Tomsich, C. Ullrich,
6 J. Wenninger, Institut f. Computersprachen - TU Wien
8 This file is part of CACAO.
10 This program is free software; you can redistribute it and/or
11 modify it under the terms of the GNU General Public License as
12 published by the Free Software Foundation; either version 2, or (at
13 your option) any later version.
15 This program is distributed in the hope that it will be useful, but
16 WITHOUT ANY WARRANTY; without even the implied warranty of
17 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18 General Public License for more details.
20 You should have received a copy of the GNU General Public License
21 along with this program; if not, write to the Free Software
22 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
34 #include "vm/jit/abi-asm.h"
35 #include "vm/jit/jit.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, stackptr 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 * ---------------------------------------------------------------------