Update of /cvsroot/hppaqemu/hppaqemu/target-hppa
In directory sc8-pr-cvs17.sourceforge.net:/tmp/cvs-serv7181
Modified Files:
cpu.h
Log Message:
Define TARGET_LONG_BITS to 64 for TARGET_HPPA64.
Index: cpu.h
===================================================================
RCS file: /cvsroot/hppaqemu/hppaqemu/target-hppa/cpu.h,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- cpu.h 18 Feb 2008 05:24:54 -0000 1.8
+++ cpu.h 18 Feb 2008 15:10:17 -0000 1.9
@@ -23,7 +23,12 @@
#include "config.h"
+#if !defined(TARGET_HPPA64)
#define TARGET_LONG_BITS 32
+#else
+#define TARGET_LONG_BITS 64
+#endif
+
#include "cpu-defs.h"
#include <setjmp.h>
@@ -161,7 +166,7 @@
#include "cpu-all.h"
-CPUHPPAState *cpu_hppa_init(const char *model);
+CPUHPPAState *cpu_hppa_init(const char *cpu_model);
int cpu_hppa_exec(CPUHPPAState *s);
#endif
|