Contains data segment offsets.
authortwisti <none@none>
Mon, 6 Dec 2004 15:36:17 +0000 (15:36 +0000)
committertwisti <none@none>
Mon, 6 Dec 2004 15:36:17 +0000 (15:36 +0000)
src/vm/jit/powerpc/asmoffsets.h [new file with mode: 0644]

diff --git a/src/vm/jit/powerpc/asmoffsets.h b/src/vm/jit/powerpc/asmoffsets.h
new file mode 100644 (file)
index 0000000..0fdcdf7
--- /dev/null
@@ -0,0 +1,73 @@
+/* vm/jit/powerpc/asmoffsets.h - data segment offsets for PowerPC
+               
+   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
+   Institut f. Computersprachen, TU Wien
+   R. Grafl, A. Krall, C. Kruegel, C. Oates, R. Obermaisser, M. Probst,
+   S. Ring, E. Steiner, C. Thalinger, D. Thuernbeck, P. Tomsich,
+   J. Wenninger
+
+   This file is part of CACAO.
+
+   This program is free software.text;  you can redistribute it and/or
+   modify it under the terms of the GNU General Public License as
+   published by the Free Software Foundation;  either version 2, or (at
+   your option) any later version.
+
+   This program is distributed in the hope that it will be useful, but
+   WITHOUT ANY WARRANTY        ;  without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+   General Public License for more details.
+
+   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.
+
+   Contact: cacao@complang.tuwien.ac.at
+
+   Authors: Andreas Krall
+
+   Changes:
+
+   $Id: asmoffsets.h 1707 2004-12-06 15:36:17Z twisti $
+
+*/
+
+
+#ifndef _ASMOFFSETS_H
+#define _ASMOFFSETS_H
+
+/* data segment offsets *******************************************************/
+
+#define MethodPointer           -8
+#define FrameSize               -12
+#define IsSync                  -16
+#define IsLeaf                  -20
+#define IntSave                 -24
+#define FltSave                 -28
+#define LineNumberTableSize     0    /* XXX dummy entries */
+#define LineNumberTableStart    0    /* XXX dummy entries */
+#define ExTableSize             -32
+#define ExTableStart            -32
+
+#define ExEntrySize             -16
+#define ExStartPC               -4
+#define ExEndPC                 -8
+#define ExHandlerPC             -12
+#define ExCatchType             -16
+
+#endif /* _ASMOFFSETS_H */
+
+
+/*
+ * These are local overrides for various environment variables in Emacs.
+ * Please do not remove this and leave it at the end of the file, where
+ * Emacs will automagically detect them.
+ * ---------------------------------------------------------------------
+ * Local variables:
+ * mode: c
+ * indent-tabs-mode: t
+ * c-basic-offset: 4
+ * tab-width: 4
+ * End:
+ */