|
From: | Pierre d'Herbemont |
Subject: | Re: [Qemu-devel] /* XXX: suppress this hack */ |
Date: | Sat, 16 Oct 2004 19:21:57 +0200 |
Fabrice,It doesn't really works. With the current cvs version built on Mac OS X/PowerPC I am not able to run the freedos test image nor the linux-test. Commenting out the optional registers in dyngen-exec.h [1] makes qemu working again.
Unfortunately, I don't have time to debug more. Pierre. [1] --- dyngen-exec.h 12 Oct 2004 22:01:28 -0000 1.16 +++ dyngen-exec.h 16 Oct 2004 17:20:25 -0000 @@ -93,6 +93,7 @@ #define AREG1 "r24" #define AREG2 "r25" #define AREG3 "r26" +#ifdef __not_yet__ #define AREG4 "r16" #define AREG5 "r17" #define AREG6 "r18" @@ -101,6 +102,7 @@ #define AREG9 "r21" #define AREG10 "r22" #define AREG11 "r23" +#endif Le 13 oct. 04, à 00:03, Fabrice Bellard a écrit :
I commited a patch to fix the problem. Tell me if you see regressions in the PowerPC host case. The x86 emulation on PowerPC should be faster now.Fabrice. Johannes Schindelin wrote:Hi, On Mon, 11 Oct 2004, Johannes Schindelin wrote:I think I know why: the only calls made from this code (CONFIG_USER_ONLY) are syscalls. As these happen in the kernel, no registers of the normal user space are touched except for the return register, which is intendedHi, On Sun, 10 Oct 2004, Magnus Damm wrote:Yeah, registers "r3" to "r12" are "caller save", ie these registers mustbe saved before a function is called. But what about "r16" to "r23",these are currently only used when CONFIG_USER_ONLY is set - I thought that they were supposed to be saved by the called function prior use, "callee save". But how does that affect the softmmu code in a bad waybut the user code works? Any ideas?*scratcheshishead* I cannot think of one way that code should work in user mode... IMHO there is no protection to those registers when calling libcor a syscall.to be changed. Am I right? Ciao, Dscho _______________________________________________ Qemu-devel mailing list address@hidden http://lists.nongnu.org/mailman/listinfo/qemu-devel_______________________________________________ Qemu-devel mailing list address@hidden http://lists.nongnu.org/mailman/listinfo/qemu-devel
[Prev in Thread] | Current Thread | [Next in Thread] |