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
25 $Id: abi.h 7596 2007-03-28 21:05:53Z twisti $
36 #include "vm/jit/abi-asm.h"
37 #include "vm/jit/jit.h"
41 /* ABI externs ****************************************************************/
43 extern s4 nregdescint[];
45 extern s4 nregdescfloat[];
47 #if defined(HAS_ADDRESS_REGISTER_FILE)
48 extern s4 nregdescadr[];
51 extern const char *abi_registers_integer_name[];
52 extern const s4 abi_registers_integer_argument[];
53 extern const s4 abi_registers_integer_saved[];
54 extern const s4 abi_registers_integer_temporary[];
56 extern const char *abi_registers_float_name[];
57 extern const s4 abi_registers_float_argument[];
58 extern const s4 abi_registers_float_saved[];
59 extern const s4 abi_registers_float_temporary[];
62 /* function prototypes ********************************************************/
64 /* machine dependent descriptor function */
65 void md_param_alloc(methoddesc *md);
66 void md_param_alloc_native(methoddesc *md);
68 /* machine dependent return value handling function */
69 void md_return_alloc(jitdata *jd, stackptr stackslot);
75 * These are local overrides for various environment variables in Emacs.
76 * Please do not remove this and leave it at the end of the file, where
77 * Emacs will automagically detect them.
78 * ---------------------------------------------------------------------