/* src/vm/jit/abi.h - common ABI defines
- Copyright (C) 1996-2005 R. Grafl, A. Krall, C. Kruegel, C. Oates,
- R. Obermaisser, M. Platter, M. Probst, S. Ring, E. Steiner,
- C. Thalinger, D. Thuernbeck, P. Tomsich, C. Ullrich, J. Wenninger,
- Institut f. Computersprachen - TU Wien
+ Copyright (C) 1996-2005, 2006 R. Grafl, A. Krall, C. Kruegel,
+ C. Oates, R. Obermaisser, M. Platter, M. Probst, S. Ring,
+ E. Steiner, C. Thalinger, D. Thuernbeck, P. Tomsich, C. Ullrich,
+ J. Wenninger, Institut f. Computersprachen - TU Wien
This file is part of CACAO.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
- 02111-1307, USA.
+ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+ 02110-1301, USA.
- Contact: cacao@complang.tuwien.ac.at
+ Contact: cacao@cacaojvm.org
Authors: Christian Thalinger
Changes:
- $Id: abi.h 3912 2005-12-08 14:35:18Z twisti $
+ $Id: abi.h 5079 2006-07-06 11:36:01Z twisti $
*/
#ifndef _ABI_H
#define _ABI_H
-/* some count defines for asmpart.S *******************************************/
+#include "config.h"
+#include "vm/types.h"
-#define SAV_CNT (INT_SAV_CNT + FLT_SAV_CNT)
-#define ARG_CNT (INT_ARG_CNT + FLT_ARG_CNT)
-#define TMP_CNT (INT_TMP_CNT + FLT_TMP_CNT)
+#include "vm/jit/abi-asm.h"
+
+
+/* ABI externs ****************************************************************/
+
+extern s4 nregdescint[];
+extern char *regs[];
+extern s4 nregdescfloat[];
+
+
+/* function prototypes ********************************************************/
+
+/* machine dependent return value handling function */
+void md_return_alloc(jitdata *jd, stackptr stackslot);
#endif /* _ABI_H */