* [Qemu-devel] qemu/linux-user main.c
@ 2005-12-05 21:04 Fabrice Bellard
0 siblings, 0 replies; 34+ messages in thread
From: Fabrice Bellard @ 2005-12-05 21:04 UTC (permalink / raw)
To: qemu-devel
CVSROOT: /cvsroot/qemu
Module name: qemu
Branch:
Changes by: Fabrice Bellard <bellard@savannah.gnu.org> 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.75&tr2=1.76&r1=text&r2=text
^ permalink raw reply [flat|nested] 34+ messages in thread
* [Qemu-devel] qemu/linux-user main.c
@ 2008-03-26 22:40 Paul Brook
0 siblings, 0 replies; 34+ messages in thread
From: Paul Brook @ 2008-03-26 22:40 UTC (permalink / raw)
To: qemu-devel
CVSROOT: /sources/qemu
Module name: qemu
Changes by: Paul Brook <pbrook> 08/03/26 22:40:25
Modified files:
linux-user : main.c
Log message:
Revert accidental commit.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/qemu/linux-user/main.c?cvsroot=qemu&r1=1.165&r2=1.166
^ permalink raw reply [flat|nested] 34+ messages in thread
* [Qemu-devel] qemu/linux-user main.c
@ 2008-01-08 14:39 Thiemo Seufer
0 siblings, 0 replies; 34+ messages in thread
From: Thiemo Seufer @ 2008-01-08 14:39 UTC (permalink / raw)
To: qemu-devel
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=qemu&r1=1.159&r2=1.160
^ permalink raw reply [flat|nested] 34+ messages in thread
* [Qemu-devel] qemu/linux-user main.c
@ 2007-11-20 15:22 Thiemo Seufer
0 siblings, 0 replies; 34+ messages in thread
From: Thiemo Seufer @ 2007-11-20 15:22 UTC (permalink / raw)
To: qemu-devel
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=qemu&r1=1.155&r2=1.156
^ permalink raw reply [flat|nested] 34+ messages in thread
* [Qemu-devel] qemu/linux-user main.c
@ 2007-11-15 15:37 Fabrice Bellard
0 siblings, 0 replies; 34+ messages in thread
From: Fabrice Bellard @ 2007-11-15 15:37 UTC (permalink / raw)
To: qemu-devel
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=qemu&r1=1.152&r2=1.153
^ permalink raw reply [flat|nested] 34+ messages in thread
* [Qemu-devel] qemu/linux-user main.c
@ 2007-11-15 15:27 Fabrice Bellard
0 siblings, 0 replies; 34+ messages in thread
From: Fabrice Bellard @ 2007-11-15 15:27 UTC (permalink / raw)
To: qemu-devel
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=qemu&r1=1.151&r2=1.152
^ permalink raw reply [flat|nested] 34+ messages in thread
* [Qemu-devel] qemu/linux-user main.c
@ 2007-11-11 19:32 Fabrice Bellard
0 siblings, 0 replies; 34+ messages in thread
From: Fabrice Bellard @ 2007-11-11 19:32 UTC (permalink / raw)
To: qemu-devel
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=qemu&r1=1.147&r2=1.148
^ permalink raw reply [flat|nested] 34+ messages in thread
* [Qemu-devel] qemu/linux-user main.c
@ 2007-11-11 17:22 Fabrice Bellard
0 siblings, 0 replies; 34+ messages in thread
From: Fabrice Bellard @ 2007-11-11 17:22 UTC (permalink / raw)
To: qemu-devel
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=qemu&r1=1.146&r2=1.147
^ permalink raw reply [flat|nested] 34+ messages in thread
* [Qemu-devel] qemu/linux-user main.c
@ 2007-11-11 14:46 Fabrice Bellard
0 siblings, 0 replies; 34+ messages in thread
From: Fabrice Bellard @ 2007-11-11 14:46 UTC (permalink / raw)
To: qemu-devel
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=qemu&r1=1.145&r2=1.146
^ permalink raw reply [flat|nested] 34+ messages in thread
* [Qemu-devel] qemu/linux-user main.c
@ 2007-11-08 14:01 Fabrice Bellard
0 siblings, 0 replies; 34+ messages in thread
From: Fabrice Bellard @ 2007-11-08 14:01 UTC (permalink / raw)
To: qemu-devel
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=qemu&r1=1.141&r2=1.142
^ permalink raw reply [flat|nested] 34+ messages in thread
* [Qemu-devel] qemu/linux-user main.c
@ 2007-11-08 13:56 Fabrice Bellard
0 siblings, 0 replies; 34+ messages in thread
From: Fabrice Bellard @ 2007-11-08 13:56 UTC (permalink / raw)
To: qemu-devel
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=qemu&r1=1.140&r2=1.141
^ permalink raw reply [flat|nested] 34+ messages in thread
* [Qemu-devel] qemu/linux-user main.c
@ 2007-11-03 13:22 Jocelyn Mayer
0 siblings, 0 replies; 34+ messages in thread
From: Jocelyn Mayer @ 2007-11-03 13:22 UTC (permalink / raw)
To: qemu-devel
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=qemu&r1=1.139&r2=1.140
^ permalink raw reply [flat|nested] 34+ messages in thread
* [Qemu-devel] qemu/linux-user main.c
@ 2007-07-07 20:46 Blue Swirl
0 siblings, 0 replies; 34+ messages in thread
From: Blue Swirl @ 2007-07-07 20:46 UTC (permalink / raw)
To: qemu-devel
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=qemu&r1=1.117&r2=1.118
^ permalink raw reply [flat|nested] 34+ messages in thread
* [Qemu-devel] qemu/linux-user main.c
@ 2007-06-27 11:12 Thiemo Seufer
0 siblings, 0 replies; 34+ messages in thread
From: Thiemo Seufer @ 2007-06-27 11:12 UTC (permalink / raw)
To: qemu-devel
CVSROOT: /sources/qemu
Module name: qemu
Changes by: Thiemo Seufer <ths> 07/06/27 11:12:42
Modified files:
linux-user : main.c
Log message:
Fix environ termination, by Andreas Schwab.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/qemu/linux-user/main.c?cvsroot=qemu&r1=1.116&r2=1.117
^ permalink raw reply [flat|nested] 34+ messages in thread
* [Qemu-devel] qemu/linux-user main.c
@ 2007-06-21 22:55 Thiemo Seufer
0 siblings, 0 replies; 34+ messages in thread
From: Thiemo Seufer @ 2007-06-21 22:55 UTC (permalink / raw)
To: qemu-devel
CVSROOT: /sources/qemu
Module name: qemu
Changes by: Thiemo Seufer <ths> 07/06/21 22:55:02
Modified files:
linux-user : main.c
Log message:
Hack to keep wine happy, by Alexander Graf.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/qemu/linux-user/main.c?cvsroot=qemu&r1=1.115&r2=1.116
^ permalink raw reply [flat|nested] 34+ messages in thread
* [Qemu-devel] qemu/linux-user main.c
@ 2007-06-17 16:38 Thiemo Seufer
0 siblings, 0 replies; 34+ messages in thread
From: Thiemo Seufer @ 2007-06-17 16:38 UTC (permalink / raw)
To: qemu-devel
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=qemu&r1=1.114&r2=1.115
^ permalink raw reply [flat|nested] 34+ messages in thread
* [Qemu-devel] qemu/linux-user main.c
@ 2007-06-01 23:50 Thiemo Seufer
0 siblings, 0 replies; 34+ messages in thread
From: Thiemo Seufer @ 2007-06-01 23:50 UTC (permalink / raw)
To: qemu-devel
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=qemu&r1=1.113&r2=1.114
^ permalink raw reply [flat|nested] 34+ messages in thread
* [Qemu-devel] qemu/linux-user main.c
@ 2007-04-08 6:30 Blue Swirl
0 siblings, 0 replies; 34+ messages in thread
From: Blue Swirl @ 2007-04-08 6:30 UTC (permalink / raw)
To: qemu-devel
CVSROOT: /cvsroot/qemu
Module name: qemu
Changes by: Blue Swirl <blueswir1> 07/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=qemu&r1=1.106&r2=1.107
_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
^ permalink raw reply [flat|nested] 34+ messages in thread
* [Qemu-devel] qemu/linux-user main.c
@ 2007-03-19 12:16 Thiemo Seufer
2007-03-19 19:46 ` J. Mayer
0 siblings, 1 reply; 34+ messages in thread
From: Thiemo Seufer @ 2007-03-19 12:16 UTC (permalink / raw)
To: qemu-devel
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=qemu&r1=1.103&r2=1.104
^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: [Qemu-devel] qemu/linux-user main.c
2007-03-19 12:16 Thiemo Seufer
@ 2007-03-19 19:46 ` J. Mayer
2007-03-19 20:13 ` Thiemo Seufer
0 siblings, 1 reply; 34+ messages in thread
From: J. Mayer @ 2007-03-19 19:46 UTC (permalink / raw)
To: qemu-devel
On Mon, 2007-03-19 at 12:16 +0000, 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 <l_indien@magic.fr>
Never organized
^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: [Qemu-devel] qemu/linux-user main.c
2007-03-19 19:46 ` J. Mayer
@ 2007-03-19 20:13 ` Thiemo Seufer
2007-03-19 20:46 ` Pierre Palatin
0 siblings, 1 reply; 34+ messages in thread
From: Thiemo Seufer @ 2007-03-19 20:13 UTC (permalink / raw)
To: J. Mayer; +Cc: qemu-devel
J. Mayer wrote:
> On Mon, 2007-03-19 at 12:16 +0000, 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
^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: [Qemu-devel] qemu/linux-user main.c
2007-03-19 20:13 ` Thiemo Seufer
@ 2007-03-19 20:46 ` Pierre Palatin
2007-03-19 21:10 ` Thiemo Seufer
0 siblings, 1 reply; 34+ messages in thread
From: Pierre Palatin @ 2007-03-19 20:46 UTC (permalink / raw)
To: qemu-devel
[-- Attachment #1: Type: text/plain, Size: 1634 bytes --]
On Monday 19 March 2007 21:13:12 Thiemo Seufer wrote:
> J. Mayer wrote:
> > On Mon, 2007-03-19 at 12:16 +0000, 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
[-- Attachment #2: init-segfault.patch --]
[-- Type: text/x-diff, Size: 584 bytes --]
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];
^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: [Qemu-devel] qemu/linux-user main.c
2007-03-19 20:46 ` Pierre Palatin
@ 2007-03-19 21:10 ` Thiemo Seufer
0 siblings, 0 replies; 34+ messages in thread
From: Thiemo Seufer @ 2007-03-19 21:10 UTC (permalink / raw)
To: Pierre Palatin; +Cc: qemu-devel
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 +0000, 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
^ permalink raw reply [flat|nested] 34+ messages in thread
* [Qemu-devel] qemu/linux-user main.c
@ 2007-03-19 8:08 Jocelyn Mayer
0 siblings, 0 replies; 34+ messages in thread
From: Jocelyn Mayer @ 2007-03-19 8:08 UTC (permalink / raw)
To: qemu-devel
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=qemu&r1=1.102&r2=1.103
^ permalink raw reply [flat|nested] 34+ messages in thread
* [Qemu-devel] qemu/linux-user main.c
@ 2006-11-04 16:46 Paul Brook
0 siblings, 0 replies; 34+ messages in thread
From: Paul Brook @ 2006-11-04 16:46 UTC (permalink / raw)
To: qemu-devel
CVSROOT: /sources/qemu
Module name: qemu
Changes by: Paul Brook <pbrook> 06/11/04 16:46:29
Modified files:
linux-user : main.c
Log message:
MIPS usermode debug exceptions (Dave Denholm).
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/qemu/linux-user/main.c?cvsroot=qemu&r1=1.95&r2=1.96
^ permalink raw reply [flat|nested] 34+ messages in thread
* [Qemu-devel] qemu/linux-user main.c
@ 2006-10-23 21:31 Fabrice Bellard
0 siblings, 0 replies; 34+ messages in thread
From: Fabrice Bellard @ 2006-10-23 21:31 UTC (permalink / raw)
To: qemu-devel
CVSROOT: /sources/qemu
Module name: qemu
Changes by: Fabrice Bellard <bellard> 06/10/23 21:31:01
Modified files:
linux-user : main.c
Log message:
sparc64 syscall fix (Blue Swirl)
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/qemu/linux-user/main.c?cvsroot=qemu&r1=1.94&r2=1.95
^ permalink raw reply [flat|nested] 34+ messages in thread
* [Qemu-devel] qemu/linux-user main.c
@ 2006-09-24 18:48 Fabrice Bellard
0 siblings, 0 replies; 34+ messages in thread
From: Fabrice Bellard @ 2006-09-24 18:48 UTC (permalink / raw)
To: qemu-devel
CVSROOT: /sources/qemu
Module name: qemu
Changes by: Fabrice Bellard <bellard> 06/09/24 18:48:23
Modified files:
linux-user : main.c
Log message:
added cpu_smm_update()
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/qemu/linux-user/main.c?cvsroot=qemu&r1=1.92&r2=1.93
^ permalink raw reply [flat|nested] 34+ messages in thread
* [Qemu-devel] qemu/linux-user main.c
@ 2006-06-14 13:37 Fabrice Bellard
0 siblings, 0 replies; 34+ messages in thread
From: Fabrice Bellard @ 2006-06-14 13:37 UTC (permalink / raw)
To: qemu-devel
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=qemu&r1=1.84&r2=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 -0000 1.84
+++ main.c 14 Jun 2006 13:37:55 -0000 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)
{
^ permalink raw reply [flat|nested] 34+ messages in thread
* [Qemu-devel] qemu/linux-user main.c
@ 2005-11-21 23:30 Fabrice Bellard
0 siblings, 0 replies; 34+ messages in thread
From: Fabrice Bellard @ 2005-11-21 23:30 UTC (permalink / raw)
To: qemu-devel
CVSROOT: /cvsroot/qemu
Module name: qemu
Branch:
Changes by: Fabrice Bellard <bellard@savannah.gnu.org> 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.71&tr2=1.72&r1=text&r2=text
^ permalink raw reply [flat|nested] 34+ messages in thread
* [Qemu-devel] qemu/linux-user main.c
@ 2005-10-30 21:01 Fabrice Bellard
0 siblings, 0 replies; 34+ messages in thread
From: Fabrice Bellard @ 2005-10-30 21:01 UTC (permalink / raw)
To: qemu-devel
CVSROOT: /cvsroot/qemu
Module name: qemu
Branch:
Changes by: Fabrice Bellard <bellard@savannah.gnu.org> 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.70&tr2=1.71&r1=text&r2=text
^ permalink raw reply [flat|nested] 34+ messages in thread
* [Qemu-devel] qemu/linux-user main.c
@ 2005-04-23 18:01 Fabrice Bellard
0 siblings, 0 replies; 34+ messages in thread
From: Fabrice Bellard @ 2005-04-23 18:01 UTC (permalink / raw)
To: qemu-devel
CVSROOT: /cvsroot/qemu
Module name: qemu
Branch:
Changes by: Fabrice Bellard <bellard@savannah.gnu.org> 05/04/23 18:01:57
Modified files:
linux-user : main.c
Log message:
ARM syscall fix (Paul Brook)
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/qemu/qemu/linux-user/main.c.diff?tr1=1.63&tr2=1.64&r1=text&r2=text
^ permalink raw reply [flat|nested] 34+ messages in thread
* [Qemu-devel] qemu/linux-user main.c
@ 2005-03-13 16:56 Fabrice Bellard
0 siblings, 0 replies; 34+ messages in thread
From: Fabrice Bellard @ 2005-03-13 16:56 UTC (permalink / raw)
To: qemu-devel
CVSROOT: /cvsroot/qemu
Module name: qemu
Branch:
Changes by: Fabrice Bellard <bellard@savannah.gnu.org> 05/03/13 16:56:51
Modified files:
linux-user : main.c
Log message:
fpu init fix
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/qemu/qemu/linux-user/main.c.diff?tr1=1.61&tr2=1.62&r1=text&r2=text
^ permalink raw reply [flat|nested] 34+ messages in thread
* [Qemu-devel] qemu/linux-user main.c
@ 2005-02-19 17:25 Fabrice Bellard
0 siblings, 0 replies; 34+ messages in thread
From: Fabrice Bellard @ 2005-02-19 17:25 UTC (permalink / raw)
To: qemu-devel
CVSROOT: /cvsroot/qemu
Module name: qemu
Branch:
Changes by: Fabrice Bellard <bellard@savannah.gnu.org> 05/02/19 17:25:31
Modified files:
linux-user : main.c
Log message:
fixed handling of sparc register window exceptions
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/qemu/qemu/linux-user/main.c.diff?tr1=1.60&tr2=1.61&r1=text&r2=text
^ permalink raw reply [flat|nested] 34+ messages in thread
* [Qemu-devel] qemu/linux-user main.c
@ 2005-02-15 22:54 Fabrice Bellard
0 siblings, 0 replies; 34+ messages in thread
From: Fabrice Bellard @ 2005-02-15 22:54 UTC (permalink / raw)
To: qemu-devel
CVSROOT: /cvsroot/qemu
Module name: qemu
Branch:
Changes by: Fabrice Bellard <bellard@savannah.gnu.org> 05/02/15 22:54:53
Modified files:
linux-user : main.c
Log message:
sparc sigsegv support
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/qemu/qemu/linux-user/main.c.diff?tr1=1.59&tr2=1.60&r1=text&r2=text
^ permalink raw reply [flat|nested] 34+ messages in thread
end of thread, other threads:[~2008-03-26 22:40 UTC | newest]
Thread overview: 34+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-12-05 21:04 [Qemu-devel] qemu/linux-user main.c Fabrice Bellard
-- strict thread matches above, loose matches on Subject: below --
2008-03-26 22:40 Paul Brook
2008-01-08 14:39 Thiemo Seufer
2007-11-20 15:22 Thiemo Seufer
2007-11-15 15:37 Fabrice Bellard
2007-11-15 15:27 Fabrice Bellard
2007-11-11 19:32 Fabrice Bellard
2007-11-11 17:22 Fabrice Bellard
2007-11-11 14:46 Fabrice Bellard
2007-11-08 14:01 Fabrice Bellard
2007-11-08 13:56 Fabrice Bellard
2007-11-03 13:22 Jocelyn Mayer
2007-07-07 20:46 Blue Swirl
2007-06-27 11:12 Thiemo Seufer
2007-06-21 22:55 Thiemo Seufer
2007-06-17 16:38 Thiemo Seufer
2007-06-01 23:50 Thiemo Seufer
2007-04-08 6:30 Blue Swirl
2007-03-19 12:16 Thiemo Seufer
2007-03-19 19:46 ` J. Mayer
2007-03-19 20:13 ` Thiemo Seufer
2007-03-19 20:46 ` Pierre Palatin
2007-03-19 21:10 ` Thiemo Seufer
2007-03-19 8:08 Jocelyn Mayer
2006-11-04 16:46 Paul Brook
2006-10-23 21:31 Fabrice Bellard
2006-09-24 18:48 Fabrice Bellard
2006-06-14 13:37 Fabrice Bellard
2005-11-21 23:30 Fabrice Bellard
2005-10-30 21:01 Fabrice Bellard
2005-04-23 18:01 Fabrice Bellard
2005-03-13 16:56 Fabrice Bellard
2005-02-19 17:25 Fabrice Bellard
2005-02-15 22:54 Fabrice Bellard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).