sdk/emulator/qemu.git
15 years agoadd "serial" parameter to -drive flag (Gleb Natapov)
aliguori [Wed, 7 Jan 2009 17:32:33 +0000 (17:32 +0000)]
add "serial" parameter to -drive flag (Gleb Natapov)

Windows calculates HW "uniqueness" based on a hard drive serial number
among other things. The patch allows to specify drive serial number
from a command line.

Signed-off-by: Gleb Natapov <gleb@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6214 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoqcow2: Fix cluster allocation (Kevin Wolf)
aliguori [Wed, 7 Jan 2009 17:22:19 +0000 (17:22 +0000)]
qcow2: Fix cluster allocation (Kevin Wolf)

When allocating multiple clusters at once, the qcow2 implementation
tries to find as many physically contiguous clusters as possible to
allow larger writes. This search includes allocated clusters which are
in the right place and still free clusters. If the range to allocate
spans clusters in patterns like "10 allocated, then 10 free, then again
10 allocated" it is only checked that the chunks of allocated clusters
are contiguous for themselves.

However, what is actually needed is to have _all_ allocated clusters
contiguous, starting at the first cluster of the allocation and spanning
multiple such chunks. This patch changes the check so that each offset
is not compared to the offset of the first cluster in its own chunk but
to the first cluster in the whole allocation.

I haven't seen it happen, but without this fix data corruption on qcow2
images is possible.

Signed-off-by: Kevin Wolf <kwolf@suse.de>
Acked-by: Gleb Natapov <gleb@redhat.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6213 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoFix compressed qcow2 (Gleb Natapov)
aliguori [Wed, 7 Jan 2009 16:43:13 +0000 (16:43 +0000)]
Fix compressed qcow2 (Gleb Natapov)

Correctly calculate number of contiguous clusters.

Acked-by: Kevin Wolf <kwolf@suse.de>
Signed-off-by: Gleb Natapov <gleb@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6212 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agofix usb-hid SET_IDLE behaviour (Stefano Stabellini)
aliguori [Wed, 7 Jan 2009 16:41:47 +0000 (16:41 +0000)]
fix usb-hid SET_IDLE behaviour (Stefano Stabellini)

the usb-hid spec states that the SET_IDLE request has a 16bit value,
where the upper byte specifies the idle rate (currently unimplemented,
we handle only the 0 case, meaning infinite duration) and the lower
byte specifies the report id (0 means all reports).
In our code we do idle = value, while it should be idle = "upper byte",
especially if the guest issues a GET_IDLE, we should return only the
idle rate while we are returning only the report id.
In practice it doesn't make much difference because I have only seen
SET_VALUE with both bytes set to 0 so far, but still it is wrong.

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6211 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoCRIS: Implement set_thread_area for CRIS.
edgar_igl [Wed, 7 Jan 2009 14:19:38 +0000 (14:19 +0000)]
CRIS: Implement set_thread_area for CRIS.

Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6210 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoETRAX: Correct size of control-register area.
edgar_igl [Wed, 7 Jan 2009 14:00:33 +0000 (14:00 +0000)]
ETRAX: Correct size of control-register area.

Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6209 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoETRAX: Process out channels immediately when the channel is started.
edgar_igl [Wed, 7 Jan 2009 13:46:31 +0000 (13:46 +0000)]
ETRAX: Process out channels immediately when the channel is started.

* Process out channels immediately when the channel is started.
* Context descriptor load does not start a channel.
* Store updated descriptors after processing them regardless of eol state.
* Correct control-register area size.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6208 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoETRAX: Correctly update the interrupt vector when interrupts get masked.
edgar_igl [Wed, 7 Jan 2009 13:30:41 +0000 (13:30 +0000)]
ETRAX: Correctly update the interrupt vector when interrupts get masked.

Cannot believe this bug has been around for so long.

Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6207 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoETRAX: Support timer count reads and correct frequencies.
edgar_igl [Wed, 7 Jan 2009 13:24:40 +0000 (13:24 +0000)]
ETRAX: Support timer count reads and correct frequencies.

Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6206 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoCRIS: Use a helper for lz.
edgar_igl [Wed, 7 Jan 2009 13:19:21 +0000 (13:19 +0000)]
CRIS: Use a helper for lz.

Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6205 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoCRIS: bound operates directly on regs, no need to allocate temp destination.
edgar_igl [Wed, 7 Jan 2009 13:15:29 +0000 (13:15 +0000)]
CRIS: bound operates directly on regs, no need to allocate temp destination.

Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6204 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoCRIS: Speedup btst by using a helper.
edgar_igl [Wed, 7 Jan 2009 13:11:22 +0000 (13:11 +0000)]
CRIS: Speedup btst by using a helper.

Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6203 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoETRAX: Add a dummy tempsensor and correct the NAND flash model.
edgar_igl [Wed, 7 Jan 2009 13:05:58 +0000 (13:05 +0000)]
ETRAX: Add a dummy tempsensor and correct the NAND flash model.

Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6202 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoCRIS: NMI wakes up the core.
edgar_igl [Wed, 7 Jan 2009 12:36:06 +0000 (12:36 +0000)]
CRIS: NMI wakes up the core.

Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6201 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoCRIS: NMI wakes up the core.
edgar_igl [Wed, 7 Jan 2009 12:35:08 +0000 (12:35 +0000)]
CRIS: NMI wakes up the core.

Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6200 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoCRIS: Move operations can be optimized as arithmetic ones for cc evaluation.
edgar_igl [Wed, 7 Jan 2009 12:27:46 +0000 (12:27 +0000)]
CRIS: Move operations can be optimized as arithmetic ones for cc evaluation.

Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6199 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoCRIS: Slight performance improvement for flag evaluation.
edgar_igl [Wed, 7 Jan 2009 12:25:15 +0000 (12:25 +0000)]
CRIS: Slight performance improvement for flag evaluation.

Translate sub and cmp ops separately when evaluating flags to avoid checking
for them at runtime.

Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6198 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoETRAX: Add a model for the axis devboard88 machine.
edgar_igl [Wed, 7 Jan 2009 12:19:50 +0000 (12:19 +0000)]
ETRAX: Add a model for the axis devboard88 machine.

Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6197 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoETRAX: No need to mask off the I flag twice at reset.
edgar_igl [Wed, 7 Jan 2009 12:13:28 +0000 (12:13 +0000)]
ETRAX: No need to mask off the I flag twice at reset.

Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6196 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agogdbstub: fix gdbserver_fork
edgar_igl [Wed, 7 Jan 2009 10:22:28 +0000 (10:22 +0000)]
gdbstub: fix gdbserver_fork

As reported by Martin Mohring fork doesn't work with NPTL.
A fix is attached that makes the also attached test run
(tested with ARM CodeSourcery 2008q3 on an x86_64
Fedora Core with kernel 2.6.23).

Signed-off-by: Laurent Desnogues <laurent.desnogues@gmail.com>
Acked-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6195 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoAdd missing space
malc [Tue, 6 Jan 2009 18:57:51 +0000 (18:57 +0000)]
Add missing space

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6194 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agotarget-ppc: fix compilation on BigEndian
aurel32 [Mon, 5 Jan 2009 21:40:27 +0000 (21:40 +0000)]
target-ppc: fix compilation on BigEndian

This fixes BigEndian compilation for target-ppc.

(Michael Buesch)

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6193 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoFix more FSF addresses
blueswir1 [Mon, 5 Jan 2009 18:11:53 +0000 (18:11 +0000)]
Fix more FSF addresses

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6192 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoAdd cirrus reset handler
blueswir1 [Mon, 5 Jan 2009 17:37:06 +0000 (17:37 +0000)]
Add cirrus reset handler

The vga reset handler overwrites some cirrus registers, causing reboots
to corrupt cirrus state to the point that guests can only bring up 640x480
resolutions.

Fix by adding a dedicated cirrus reset handler (which calls the common vga
handler).

Signed-off-by: Avi Kivity <avi@redhat.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6191 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agotarget-ppc: Add m{f,t}vscr instructions.
aurel32 [Sun, 4 Jan 2009 22:51:59 +0000 (22:51 +0000)]
target-ppc: Add m{f,t}vscr instructions.

Based on a patch by Nathan Froyd <froydnj@codesourcery.com>

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6190 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoAdd vsumsws, vsum2sws, and vsum4{sbs, shs,ubs} instructions.
aurel32 [Sun, 4 Jan 2009 22:13:21 +0000 (22:13 +0000)]
Add vsumsws, vsum2sws, and vsum4{sbs, shs,ubs} instructions.

Signed-off-by: Nathan Froyd <froydnj@codesourcery.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6189 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoAdd {l,st}ve{b,h,w}x instructions.
aurel32 [Sun, 4 Jan 2009 22:13:10 +0000 (22:13 +0000)]
Add {l,st}ve{b,h,w}x instructions.

Signed-off-by: Nathan Froyd <froydnj@codesourcery.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6188 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoAdd vmladduhm instruction.
aurel32 [Sun, 4 Jan 2009 22:13:00 +0000 (22:13 +0000)]
Add vmladduhm instruction.

Signed-off-by: Nathan Froyd <froydnj@codesourcery.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6187 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoAdd vmsumsh{m,s} instructions.
aurel32 [Sun, 4 Jan 2009 22:12:49 +0000 (22:12 +0000)]
Add vmsumsh{m,s} instructions.

Signed-off-by: Nathan Froyd <froydnj@codesourcery.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6186 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoAdd vmsumuh{m,s} instructions.
aurel32 [Sun, 4 Jan 2009 22:12:39 +0000 (22:12 +0000)]
Add vmsumuh{m,s} instructions.

Signed-off-by: Nathan Froyd <froydnj@codesourcery.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6185 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoAdd vmh{,r}addshs instructions.
aurel32 [Sun, 4 Jan 2009 22:12:29 +0000 (22:12 +0000)]
Add vmh{,r}addshs instructions.

Signed-off-by: Nathan Froyd <froydnj@codesourcery.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6184 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoAdd vpkpx instruction.
aurel32 [Sun, 4 Jan 2009 22:12:19 +0000 (22:12 +0000)]
Add vpkpx instruction.

Signed-off-by: Nathan Froyd <froydnj@codesourcery.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6183 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoAdd vpks{h, w}{s, u}s, vpku{h, w}us, and vpku{h, w}um instructions.
aurel32 [Sun, 4 Jan 2009 22:12:09 +0000 (22:12 +0000)]
Add vpks{h, w}{s, u}s, vpku{h, w}us, and vpku{h, w}um instructions.

Signed-off-by: Nathan Froyd <froydnj@codesourcery.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6182 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoAdd saturating arithmetic conversion functions for subsequent instructions.
aurel32 [Sun, 4 Jan 2009 22:11:59 +0000 (22:11 +0000)]
Add saturating arithmetic conversion functions for subsequent instructions.

Signed-off-by: Nathan Froyd <froydnj@codesourcery.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6181 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoAdd vsel and vperm instructions.
aurel32 [Sun, 4 Jan 2009 22:11:49 +0000 (22:11 +0000)]
Add vsel and vperm instructions.

Signed-off-by: Nathan Froyd <froydnj@codesourcery.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6180 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoAdd vmsum{u,m}bm instructions.
aurel32 [Sun, 4 Jan 2009 22:11:39 +0000 (22:11 +0000)]
Add vmsum{u,m}bm instructions.

Signed-off-by: Nathan Froyd <froydnj@codesourcery.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6179 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoAdd GEN_VAFORM_PAIRED macro for subsequent instructions.
aurel32 [Sun, 4 Jan 2009 22:11:29 +0000 (22:11 +0000)]
Add GEN_VAFORM_PAIRED macro for subsequent instructions.

Signed-off-by: Nathan Froyd <froydnj@codesourcery.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6178 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoAdd vupk{h,l}s{b,h} instructions.
aurel32 [Sun, 4 Jan 2009 22:11:20 +0000 (22:11 +0000)]
Add vupk{h,l}s{b,h} instructions.

Signed-off-by: Nathan Froyd <froydnj@codesourcery.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6177 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoAdd vupk{h,l}px instructions.
aurel32 [Sun, 4 Jan 2009 22:11:10 +0000 (22:11 +0000)]
Add vupk{h,l}px instructions.

Signed-off-by: Nathan Froyd <froydnj@codesourcery.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6176 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoAdd GEN_VXFORM_NOA macro for subsequent instructions.
aurel32 [Sun, 4 Jan 2009 22:10:59 +0000 (22:10 +0000)]
Add GEN_VXFORM_NOA macro for subsequent instructions.

Signed-off-by: Nathan Froyd <froydnj@codesourcery.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6175 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoAdd vsplt{b,h,w} instructions.
aurel32 [Sun, 4 Jan 2009 22:10:49 +0000 (22:10 +0000)]
Add vsplt{b,h,w} instructions.

Signed-off-by: Nathan Froyd <froydnj@codesourcery.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6174 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoAdd GEN_VXFORM_UIMM macro for subsequent instructions.
aurel32 [Sun, 4 Jan 2009 22:10:40 +0000 (22:10 +0000)]
Add GEN_VXFORM_UIMM macro for subsequent instructions.

Signed-off-by: Nathan Froyd <froydnj@codesourcery.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6173 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoAdd GEN_VXFORM_SIMM macro for subsequent instructions.
aurel32 [Sun, 4 Jan 2009 22:10:28 +0000 (22:10 +0000)]
Add GEN_VXFORM_SIMM macro for subsequent instructions.

Signed-off-by: Nathan Froyd <froydnj@codesourcery.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6172 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoAdd vsldoi instruction.
aurel32 [Sun, 4 Jan 2009 22:10:09 +0000 (22:10 +0000)]
Add vsldoi instruction.

Signed-off-by: Nathan Froyd <froydnj@codesourcery.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6171 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoAdd vrl{b,h,w} instructions.
aurel32 [Sun, 4 Jan 2009 22:09:52 +0000 (22:09 +0000)]
Add vrl{b,h,w} instructions.

Signed-off-by: Nathan Froyd <froydnj@codesourcery.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6170 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoAdd lvs{l,r} instructions.
aurel32 [Sun, 4 Jan 2009 22:09:42 +0000 (22:09 +0000)]
Add lvs{l,r} instructions.

Signed-off-by: Nathan Froyd <froydnj@codesourcery.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6169 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoAdd v{add,sub}cuw instructions.
aurel32 [Sun, 4 Jan 2009 22:09:31 +0000 (22:09 +0000)]
Add v{add,sub}cuw instructions.

Signed-off-by: Nathan Froyd <froydnj@codesourcery.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6168 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoAdd vs{l,r}o instructions.
aurel32 [Sun, 4 Jan 2009 22:09:19 +0000 (22:09 +0000)]
Add vs{l,r}o instructions.

Signed-off-by: Nathan Froyd <froydnj@codesourcery.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6167 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoAdd vsl{b,h,w} instructions.
aurel32 [Sun, 4 Jan 2009 22:09:08 +0000 (22:09 +0000)]
Add vsl{b,h,w} instructions.

Signed-off-by: Nathan Froyd <froydnj@codesourcery.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6166 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoAdd vsr{,a}{b,h,w} instructions.
aurel32 [Sun, 4 Jan 2009 22:08:58 +0000 (22:08 +0000)]
Add vsr{,a}{b,h,w} instructions.

Signed-off-by: Nathan Froyd <froydnj@codesourcery.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6165 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoAdd vmul{e,o}{s,u}{b,h} instructions.
aurel32 [Sun, 4 Jan 2009 22:08:48 +0000 (22:08 +0000)]
Add vmul{e,o}{s,u}{b,h} instructions.

Signed-off-by: Nathan Froyd <froydnj@codesourcery.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6164 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoAdd vmrg{l,h}{b,h,w} instructions.
aurel32 [Sun, 4 Jan 2009 22:08:38 +0000 (22:08 +0000)]
Add vmrg{l,h}{b,h,w} instructions.

Signed-off-by: Nathan Froyd <froydnj@codesourcery.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6163 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoUpdate FSF address in GPL/LGPL boilerplate
aurel32 [Sun, 4 Jan 2009 22:05:52 +0000 (22:05 +0000)]
Update FSF address in GPL/LGPL boilerplate

The attached patch updates the FSF address in the GPL/LGPL boilerplate
in most GPL/LGPLed files, and also in COPYING.LIB.

Signed-off-by: Stuart Brady <stuart.brady@gmail.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6162 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoCRIS: Dont flush kernel protected pages when modifying $pid.
edgar_igl [Sun, 4 Jan 2009 15:45:17 +0000 (15:45 +0000)]
CRIS: Dont flush kernel protected pages when modifying $pid.

Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6161 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoCRIS: Remove unused pfn member from mmu translation results.
edgar_igl [Sun, 4 Jan 2009 15:42:04 +0000 (15:42 +0000)]
CRIS: Remove unused pfn member from mmu translation results.

Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6160 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoFix VGA screen dump
blueswir1 [Sun, 4 Jan 2009 10:56:46 +0000 (10:56 +0000)]
Fix VGA screen dump

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6159 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoAdd vscr access macros.
aurel32 [Sat, 3 Jan 2009 14:04:11 +0000 (14:04 +0000)]
Add vscr access macros.

Signed-off-by: Nathan Froyd <froydnj@codesourcery.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6158 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoAdd v{min, max}{s, u}{b, h, w} instructions.
aurel32 [Sat, 3 Jan 2009 13:31:58 +0000 (13:31 +0000)]
Add v{min, max}{s, u}{b, h, w} instructions.

Signed-off-by: Nathan Froyd <froydnj@codesourcery.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6157 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoAdd vavg{s,u}{b,h,w} instructions.
aurel32 [Sat, 3 Jan 2009 13:31:49 +0000 (13:31 +0000)]
Add vavg{s,u}{b,h,w} instructions.

Signed-off-by: Nathan Froyd <froydnj@codesourcery.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6156 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoAdd v{add,sub}u{b,h,w}m instructions.
aurel32 [Sat, 3 Jan 2009 13:31:40 +0000 (13:31 +0000)]
Add v{add,sub}u{b,h,w}m instructions.

Signed-off-by: Nathan Froyd <froydnj@codesourcery.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6155 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoAdd GEN_VXFORM macro for subsequent instructions.
aurel32 [Sat, 3 Jan 2009 13:31:30 +0000 (13:31 +0000)]
Add GEN_VXFORM macro for subsequent instructions.

Signed-off-by: Nathan Froyd <froydnj@codesourcery.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6154 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoAdd helper macros for later patches.
aurel32 [Sat, 3 Jan 2009 13:31:19 +0000 (13:31 +0000)]
Add helper macros for later patches.

Remove N_ELEMS, VECTOR_FOR, and VECTOR_FOR_I macros.  Retain the
VECTOR_FOR_INORDER_I macros as the clearest way of expressing the intent
of iterating over elements in their stored target-endian order.

Signed-off-by: Nathan Froyd <froydnj@codesourcery.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6153 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoFix TCG error in gen_avr_ptr.
aurel32 [Sat, 3 Jan 2009 13:31:10 +0000 (13:31 +0000)]
Fix TCG error in gen_avr_ptr.

Signed-off-by: Nathan Froyd <froydnj@codesourcery.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6152 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoFix qemu endless loop when raising a SIGSEGV/SIGBUS signal with gdbstub in user emulation
aurel32 [Sat, 3 Jan 2009 13:14:52 +0000 (13:14 +0000)]
Fix qemu endless loop when raising a SIGSEGV/SIGBUS signal with gdbstub in user emulation

When a SIGSEGV signal is raised in user mode emulation the current
test to know whether the signal is sent by the kernel is wrong :

info->si_code == SI_KERNEL

according to /usr/include/bits/siginfo.h it should be

info->si_code > 0

Signed-off-by: Lionel Landwerlin <lionel.landwerlin@openwide.fr>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6151 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agotcg: remove tcg_global_reg2_new_hack()
aurel32 [Sat, 3 Jan 2009 12:36:05 +0000 (12:36 +0000)]
tcg: remove tcg_global_reg2_new_hack()

This patch removes the unused tcg_global_reg2_new_hack() function, which
was added in r4438 to work around a register shortage problem regarding
dyngen.  The only ever user of this function was removed in r4577.

Signed-off-by: Stuart Brady <stuart.brady@gmail.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6150 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoFix and rearrange 'tarbin' Makefile rule
aurel32 [Sat, 3 Jan 2009 12:35:57 +0000 (12:35 +0000)]
Fix and rearrange 'tarbin' Makefile rule

This patch fixes the 'tarbin' Makefile rule (which was broken due to
a missing '\' for line-continuation), and also rearranges that rule to
match the ordering that is used in the configure script, so that the
list can be checked more easily, to avoid conflicts, etc.

Signed-off-by: Stuart Brady <stuart.brady@gmail.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6149 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoTCG: Fix documentation of qemu_ld/st ops
aurel32 [Sat, 3 Jan 2009 12:35:47 +0000 (12:35 +0000)]
TCG: Fix documentation of qemu_ld/st ops

The functions defined in tcg/tcg-op.h have no _i32 or _i64 suffix,
qemu_ld64 and qemu_st64 were missing from the list, and there are
no 'plain' qemu_ld/qemu_st ops.

Signed-off-by: Stuart Brady <stuart.brady@gmail.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6148 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agotarget-ppc: fix TGC type mismatch introduced by r6146
aurel32 [Sat, 3 Jan 2009 12:35:38 +0000 (12:35 +0000)]
target-ppc: fix TGC type mismatch introduced by r6146

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6147 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agotcg_temp_local_new should take no parameter
aurel32 [Thu, 1 Jan 2009 14:09:05 +0000 (14:09 +0000)]
tcg_temp_local_new should take no parameter

This patch removes useless type information in some calls to
tcg_temp_local_new.  It also removes the parameter from the
macro declaration;  if a target has to use a specific non-default
size then it should use tcg_temp_local_new_{i32,i64}.

Signed-off-by: Laurent Desnogues <laurent.desnogues@gmail.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6146 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agotarget-mips: DMA support for RC4030 chipset
aurel32 [Thu, 1 Jan 2009 13:03:36 +0000 (13:03 +0000)]
target-mips: DMA support for RC4030 chipset

Attached patch implements DMA support to RC4030 chipset and simplifies
jazz IO part (at 0xf0000000), where registers contain 16 bit values.
Config register has not a clear meaning (only one value is always valid,
and sometimes another one), so use a magic value instead.
The patch also wires DMA transfers for the SCSI adapter in the Jazz
emulation (Mips Magnum 4000 and Acer Pica 61).

Signed-off-by: Hervé Poussineau <hpoussin@reactos.org>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6145 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoAdd Sparc define checks
blueswir1 [Wed, 31 Dec 2008 16:55:26 +0000 (16:55 +0000)]
Add Sparc define checks

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6144 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoVM load/save support for PPC CPU
blueswir1 [Tue, 30 Dec 2008 19:01:44 +0000 (19:01 +0000)]
VM load/save support for PPC CPU

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6143 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoVM load/save support for PPC devices
blueswir1 [Tue, 30 Dec 2008 19:01:19 +0000 (19:01 +0000)]
VM load/save support for PPC devices

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6142 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoParse --cc and --cross-prefix earlier and use CC to determine cpu and host
aliguori [Mon, 29 Dec 2008 17:14:15 +0000 (17:14 +0000)]
Parse --cc and --cross-prefix earlier and use CC to determine cpu and host

We have been relying on uname to determine the host cpu architecture and
operating system.  This is totally broken for cross compilation.  It was
workable in the past because you can manually override both settings but after
the host USB passthrough refactoring, cross host builds were broken.

This moves the parsing of --cc and --cross-prefix to before the probes for cpu
and host.  Complation testing is used to determine the host and CPU types.  I've
only added checks for i386, x86_64, Linux, and Windows since these are the only
platforms I have access to for testing.  Everything else falls back to uname.

It should be relatively easy to add the right checks for other platforms and
eliminate uname altogether.

Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6141 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoCRIS: Remove CRIS specific do_unassigned_access.
edgar_igl [Mon, 29 Dec 2008 14:39:57 +0000 (14:39 +0000)]
CRIS: Remove CRIS specific do_unassigned_access.

Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6140 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agotarget-ppc: improve correctness of the fsel instruction
aurel32 [Mon, 29 Dec 2008 09:47:11 +0000 (09:47 +0000)]
target-ppc: improve correctness of the fsel instruction

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6139 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agotarget-ppc: fix stsw/stswi instructions
aurel32 [Mon, 29 Dec 2008 09:46:58 +0000 (09:46 +0000)]
target-ppc: fix stsw/stswi instructions

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6138 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoFix warning introduced by r6136
blueswir1 [Sun, 28 Dec 2008 21:05:44 +0000 (21:05 +0000)]
Fix warning introduced by r6136

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6137 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoRegister reset handlers
blueswir1 [Sun, 28 Dec 2008 18:27:10 +0000 (18:27 +0000)]
Register reset handlers

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6136 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoSuppress a -Werror=format-security warning
blueswir1 [Sun, 28 Dec 2008 15:45:20 +0000 (15:45 +0000)]
Suppress a -Werror=format-security warning

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6135 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoFix -Werror=format-security warning (Frederik Himpe/Lennert Buytenhek)
blueswir1 [Sun, 28 Dec 2008 13:14:48 +0000 (13:14 +0000)]
Fix -Werror=format-security warning (Frederik Himpe/Lennert Buytenhek)

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6134 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agotarget-ppc: workaround OpenBIOS limitation
aurel32 [Fri, 26 Dec 2008 23:05:23 +0000 (23:05 +0000)]
target-ppc: workaround OpenBIOS limitation

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6133 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agotarget-ppc: fix PowerMAC NVRAM emulation
aurel32 [Fri, 26 Dec 2008 23:05:15 +0000 (23:05 +0000)]
target-ppc: fix PowerMAC NVRAM emulation

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6132 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoFix kernel loading
blueswir1 [Wed, 24 Dec 2008 20:30:01 +0000 (20:30 +0000)]
Fix kernel loading

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6131 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoUse the firmware configuration device
blueswir1 [Wed, 24 Dec 2008 20:29:16 +0000 (20:29 +0000)]
Use the firmware configuration device

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6130 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoAdd support for -prom-env command line options
blueswir1 [Wed, 24 Dec 2008 20:26:14 +0000 (20:26 +0000)]
Add support for -prom-env command line options

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6129 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoUse OpenBIOS for g3bw machine
blueswir1 [Wed, 24 Dec 2008 20:23:51 +0000 (20:23 +0000)]
Use OpenBIOS for g3bw machine

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6128 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoSun4m use 0 for nonexistent devices (Robert Reif)
blueswir1 [Wed, 24 Dec 2008 20:21:18 +0000 (20:21 +0000)]
Sun4m use 0 for nonexistent devices (Robert Reif)

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6127 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoImprove PPC device debugging
blueswir1 [Wed, 24 Dec 2008 09:38:16 +0000 (09:38 +0000)]
Improve PPC device debugging

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6126 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoAdd SuperSPARC MMU breakpoint registers (Robert Reif)
blueswir1 [Tue, 23 Dec 2008 15:30:50 +0000 (15:30 +0000)]
Add SuperSPARC MMU breakpoint registers (Robert Reif)

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6125 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoImplement hw/eccmemctl.c version differences (Robert Reif)
blueswir1 [Tue, 23 Dec 2008 15:08:13 +0000 (15:08 +0000)]
Implement hw/eccmemctl.c version differences (Robert Reif)

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6124 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoBetter SuperSPARC emulation (Robert Reif)
blueswir1 [Tue, 23 Dec 2008 15:06:35 +0000 (15:06 +0000)]
Better SuperSPARC emulation (Robert Reif)

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6123 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoImplement tick interrupt disable bits
blueswir1 [Tue, 23 Dec 2008 08:47:26 +0000 (08:47 +0000)]
Implement tick interrupt disable bits

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6122 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoProperly handle the case of SetPixelEncodings with a length of zero.
aliguori [Mon, 22 Dec 2008 21:06:23 +0000 (21:06 +0000)]
Properly handle the case of SetPixelEncodings with a length of zero.

This commit addresses CORE-2008-1210/CVE-2008-2382.

Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6121 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoUse the ARRAY_SIZE() macro where appropriate.
malc [Mon, 22 Dec 2008 20:33:55 +0000 (20:33 +0000)]
Use the ARRAY_SIZE() macro where appropriate.

Change from v1:
  Avoid changing the existing coding style in certain files.

Signed-off-by: Stuart Brady <stuart.brady@gmail.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6120 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agohw/slavio_misc.c remove address from debug trace (Robert Reif)
blueswir1 [Sun, 21 Dec 2008 16:00:20 +0000 (16:00 +0000)]
hw/slavio_misc.c remove address from debug trace (Robert Reif)

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6119 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoadd Arbiter Enable Register support to sparc iommu (Robert Reif)
blueswir1 [Sun, 21 Dec 2008 10:46:23 +0000 (10:46 +0000)]
add Arbiter Enable Register support to sparc iommu (Robert Reif)

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6118 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoUpdate to latest Bochs BIOS
aliguori [Sun, 21 Dec 2008 01:37:01 +0000 (01:37 +0000)]
Update to latest Bochs BIOS

A number of our patches have been merged so we can now remove them from our
queue.

Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6117 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoRemove obsolete VGABIOS patch.
aliguori [Sun, 21 Dec 2008 01:30:22 +0000 (01:30 +0000)]
Remove obsolete VGABIOS patch.

Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6116 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agosoftfloat-native: fix type of float_rounding_mode
aurel32 [Sat, 20 Dec 2008 23:41:32 +0000 (23:41 +0000)]
softfloat-native: fix type of float_rounding_mode

fegetround() and fesetround() are using an int type. Change the type of
float_rounding_mode and floatx80_rounding_precision in the float_status
structure for consistency.

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6115 c046a42c-6fe2-441c-8c8c-71466251a162