[Qemu-devel] qemu/target-ppc cpu.h exec.h helper.c op_helper...

2007-11-23 Thread Jocelyn Mayer
CVSROOT:/sources/qemu
Module name:qemu
Changes by: Jocelyn Mayer j_mayer 07/11/24 02:03:56

Modified files:
target-ppc : cpu.h exec.h helper.c op_helper.c translate.c 

Log message:
Fix incorrect debug prints (reported by Paul Brook).
Remove obsolete / duplicated debug prints and improve output 
consistency.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/qemu/target-ppc/cpu.h?cvsroot=qemur1=1.107r2=1.108
http://cvs.savannah.gnu.org/viewcvs/qemu/target-ppc/exec.h?cvsroot=qemur1=1.32r2=1.33
http://cvs.savannah.gnu.org/viewcvs/qemu/target-ppc/helper.c?cvsroot=qemur1=1.97r2=1.98
http://cvs.savannah.gnu.org/viewcvs/qemu/target-ppc/op_helper.c?cvsroot=qemur1=1.72r2=1.73
http://cvs.savannah.gnu.org/viewcvs/qemu/target-ppc/translate.c?cvsroot=qemur1=1.114r2=1.115




[Qemu-devel] qemu/target-ppc cpu.h exec.h

2007-11-14 Thread Jocelyn Mayer
CVSROOT:/sources/qemu
Module name:qemu
Changes by: Jocelyn Mayer j_mayer 07/11/14 18:45:53

Modified files:
target-ppc : cpu.h exec.h 

Log message:
Fix PowerPC targets compilation on 32 bits hosts:
now that the SPE extension is available for all targets,
 we always need to have some 64 bits temporary registers.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/qemu/target-ppc/cpu.h?cvsroot=qemur1=1.92r2=1.93
http://cvs.savannah.gnu.org/viewcvs/qemu/target-ppc/exec.h?cvsroot=qemur1=1.31r2=1.32




[Qemu-devel] qemu/target-ppc cpu.h exec.h helper.c op_helper...

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

Modified files:
target-ppc : cpu.h exec.h helper.c op_helper.c 
 translate_init.c 

Log message:
PowerPC MMU and exception fixes:
* PowerPC 601 (and probably POWER/POWER2) uses a different BAT format 
than
  later PowerPC implementation.
* Bugfix in BATs check: must not stop after 4 BATs when more are 
provided.
* Enable POWER 'rac' instruction.
* Fix exception prefix for all supported PowerPC implementations.
* Fix exceptions, MMU model and bus model for PowerPC 601  620.
* Enable PowerPC 620 as it could mostly boot a PreP target.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/qemu/target-ppc/cpu.h?cvsroot=qemur1=1.86r2=1.87
http://cvs.savannah.gnu.org/viewcvs/qemu/target-ppc/exec.h?cvsroot=qemur1=1.30r2=1.31
http://cvs.savannah.gnu.org/viewcvs/qemu/target-ppc/helper.c?cvsroot=qemur1=1.86r2=1.87
http://cvs.savannah.gnu.org/viewcvs/qemu/target-ppc/op_helper.c?cvsroot=qemur1=1.61r2=1.62
http://cvs.savannah.gnu.org/viewcvs/qemu/target-ppc/translate_init.c?cvsroot=qemur1=1.53r2=1.54




[Qemu-devel] qemu/target-ppc cpu.h exec.h op_mem.h op_templa...

2007-10-07 Thread Jocelyn Mayer
CVSROOT:/sources/qemu
Module name:qemu
Changes by: Jocelyn Mayer j_mayer 07/10/07 18:19:26

Modified files:
target-ppc : cpu.h exec.h op_mem.h op_template.h translate.c 

Log message:
Implement PowerPC Altivec load  stores, used by Apple firmware for 
memcpy.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/qemu/target-ppc/cpu.h?cvsroot=qemur1=1.76r2=1.77
http://cvs.savannah.gnu.org/viewcvs/qemu/target-ppc/exec.h?cvsroot=qemur1=1.27r2=1.28
http://cvs.savannah.gnu.org/viewcvs/qemu/target-ppc/op_mem.h?cvsroot=qemur1=1.21r2=1.22
http://cvs.savannah.gnu.org/viewcvs/qemu/target-ppc/op_template.h?cvsroot=qemur1=1.10r2=1.11
http://cvs.savannah.gnu.org/viewcvs/qemu/target-ppc/translate.c?cvsroot=qemur1=1.90r2=1.91




[Qemu-devel] qemu/target-ppc cpu.h exec.h helper.c op.c op_h...

2007-09-30 Thread Jocelyn Mayer
CVSROOT:/sources/qemu
Module name:qemu
Changes by: Jocelyn Mayer j_mayer 07/10/01 01:51:13

Modified files:
target-ppc : cpu.h exec.h helper.c op.c op_helper.c 
 translate.c 

Log message:
Avoid op helpers that would just call helpers for TLB  SLB management:
  call the helpers directly from the micro-ops.
Avoid duplicated code for tlbsx. implementation.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/qemu/target-ppc/cpu.h?cvsroot=qemur1=1.67r2=1.68
http://cvs.savannah.gnu.org/viewcvs/qemu/target-ppc/exec.h?cvsroot=qemur1=1.25r2=1.26
http://cvs.savannah.gnu.org/viewcvs/qemu/target-ppc/helper.c?cvsroot=qemur1=1.61r2=1.62
http://cvs.savannah.gnu.org/viewcvs/qemu/target-ppc/op.c?cvsroot=qemur1=1.49r2=1.50
http://cvs.savannah.gnu.org/viewcvs/qemu/target-ppc/op_helper.c?cvsroot=qemur1=1.45r2=1.46
http://cvs.savannah.gnu.org/viewcvs/qemu/target-ppc/translate.c?cvsroot=qemur1=1.79r2=1.80




[Qemu-devel] qemu/target-ppc cpu.h exec.h

2007-07-11 Thread Thiemo Seufer
CVSROOT:/sources/qemu
Module name:qemu
Changes by: Thiemo Seufer ths 07/07/11 10:36:47

Modified files:
target-ppc : cpu.h exec.h 

Log message:
Fix PPCEMB for 32bit hosts.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/qemu/target-ppc/cpu.h?cvsroot=qemur1=1.48r2=1.49
http://cvs.savannah.gnu.org/viewcvs/qemu/target-ppc/exec.h?cvsroot=qemur1=1.21r2=1.22




[Qemu-devel] qemu/target-ppc cpu.h exec.h op.c op_helper.c o...

2007-04-24 Thread Jocelyn Mayer
CVSROOT:/sources/qemu
Module name:qemu
Changes by: Jocelyn Mayer j_mayer 07/04/24 06:50:21

Modified files:
target-ppc : cpu.h exec.h op.c op_helper.c op_helper.h 
 op_mem.h op_template.h translate.c 

Log message:
Code provision for new PowerPC embedded target support with:
- 1 kB page size
- 64 bits GPR
- 64 bits physical address space
- SPE extension support.
Change TARGET_PPCSPE into TARGET_PPCEMB

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/qemu/target-ppc/cpu.h?cvsroot=qemur1=1.45r2=1.46
http://cvs.savannah.gnu.org/viewcvs/qemu/target-ppc/exec.h?cvsroot=qemur1=1.19r2=1.20
http://cvs.savannah.gnu.org/viewcvs/qemu/target-ppc/op.c?cvsroot=qemur1=1.35r2=1.36
http://cvs.savannah.gnu.org/viewcvs/qemu/target-ppc/op_helper.c?cvsroot=qemur1=1.30r2=1.31
http://cvs.savannah.gnu.org/viewcvs/qemu/target-ppc/op_helper.h?cvsroot=qemur1=1.9r2=1.10
http://cvs.savannah.gnu.org/viewcvs/qemu/target-ppc/op_mem.h?cvsroot=qemur1=1.12r2=1.13
http://cvs.savannah.gnu.org/viewcvs/qemu/target-ppc/op_template.h?cvsroot=qemur1=1.7r2=1.8
http://cvs.savannah.gnu.org/viewcvs/qemu/target-ppc/translate.c?cvsroot=qemur1=1.57r2=1.58




Re: [Qemu-devel] qemu/target-ppc cpu.h exec.h op.c op_helper.c o...

2007-03-22 Thread Johannes Schindelin
Hi Rob,

On Thu, 22 Mar 2007, Rob Landley wrote:

 On Tuesday 20 March 2007 6:11 pm, Jocelyn Mayer wrote:
  Log message:
  PowerPC 2.03 SPE extension - first pass.
 
 QEMU supports the Cell processor now?  How would one go about testing this?

AFAIR Linux gained official Cell support recently...

Ciao,
Dscho



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


[Qemu-devel] qemu/target-ppc cpu.h exec.h op.c op_helper.c o...

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

Modified files:
target-ppc : cpu.h exec.h op.c op_helper.c op_helper.h 
 op_mem.h op_template.h translate.c 
 translate_init.c 

Log message:
PowerPC 2.03 SPE extension - first pass.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/qemu/target-ppc/cpu.h?cvsroot=qemur1=1.27r2=1.28
http://cvs.savannah.gnu.org/viewcvs/qemu/target-ppc/exec.h?cvsroot=qemur1=1.16r2=1.17
http://cvs.savannah.gnu.org/viewcvs/qemu/target-ppc/op.c?cvsroot=qemur1=1.25r2=1.26
http://cvs.savannah.gnu.org/viewcvs/qemu/target-ppc/op_helper.c?cvsroot=qemur1=1.20r2=1.21
http://cvs.savannah.gnu.org/viewcvs/qemu/target-ppc/op_helper.h?cvsroot=qemur1=1.3r2=1.4
http://cvs.savannah.gnu.org/viewcvs/qemu/target-ppc/op_mem.h?cvsroot=qemur1=1.10r2=1.11
http://cvs.savannah.gnu.org/viewcvs/qemu/target-ppc/op_template.h?cvsroot=qemur1=1.6r2=1.7
http://cvs.savannah.gnu.org/viewcvs/qemu/target-ppc/translate.c?cvsroot=qemur1=1.47r2=1.48
http://cvs.savannah.gnu.org/viewcvs/qemu/target-ppc/translate_init.c?cvsroot=qemur1=1.4r2=1.5


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


[Qemu-devel] qemu/target-ppc cpu.h exec.h helper.c op.c op_h...

2007-03-17 Thread Jocelyn Mayer
CVSROOT:/sources/qemu
Module name:qemu
Changes by: Jocelyn Mayer j_mayer 07/03/17 14:02:15

Modified files:
target-ppc : cpu.h exec.h helper.c op.c op_helper.c 
 op_helper.h op_helper_mem.h op_mem.h 
 translate.c 

Log message:
Make it safe to use 64 bits GPR and/or 64 bits host registers.
For symetry, add 64 bits versions of all modified functions.
As a side effect, add a lot of code provision for PowerPC 64 support.
Move overflow and carry checks in common routines for simple cases.
Add isel and popcntb instructions from PowerPC 2.03 specification.
Remove remaining micro-operations helpers prototypes from op.c.
Fix XER_BC field to be 7 bits long.
Add power management support for PowerPC 603  604.
Fix compilation warnings.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/qemu/target-ppc/cpu.h?cvsroot=qemur1=1.26r2=1.27
http://cvs.savannah.gnu.org/viewcvs/qemu/target-ppc/exec.h?cvsroot=qemur1=1.15r2=1.16
http://cvs.savannah.gnu.org/viewcvs/qemu/target-ppc/helper.c?cvsroot=qemur1=1.32r2=1.33
http://cvs.savannah.gnu.org/viewcvs/qemu/target-ppc/op.c?cvsroot=qemur1=1.23r2=1.24
http://cvs.savannah.gnu.org/viewcvs/qemu/target-ppc/op_helper.c?cvsroot=qemur1=1.18r2=1.19
http://cvs.savannah.gnu.org/viewcvs/qemu/target-ppc/op_helper.h?cvsroot=qemur1=1.1r2=1.2
http://cvs.savannah.gnu.org/viewcvs/qemu/target-ppc/op_helper_mem.h?cvsroot=qemur1=1.7r2=1.8
http://cvs.savannah.gnu.org/viewcvs/qemu/target-ppc/op_mem.h?cvsroot=qemur1=1.8r2=1.9
http://cvs.savannah.gnu.org/viewcvs/qemu/target-ppc/translate.c?cvsroot=qemur1=1.44r2=1.45


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


RE: [Qemu-devel] qemu/target-ppc cpu.h exec.h helper.c op.c op_h...

2007-03-17 Thread Wessel, Jason
Hi Jocelyn,

Previously it was mentioned that there is a regression that was
introduced by your original merge on March 8, 2007.  I tested this
latest code and it is still there.  The nature of the problem is that
the networking does not work when booting QEMU and using the built in
slirp networking.  A dhcp packet will work but the udp and tcp packets
do not appear to send.

It appears that the packet check sum computed by the Linux network stack
is incorrect.  When the code in slirp/ip_input.c checks the checksum of
the udp or tcp packet it throws the packet away because the checksum was
invalid.  I took the code from March 7, 2007 in cvs for target-ppc/* and
used it with the latest of everything else and the packet checksums are
computed correct and the target boots with networking.  

This points to the problem being what ever instructions the kernel is
using to compute the checksum are not being translated correctly by your
latest changes.  The next step will be to take a closer look at which
instructions are used to compute the checksum.  I thought I might send
out some further analysis of the original stated problem in case you had
an idea of where to look to fix the problem off the top of your head.
If you have any ideas, please drop me some e-mail.

Also with regard to the 2.6.21 kernel and the ppc-prep machine, I
patched the kernel to make it send PCI interrupts the same way the prior
kernels did.  It seems there is a regression there inside the kernel in
the way that the IRQ acknowledgements are handled.  It could be that the
emulation is not right in QEMU, but I figure that mystery is one for
another day.  If you need a kernel that boots on the ppc-prep please let
me know.  I also patched the prep loader in the linux kernel so I could
boot an image that was larger than 4 megs.

Thanks,
Jason.

 -Original Message-
 From: 
 [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED]
 rg] On Behalf Of Jocelyn Mayer
 Sent: Saturday, March 17, 2007 9:02 AM
 To: qemu-devel@nongnu.org
 Subject: [Qemu-devel] qemu/target-ppc cpu.h exec.h helper.c 
 op.c op_h...
 
 CVSROOT:  /sources/qemu
 Module name:  qemu
 Changes by:   Jocelyn Mayer j_mayer 07/03/17 14:02:15
 
 Modified files:
   target-ppc : cpu.h exec.h helper.c op.c op_helper.c 
op_helper.h op_helper_mem.h op_mem.h 
translate.c 
 
 Log message:
   Make it safe to use 64 bits GPR and/or 64 bits host registers.
   For symetry, add 64 bits versions of all modified functions.
   As a side effect, add a lot of code provision for 
 PowerPC 64 support.
   Move overflow and carry checks in common routines for 
 simple cases.
   Add isel and popcntb instructions from PowerPC 2.03 
 specification.
   Remove remaining micro-operations helpers prototypes from op.c.
   Fix XER_BC field to be 7 bits long.
   Add power management support for PowerPC 603  604.
   Fix compilation warnings.
 
 CVSWeb URLs:
 http://cvs.savannah.gnu.org/viewcvs/qemu/target-ppc/cpu.h?cvsr
 oot=qemur1=1.26r2=1.27
 http://cvs.savannah.gnu.org/viewcvs/qemu/target-ppc/exec.h?cvs
 root=qemur1=1.15r2=1.16
 http://cvs.savannah.gnu.org/viewcvs/qemu/target-ppc/helper.c?c
 vsroot=qemur1=1.32r2=1.33
 http://cvs.savannah.gnu.org/viewcvs/qemu/target-ppc/op.c?cvsro
 ot=qemur1=1.23r2=1.24
 http://cvs.savannah.gnu.org/viewcvs/qemu/target-ppc/op_helper.
 c?cvsroot=qemur1=1.18r2=1.19
 http://cvs.savannah.gnu.org/viewcvs/qemu/target-ppc/op_helper.
 h?cvsroot=qemur1=1.1r2=1.2
 http://cvs.savannah.gnu.org/viewcvs/qemu/target-ppc/op_helper_
 mem.h?cvsroot=qemur1=1.7r2=1.8
 http://cvs.savannah.gnu.org/viewcvs/qemu/target-ppc/op_mem.h?c
 vsroot=qemur1=1.8r2=1.9
 http://cvs.savannah.gnu.org/viewcvs/qemu/target-ppc/translate.
 c?cvsroot=qemur1=1.44r2=1.45
 
 
 ___
 Qemu-devel mailing list
 Qemu-devel@nongnu.org
 http://lists.nongnu.org/mailman/listinfo/qemu-devel
 


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


[Qemu-devel] qemu/target-ppc cpu.h exec.h helper.c op.c op_h...

2005-07-04 Thread Fabrice Bellard
CVSROOT:/cvsroot/qemu
Module name:qemu
Branch: 
Changes by: Fabrice Bellard [EMAIL PROTECTED] 05/07/04 22:17:06

Modified files:
target-ppc : cpu.h exec.h helper.c op.c op_helper.c 

Log message:
correct split between helper.c and op_helper.c - moved some uops to 
op_helper.c (Jocelyn Mayer)

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/qemu/qemu/target-ppc/cpu.h.diff?tr1=1.20tr2=1.21r1=textr2=text
http://savannah.gnu.org/cgi-bin/viewcvs/qemu/qemu/target-ppc/exec.h.diff?tr1=1.11tr2=1.12r1=textr2=text
http://savannah.gnu.org/cgi-bin/viewcvs/qemu/qemu/target-ppc/helper.c.diff?tr1=1.25tr2=1.26r1=textr2=text
http://savannah.gnu.org/cgi-bin/viewcvs/qemu/qemu/target-ppc/op.c.diff?tr1=1.19tr2=1.20r1=textr2=text
http://savannah.gnu.org/cgi-bin/viewcvs/qemu/qemu/target-ppc/op_helper.c.diff?tr1=1.15tr2=1.16r1=textr2=text



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