[Qemu-devel] qemu linux-user/main.c target-sparc/cpu.h targe...

2008-03-05 Thread Blue Swirl
CVSROOT:/cvsroot/qemu
Module name:qemu
Changes by: Blue Swirl blueswir1  08/03/05 17:59:49

Modified files:
linux-user : main.c 
target-sparc   : cpu.h op.c op_helper.c translate.c 

Log message:
 Convert Sparc64 trap state ops to TCG

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/qemu/linux-user/main.c?cvsroot=qemur1=1.162r2=1.163
http://cvs.savannah.gnu.org/viewcvs/qemu/target-sparc/cpu.h?cvsroot=qemur1=1.64r2=1.65
http://cvs.savannah.gnu.org/viewcvs/qemu/target-sparc/op.c?cvsroot=qemur1=1.52r2=1.53
http://cvs.savannah.gnu.org/viewcvs/qemu/target-sparc/op_helper.c?cvsroot=qemur1=1.68r2=1.69
http://cvs.savannah.gnu.org/viewcvs/qemu/target-sparc/translate.c?cvsroot=qemur1=1.95r2=1.96




[Qemu-devel] qemu/linux-user main.c

2008-01-08 Thread Thiemo Seufer
CVSROOT:/sources/qemu
Module name:qemu
Changes by: Thiemo Seufer ths 08/01/08 14:39:44

Modified files:
linux-user : main.c 

Log message:
Fix section switching buglet, by Edgar E. Iglesias.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/qemu/linux-user/main.c?cvsroot=qemur1=1.159r2=1.160




[Qemu-devel] qemu linux-user/main.c linux-user/signal.c linu...

2007-12-01 Thread Thiemo Seufer
CVSROOT:/sources/qemu
Module name:qemu
Changes by: Thiemo Seufer ths 07/12/02 06:31:25

Modified files:
linux-user : main.c signal.c 
linux-user/sh4 : target_signal.h 
target-sh4 : helper.c 

Log message:
SH4: Signal handling for the user space emulator, by Magnus Damm.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/qemu/linux-user/main.c?cvsroot=qemur1=1.156r2=1.157
http://cvs.savannah.gnu.org/viewcvs/qemu/linux-user/signal.c?cvsroot=qemur1=1.54r2=1.55
http://cvs.savannah.gnu.org/viewcvs/qemu/linux-user/sh4/target_signal.h?cvsroot=qemur1=1.2r2=1.3
http://cvs.savannah.gnu.org/viewcvs/qemu/target-sh4/helper.c?cvsroot=qemur1=1.6r2=1.7




[Qemu-devel] qemu/linux-user main.c

2007-11-20 Thread Thiemo Seufer
CVSROOT:/sources/qemu
Module name:qemu
Changes by: Thiemo Seufer ths 07/11/20 15:22:45

Modified files:
linux-user : main.c 

Log message:
SH4 Fix missing 6th arg of syscall, by takasi-y.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/qemu/linux-user/main.c?cvsroot=qemur1=1.155r2=1.156




[Qemu-devel] qemu/linux-user main.c

2007-11-15 Thread Fabrice Bellard
CVSROOT:/sources/qemu
Module name:qemu
Changes by: Fabrice Bellard bellard   07/11/15 15:27:03

Modified files:
linux-user : main.c 

Log message:
x86_64 fixes

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/qemu/linux-user/main.c?cvsroot=qemur1=1.151r2=1.152




[Qemu-devel] qemu/linux-user main.c

2007-11-15 Thread Fabrice Bellard
CVSROOT:/sources/qemu
Module name:qemu
Changes by: Fabrice Bellard bellard   07/11/15 15:37:50

Modified files:
linux-user : main.c 

Log message:
force correct ppc64 cpu

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/qemu/linux-user/main.c?cvsroot=qemur1=1.152r2=1.153




[Qemu-devel] qemu/linux-user main.c syscall.c i386/syscall.h...

2007-11-14 Thread Fabrice Bellard
CVSROOT:/sources/qemu
Module name:qemu
Changes by: Fabrice Bellard bellard   07/11/14 15:18:40

Modified files:
linux-user : main.c syscall.c 
linux-user/i386: syscall.h 
linux-user/x86_64: syscall.h 

Log message:
i386 TLS support

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/qemu/linux-user/main.c?cvsroot=qemur1=1.149r2=1.150
http://cvs.savannah.gnu.org/viewcvs/qemu/linux-user/syscall.c?cvsroot=qemur1=1.150r2=1.151
http://cvs.savannah.gnu.org/viewcvs/qemu/linux-user/i386/syscall.h?cvsroot=qemur1=1.4r2=1.5
http://cvs.savannah.gnu.org/viewcvs/qemu/linux-user/x86_64/syscall.h?cvsroot=qemur1=1.2r2=1.3




[Qemu-devel] qemu linux-user/main.c linux-user/syscall.c lin...

2007-11-14 Thread Fabrice Bellard
CVSROOT:/sources/qemu
Module name:qemu
Changes by: Fabrice Bellard bellard   07/11/14 18:08:56

Modified files:
linux-user : main.c syscall.c syscall_defs.h 
linux-user/x86_64: syscall.h 
target-i386: cpu.h helper.c 

Log message:
x86_64 linux user emulation

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/qemu/linux-user/main.c?cvsroot=qemur1=1.150r2=1.151
http://cvs.savannah.gnu.org/viewcvs/qemu/linux-user/syscall.c?cvsroot=qemur1=1.151r2=1.152
http://cvs.savannah.gnu.org/viewcvs/qemu/linux-user/syscall_defs.h?cvsroot=qemur1=1.45r2=1.46
http://cvs.savannah.gnu.org/viewcvs/qemu/linux-user/x86_64/syscall.h?cvsroot=qemur1=1.3r2=1.4
http://cvs.savannah.gnu.org/viewcvs/qemu/target-i386/cpu.h?cvsroot=qemur1=1.55r2=1.56
http://cvs.savannah.gnu.org/viewcvs/qemu/target-i386/helper.c?cvsroot=qemur1=1.93r2=1.94




[Qemu-devel] qemu/linux-user main.c

2007-11-11 Thread Fabrice Bellard
CVSROOT:/sources/qemu
Module name:qemu
Changes by: Fabrice Bellard bellard   07/11/11 14:46:06

Modified files:
linux-user : main.c 

Log message:
-strace option

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/qemu/linux-user/main.c?cvsroot=qemur1=1.145r2=1.146




[Qemu-devel] qemu/linux-user main.c

2007-11-11 Thread Fabrice Bellard
CVSROOT:/sources/qemu
Module name:qemu
Changes by: Fabrice Bellard bellard   07/11/11 17:22:48

Modified files:
linux-user : main.c 

Log message:
printf format fixes

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/qemu/linux-user/main.c?cvsroot=qemur1=1.146r2=1.147




[Qemu-devel] qemu/linux-user main.c

2007-11-11 Thread Fabrice Bellard
CVSROOT:/sources/qemu
Module name:qemu
Changes by: Fabrice Bellard bellard   07/11/11 19:32:53

Modified files:
linux-user : main.c 

Log message:
sparc64_[get|set]_context are not meaningful in abi32 mode 

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/qemu/linux-user/main.c?cvsroot=qemur1=1.147r2=1.148




[Qemu-devel] qemu/linux-user main.c

2007-11-08 Thread Fabrice Bellard
CVSROOT:/sources/qemu
Module name:qemu
Changes by: Fabrice Bellard bellard   07/11/08 13:56:19

Modified files:
linux-user : main.c 

Log message:
added -cpu option for x86 - fixed glibc hack in case the global 
variables are moved

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/qemu/linux-user/main.c?cvsroot=qemur1=1.140r2=1.141




[Qemu-devel] qemu/linux-user main.c

2007-11-08 Thread Fabrice Bellard
CVSROOT:/sources/qemu
Module name:qemu
Changes by: Fabrice Bellard bellard   07/11/08 14:01:49

Modified files:
linux-user : main.c 

Log message:
removed unused code

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/qemu/linux-user/main.c?cvsroot=qemur1=1.141r2=1.142




[Qemu-devel] qemu/linux-user main.c

2007-11-03 Thread Jocelyn Mayer
CVSROOT:/sources/qemu
Module name:qemu
Changes by: Jocelyn Mayer j_mayer 07/11/03 13:22:08

Modified files:
linux-user : main.c 

Log message:
Fix incorrect PowerPC instruction fetch exception dump.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/qemu/linux-user/main.c?cvsroot=qemur1=1.139r2=1.140




[Qemu-devel] qemu/linux-user main.c qemu.h

2007-10-07 Thread Jocelyn Mayer
CVSROOT:/sources/qemu
Module name:qemu
Changes by: Jocelyn Mayer j_mayer 07/10/07 16:06:13

Modified files:
linux-user : main.c qemu.h 

Log message:
Fix host and target longs confusions (continued).

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/qemu/linux-user/main.c?cvsroot=qemur1=1.128r2=1.129
http://cvs.savannah.gnu.org/viewcvs/qemu/linux-user/qemu.h?cvsroot=qemur1=1.38r2=1.39




[Qemu-devel] qemu/linux-user main.c qemu.h signal.c

2007-10-05 Thread Blue Swirl
CVSROOT:/cvsroot/qemu
Module name:qemu
Changes by: Blue Swirl blueswir1  07/10/05 17:01:51

Modified files:
linux-user : main.c qemu.h signal.c 

Log message:
 Implement sparc64_[gs]et_context

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/qemu/linux-user/main.c?cvsroot=qemur1=1.127r2=1.128
http://cvs.savannah.gnu.org/viewcvs/qemu/linux-user/qemu.h?cvsroot=qemur1=1.37r2=1.38
http://cvs.savannah.gnu.org/viewcvs/qemu/linux-user/signal.c?cvsroot=qemur1=1.44r2=1.45




[Qemu-devel] qemu/linux-user main.c

2007-07-07 Thread Blue Swirl
CVSROOT:/cvsroot/qemu
Module name:qemu
Changes by: Blue Swirl blueswir1  07/07/07 20:46:41

Modified files:
linux-user : main.c 

Log message:
 Deliver page faults to program

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/qemu/linux-user/main.c?cvsroot=qemur1=1.117r2=1.118




[Qemu-devel] qemu/linux-user main.c

2007-06-17 Thread Thiemo Seufer
CVSROOT:/sources/qemu
Module name:qemu
Changes by: Thiemo Seufer ths 07/06/17 16:38:40

Modified files:
linux-user : main.c 

Log message:
Option to drop LD_PRELOAD from emulated environment, by Lauri Leukkunen.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/qemu/linux-user/main.c?cvsroot=qemur1=1.114r2=1.115




[Qemu-devel] qemu/linux-user main.c

2007-06-01 Thread Thiemo Seufer
CVSROOT:/sources/qemu
Module name:qemu
Changes by: Thiemo Seufer ths 07/06/01 23:50:45

Modified files:
linux-user : main.c 

Log message:
Delete leftover Status FPU flag check.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/qemu/linux-user/main.c?cvsroot=qemur1=1.113r2=1.114




[Qemu-devel] qemu/linux-user main.c

2007-04-08 Thread Blue Swirl

CVSROOT:/cvsroot/qemu
Module name:qemu
Changes by: Blue Swirl blueswir107/04/08 06:29:06

Modified files:
linux-user : main.c

Log message:
Sparc32/64 CPU selection for user emulator

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/qemu/linux-user/main.c?cvsroot=qemur1=1.106r2=1.107

_
Express yourself instantly with MSN Messenger! Download today it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/






[Qemu-devel] qemu/linux-user main.c

2007-03-19 Thread Jocelyn Mayer
CVSROOT:/sources/qemu
Module name:qemu
Changes by: Jocelyn Mayer j_mayer 07/03/19 08:08:28

Modified files:
linux-user : main.c 

Log message:
Add -cpu option for linux user emulation.
Only usable for PowerPC and ARM for now.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/qemu/linux-user/main.c?cvsroot=qemur1=1.102r2=1.103


___
Qemu-devel mailing list
Qemu-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/qemu-devel


[Qemu-devel] qemu/linux-user main.c

2007-03-19 Thread Thiemo Seufer
CVSROOT:/sources/qemu
Module name:qemu
Changes by: Thiemo Seufer ths 07/03/19 12:16:29

Modified files:
linux-user : main.c 

Log message:
Support -cpu selection for mips usermode emulation. Fix segfault when
dispaying the -cpu list help.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/qemu/linux-user/main.c?cvsroot=qemur1=1.103r2=1.104


___
Qemu-devel mailing list
Qemu-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/qemu-devel


Re: [Qemu-devel] qemu/linux-user main.c

2007-03-19 Thread J. Mayer
On Mon, 2007-03-19 at 12:16 +, Thiemo Seufer wrote:
 CVSROOT:  /sources/qemu
 Module name:  qemu
 Changes by:   Thiemo Seufer ths 07/03/19 12:16:29
 
 Modified files:
   linux-user : main.c 
 
 Log message:
   Support -cpu selection for mips usermode emulation. Fix segfault when
   dispaying the -cpu list help.

Could you tell more about the segfault ?
exit is used at many other places without any problem and furthermore I
did not experiment any crash while testing the PowerPC target with the
initial patch, so ? (I'd really like to understand...)

-- 
J. Mayer [EMAIL PROTECTED]
Never organized



___
Qemu-devel mailing list
Qemu-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/qemu-devel


Re: [Qemu-devel] qemu/linux-user main.c

2007-03-19 Thread Thiemo Seufer
J. Mayer wrote:
 On Mon, 2007-03-19 at 12:16 +, Thiemo Seufer wrote:
  CVSROOT:/sources/qemu
  Module name:qemu
  Changes by: Thiemo Seufer ths 07/03/19 12:16:29
  
  Modified files:
  linux-user : main.c 
  
  Log message:
  Support -cpu selection for mips usermode emulation. Fix segfault when
  dispaying the -cpu list help.
 
 Could you tell more about the segfault ?

It segfaulted for me (on ppc/linux) after printing the help list.

 exit is used at many other places without any problem and furthermore I
 did not experiment any crash while testing the PowerPC target with the
 initial patch, so ? (I'd really like to understand...)

I didn't really debug it, but I noticed the other branch in the
conditional uses _exit() instead of exit(). With that change, the
segfault disappeared. I figure we have an atexit/on_exit call somwhere
which tries to use data which isn't initialized at that point.


Thiemo


___
Qemu-devel mailing list
Qemu-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/qemu-devel


Re: [Qemu-devel] qemu/linux-user main.c

2007-03-19 Thread Pierre Palatin
On Monday 19 March 2007 21:13:12 Thiemo Seufer wrote:
 J. Mayer wrote:
  On Mon, 2007-03-19 at 12:16 +, Thiemo Seufer wrote:
   CVSROOT:  /sources/qemu
   Module name:  qemu
   Changes by:   Thiemo Seufer ths 07/03/19 12:16:29
  
   Modified files:
 linux-user : main.c
  
   Log message:
 Support -cpu selection for mips usermode emulation. Fix segfault when
 dispaying the -cpu list help.
 
  Could you tell more about the segfault ?

 It segfaulted for me (on ppc/linux) after printing the help list.

  exit is used at many other places without any problem and furthermore I
  did not experiment any crash while testing the PowerPC target with the
  initial patch, so ? (I'd really like to understand...)

 I didn't really debug it, but I noticed the other branch in the
 conditional uses _exit() instead of exit(). With that change, the
 segfault disappeared. I figure we have an atexit/on_exit call somwhere
 which tries to use data which isn't initialized at that point.

Maybe that's related to the problem i've got (in 
http://lists.gnu.org/archive/html/qemu-devel/2007-03/msg00110.html ).
There is some piece of code in main.c which mess around libc initialization  
exit and were making my qemu-i386 segfault really early. It seems it was 
designed to avoid a bug in some versions of glibc.
I attach the simple patch I've made to avoid that. 
It may need adjustements since I don't know enough about libc internals on 
initialization to be sure that's the correct fix - I would be deeply 
interested in some input/comments on this problem.

Pierre Palatin
Index: linux-user/main.c
===
--- linux-user/main.c	(révision 527)
+++ linux-user/main.c	(copie de travail)
@@ -44,7 +44,7 @@
 
 /* for recent libc, we add these dummy symbols which are not declared
when generating a linked object (bug in ld ?) */
-#if (__GLIBC__  2 || (__GLIBC__ == 2  __GLIBC_MINOR__ = 3))  !defined(CONFIG_STATIC)
+#if (__GLIBC__ == 2  __GLIBC_MINOR__ == 3)  !defined(CONFIG_STATIC)
 long __preinit_array_start[0];
 long __preinit_array_end[0];
 long __init_array_start[0];
___
Qemu-devel mailing list
Qemu-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/qemu-devel


Re: [Qemu-devel] qemu/linux-user main.c

2007-03-19 Thread Thiemo Seufer
Pierre Palatin wrote:
 On Monday 19 March 2007 21:13:12 Thiemo Seufer wrote:
  J. Mayer wrote:
   On Mon, 2007-03-19 at 12:16 +, Thiemo Seufer wrote:
CVSROOT:/sources/qemu
Module name:qemu
Changes by: Thiemo Seufer ths 07/03/19 12:16:29
   
Modified files:
linux-user : main.c
   
Log message:
Support -cpu selection for mips usermode emulation. Fix 
segfault when
dispaying the -cpu list help.
  
   Could you tell more about the segfault ?
 
  It segfaulted for me (on ppc/linux) after printing the help list.
 
   exit is used at many other places without any problem and furthermore I
   did not experiment any crash while testing the PowerPC target with the
   initial patch, so ? (I'd really like to understand...)
 
  I didn't really debug it, but I noticed the other branch in the
  conditional uses _exit() instead of exit(). With that change, the
  segfault disappeared. I figure we have an atexit/on_exit call somwhere
  which tries to use data which isn't initialized at that point.
 
 Maybe that's related to the problem i've got (in 
 http://lists.gnu.org/archive/html/qemu-devel/2007-03/msg00110.html ).

 There is some piece of code in main.c which mess around libc initialization  
 exit and were making my qemu-i386 segfault really early. It seems it was 
 designed to avoid a bug in some versions of glibc.
 I attach the simple patch I've made to avoid that. 
 It may need adjustements since I don't know enough about libc internals on 
 initialization to be sure that's the correct fix - I would be deeply 
 interested in some input/comments on this problem.
 
 Pierre Palatin

 Index: linux-user/main.c
 ===
 --- linux-user/main.c (révision 527)
 +++ linux-user/main.c (copie de travail)
 @@ -44,7 +44,7 @@
  
  /* for recent libc, we add these dummy symbols which are not declared
 when generating a linked object (bug in ld ?) */
 -#if (__GLIBC__  2 || (__GLIBC__ == 2  __GLIBC_MINOR__ = 3))  
 !defined(CONFIG_STATIC)
 +#if (__GLIBC__ == 2  __GLIBC_MINOR__ == 3)  !defined(CONFIG_STATIC)
  long __preinit_array_start[0];
  long __preinit_array_end[0];
  long __init_array_start[0];

binutils' ld had a bug a while ago, this looks like a workaround for it
(which means the check for glibc is wrong, and there's no easy way to
do it right).

Commenting out that code made no difference to me.


Thiemo


___
Qemu-devel mailing list
Qemu-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/qemu-devel


[Qemu-devel] qemu/linux-user main.c syscall.c

2006-06-21 Thread Fabrice Bellard
CVSROOT:/sources/qemu
Module name:qemu
Changes by: Fabrice Bellard bellard   06/06/21 18:15:50

Modified files:
linux-user : main.c syscall.c 

Log message:
sparc user fixes (Blue Swirl)

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/qemu/linux-user/main.c?cvsroot=qemur1=1.88r2=1.89
http://cvs.savannah.gnu.org/viewcvs/qemu/linux-user/syscall.c?cvsroot=qemur1=1.72r2=1.73

Patches:
Index: main.c
===
RCS file: /sources/qemu/qemu/linux-user/main.c,v
retrieving revision 1.88
retrieving revision 1.89
diff -u -b -r1.88 -r1.89
--- main.c  18 Jun 2006 19:12:54 -  1.88
+++ main.c  21 Jun 2006 18:15:50 -  1.89
@@ -598,7 +598,8 @@
 #else
// XXX
 #endif
-   case 0x100: // XXX, why do we get these?
+case EXCP_INTERRUPT:
+/* just indicate that signals should be handled asap */
break;
 case EXCP_DEBUG:
 {

Index: syscall.c
===
RCS file: /sources/qemu/qemu/linux-user/syscall.c,v
retrieving revision 1.72
retrieving revision 1.73
diff -u -b -r1.72 -r1.73
--- syscall.c   14 Jun 2006 13:36:59 -  1.72
+++ syscall.c   21 Jun 2006 18:15:50 -  1.73
@@ -1538,6 +1538,11 @@
 new_env-regs[13] = newsp;
 new_env-regs[0] = 0;
 #elif defined(TARGET_SPARC)
+if (!newsp)
+newsp = env-regwptr[22];
+new_env-regwptr[22] = newsp;
+new_env-regwptr[0] = 0;
+   /* X */
 printf (HELPME: %s:%d\n, __FILE__, __LINE__);
 #elif defined(TARGET_MIPS)
 printf (HELPME: %s:%d\n, __FILE__, __LINE__);
@@ -3598,10 +3603,14 @@
 case TARGET_NR_get_thread_area:
 goto unimplemented_nowarn;
 #endif
+#ifdef TARGET_NR_getdomainname
+case TARGET_NR_getdomainname:
+goto unimplemented_nowarn;
+#endif
 default:
 unimplemented:
 gemu_log(qemu: Unsupported syscall: %d\n, num);
-#if defined(TARGET_NR_setxattr) || defined(TARGET_NR_set_thread_area)
+#if defined(TARGET_NR_setxattr) || defined(TARGET_NR_set_thread_area) || 
defined(TARGET_NR_getdomainname)
 unimplemented_nowarn:
 #endif
 ret = -ENOSYS;


___
Qemu-devel mailing list
Qemu-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/qemu-devel


[Qemu-devel] qemu/linux-user main.c

2006-06-14 Thread Fabrice Bellard
CVSROOT:/sources/qemu
Module name:qemu
Changes by: Fabrice Bellard bellard   06/06/14 13:37:55

Modified files:
linux-user : main.c 

Log message:
MIPS FPU support in linux user emulation

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/qemu/linux-user/main.c?cvsroot=qemur1=1.84r2=1.85

Patches:
Index: main.c
===
RCS file: /sources/qemu/qemu/linux-user/main.c,v
retrieving revision 1.84
retrieving revision 1.85
diff -u -b -r1.84 -r1.85
--- main.c  11 Jun 2006 13:32:59 -  1.84
+++ main.c  14 Jun 2006 13:37:55 -  1.85
@@ -1327,7 +1327,6 @@
  arg5, 
  arg6);
 }
-fail:
 env-PC += 4;
 if ((unsigned int)ret = (unsigned int)(-1133)) {
 env-gpr[7] = 1; /* error flag */
@@ -1342,40 +1341,11 @@
 break;
 case EXCP_CpU:
 case EXCP_RI:
-{
-uint32_t insn, op;
-
-insn = tget32(env-PC);
-op = insn  26;
-//printf(insn=%08x op=%02x\n, insn, op);
-/* XXX: totally dummy FP ops just to be able to launch
-   a few executables */
-switch(op) {
-case 0x31: /* LWC1 */
-env-PC += 4;
-break;
-case 0x39: /* SWC1 */
-env-PC += 4;
-break;
-case 0x11:
-switch((insn  21)  0x1f) {
-case 0x02: /* CFC1 */
-env-PC += 4;
-break;
-default:
-goto sigill;
-}
-break;
-default:
-sigill:
 info.si_signo = TARGET_SIGILL;
 info.si_errno = 0;
 info.si_code = 0;
 queue_signal(info.si_signo, info);
 break;
-}
-}
-break;
 default:
 //error:
 fprintf(stderr, qemu: unhandled CPU exception 0x%x - aborting\n, 
@@ -1700,6 +1670,9 @@
 env-gpr[i] = regs-regs[i];
 }
 env-PC = regs-cp0_epc;
+#ifdef MIPS_USES_FPU
+env-CP0_Status |= (1  CP0St_CU1);
+#endif
 }
 #elif defined(TARGET_SH4)
 {


___
Qemu-devel mailing list
Qemu-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/qemu-devel


[Qemu-devel] qemu linux-user/main.c target-arm/nwfpe/fpa11.c...

2006-03-11 Thread Paul Brook
CVSROOT:/sources/qemu
Module name:qemu
Branch: 
Changes by: Paul Brook [EMAIL PROTECTED]  06/03/11 21:03:16

Modified files:
linux-user : main.c 
target-arm/nwfpe: fpa11.c fpa11.h 

Log message:
Fix FPA condition codes (Ulrich Hecht).

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/qemu/qemu/linux-user/main.c.diff?tr1=1.79tr2=1.80r1=textr2=text
http://cvs.savannah.gnu.org/viewcvs/qemu/qemu/target-arm/nwfpe/fpa11.c.diff?tr1=1.2tr2=1.3r1=textr2=text
http://cvs.savannah.gnu.org/viewcvs/qemu/qemu/target-arm/nwfpe/fpa11.h.diff?tr1=1.3tr2=1.4r1=textr2=text


___
Qemu-devel mailing list
Qemu-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/qemu-devel


[Qemu-devel] qemu/linux-user main.c

2005-12-05 Thread Fabrice Bellard
CVSROOT:/cvsroot/qemu
Module name:qemu
Branch: 
Changes by: Fabrice Bellard [EMAIL PROTECTED] 05/12/05 21:04:25

Modified files:
linux-user : main.c 

Log message:
handle coprocessor exceptions

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/qemu/qemu/linux-user/main.c.diff?tr1=1.75tr2=1.76r1=textr2=text



___
Qemu-devel mailing list
Qemu-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/qemu-devel


[Qemu-devel] qemu/linux-user main.c

2005-11-21 Thread Fabrice Bellard
CVSROOT:/cvsroot/qemu
Module name:qemu
Branch: 
Changes by: Fabrice Bellard [EMAIL PROTECTED] 05/11/21 23:30:27

Modified files:
linux-user : main.c 

Log message:
cpu_single_env usage fix

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/qemu/qemu/linux-user/main.c.diff?tr1=1.71tr2=1.72r1=textr2=text



___
Qemu-devel mailing list
Qemu-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/qemu-devel


[Qemu-devel] qemu/linux-user main.c

2005-10-30 Thread Fabrice Bellard
CVSROOT:/cvsroot/qemu
Module name:qemu
Branch: 
Changes by: Fabrice Bellard [EMAIL PROTECTED] 05/10/30 21:01:05

Modified files:
linux-user : main.c 

Log message:
User-mode gdbserver port number (Paul Brook)

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/qemu/qemu/linux-user/main.c.diff?tr1=1.70tr2=1.71r1=textr2=text



___
Qemu-devel mailing list
Qemu-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/qemu-devel