ths
36bb244bd3
Fix typo, suggested by Ben Taylor.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2548 c046a42c-6fe2-441c-8c8c-71466251a162
2007-03-30 18:42:21 +00:00
ths
5efbfeddac
Squash logic bugs while they are fresh...
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2547 c046a42c-6fe2-441c-8c8c-71466251a162
2007-03-30 17:48:00 +00:00
ths
24c7b0e330
Sanitize mips exception handling.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2546 c046a42c-6fe2-441c-8c8c-71466251a162
2007-03-30 16:44:54 +00:00
ths
e69f67b6d5
Fix build failure.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2545 c046a42c-6fe2-441c-8c8c-71466251a162
2007-03-30 16:41:55 +00:00
j_mayer
a42bd6ccdf
Fix rfi instruction: do not depend on current execution mode
...
but on the execution mode that will be effective after the return.
Add rfci, rfdi and rfmci for BookE PowerPC.
Extend mfdcr / mtdcr and implement mfdrcx / mtdcrx.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2544 c046a42c-6fe2-441c-8c8c-71466251a162
2007-03-30 10:22:46 +00:00
j_mayer
363be49c86
Fix / update PowerPC BookE definitions.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2543 c046a42c-6fe2-441c-8c8c-71466251a162
2007-03-30 10:07:33 +00:00
j_mayer
4710357290
New model for PowerPC CPU hardware interrupt events:
...
move all PowerPC specific code into target-ppc/helper.c to avoid polluting
the common code in cpu-exec.c. This makes implementation of new features
(ie embedded PowerPC timers, critical interrupts, ...) easier.
This also avoid hardcoding the IRQ callback in the OpenPIC controller,
making it more easily reusable and allowing cascading.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2542 c046a42c-6fe2-441c-8c8c-71466251a162
2007-03-30 09:38:04 +00:00
j_mayer
de270b3c7c
Solaris host compilation fix by Shaddy Baddah.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2541 c046a42c-6fe2-441c-8c8c-71466251a162
2007-03-28 20:43:46 +00:00
ths
aa26bb2dac
qemu_create_pidfile implementation for Win32, based on a patch by
...
Carlos O'Donell.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2540 c046a42c-6fe2-441c-8c8c-71466251a162
2007-03-25 21:33:06 +00:00
ths
209afb9e0d
Move determination of AIOLIBS until after all configure options have been
...
handled. By Carlos O'Donell.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2539 c046a42c-6fe2-441c-8c8c-71466251a162
2007-03-25 20:55:00 +00:00
ths
a39437aa1d
Fix segfault with -nographic, by Enache Adrian.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2538 c046a42c-6fe2-441c-8c8c-71466251a162
2007-03-25 20:27:04 +00:00
ths
ed5065e16a
Typo in configure, by Nicholas Sauzede.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2537 c046a42c-6fe2-441c-8c8c-71466251a162
2007-03-25 16:15:21 +00:00
ths
99c1968693
Improved kqemu error message, by Robert Millan.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2536 c046a42c-6fe2-441c-8c8c-71466251a162
2007-03-25 16:14:07 +00:00
ths
f5b122688b
Windows sockets like to be different. Inspired by a patch from Alex Consul.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2535 c046a42c-6fe2-441c-8c8c-71466251a162
2007-03-25 15:58:03 +00:00
blueswir1
62724a3773
Sparc32/64 CPU selection
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2534 c046a42c-6fe2-441c-8c8c-71466251a162
2007-03-25 07:55:52 +00:00
ths
34ee2edebb
One more bit of mips CPU configuration, and support for early 4KEc
...
which implemented only MIPS32R1. Thanks to Stefan Weil to insist he's
right on that. :-)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2533 c046a42c-6fe2-441c-8c8c-71466251a162
2007-03-24 23:36:18 +00:00
blueswir1
3e736bf4b4
Upgrade Sparc FPU version (based on patch by Aurelien Jarno)
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2532 c046a42c-6fe2-441c-8c8c-71466251a162
2007-03-24 13:24:09 +00:00
blueswir1
e32f879d1b
Sparc tagged operations (Aurelien Jarno)
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2531 c046a42c-6fe2-441c-8c8c-71466251a162
2007-03-23 20:01:20 +00:00
j_mayer
426613dbf8
Add missing PowerPC 64 instructions
...
PowerPC 64 fixes.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2530 c046a42c-6fe2-441c-8c8c-71466251a162
2007-03-23 09:45:27 +00:00
j_mayer
1b9eb036b9
Fix debug printf: we need different macros for target_ulong prints
...
and GPR ones, as the lengths can be different.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2529 c046a42c-6fe2-441c-8c8c-71466251a162
2007-03-23 09:40:22 +00:00
ths
e397ee3382
Fix enough FPU/R2 support to get 24Kf going.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2528 c046a42c-6fe2-441c-8c8c-71466251a162
2007-03-23 00:43:28 +00:00
j_mayer
51789c410b
PowerPC improvments:
...
- add missing 64 bits rotate instructions
- safely define TARGET_PPCSPE when 64 bits registers are used
a separate target will be needed to use it in 32 bits mode on 32 bits hosts.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2527 c046a42c-6fe2-441c-8c8c-71466251a162
2007-03-22 22:41:50 +00:00
j_mayer
e864cabdc0
PowerPC bugfixes:
...
- must clear carry bit when doing addic with a zero immediate value
- fix missing RETURN in micro-operation that would lead to random failures
and crashes
- add USE_PRECISE_EMULATION compilation-time option to choose between
getting exact floating point results and fast but less accurate computation.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2526 c046a42c-6fe2-441c-8c8c-71466251a162
2007-03-22 22:17:08 +00:00
ths
a722258036
Fix fcntl64 logic bug, by Kirill A. Shutemov.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2525 c046a42c-6fe2-441c-8c8c-71466251a162
2007-03-22 15:08:55 +00:00
ths
6e65a42ad3
Win32 build fix. FIXME: This disables locking of the pidfile, a
...
Win32 replacement of lockf should be used here.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2524 c046a42c-6fe2-441c-8c8c-71466251a162
2007-03-22 12:36:53 +00:00
blueswir1
9bad0425a0
Fix Sparc branches, original patch by Aurelien Jarno
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2523 c046a42c-6fe2-441c-8c8c-71466251a162
2007-03-21 19:45:50 +00:00
ths
3953d78687
Move mips CPU specific initialization to translate_init.c.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2522 c046a42c-6fe2-441c-8c8c-71466251a162
2007-03-21 11:04:42 +00:00
j_mayer
1698b74161
Fix compilation on 32 bits hosts (pb reported by Thiemo Seufer)
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2521 c046a42c-6fe2-441c-8c8c-71466251a162
2007-03-21 08:21:02 +00:00
j_mayer
3430b0be36
Ooops... Typo.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2520 c046a42c-6fe2-441c-8c8c-71466251a162
2007-03-20 22:25:37 +00:00
j_mayer
0487d6a8b4
PowerPC 2.03 SPE extension - first pass.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2519 c046a42c-6fe2-441c-8c8c-71466251a162
2007-03-20 22:11:31 +00:00
j_mayer
75d62a5856
Add missing softfloat helpers.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2518 c046a42c-6fe2-441c-8c8c-71466251a162
2007-03-20 22:10:42 +00:00
ths
b1e341ebb7
fcntl64 fix, by Kirill A. Shutemov.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2517 c046a42c-6fe2-441c-8c8c-71466251a162
2007-03-20 21:50:52 +00:00
ths
dc3c9d213d
SlavIO Counter-Timers fix, by Aurelien Jarno.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2516 c046a42c-6fe2-441c-8c8c-71466251a162
2007-03-20 16:54:50 +00:00
ths
491730f328
SlavIO interrupt controller fix, by Aurelien Jarno.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2515 c046a42c-6fe2-441c-8c8c-71466251a162
2007-03-20 16:52:54 +00:00
ths
548df2acc6
VMMouse Emulation, by Anthony Liguori.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2514 c046a42c-6fe2-441c-8c8c-71466251a162
2007-03-20 16:45:27 +00:00
ths
3ad4bb2d3d
Barf on branches/jumps in branch delay slots. Spotted by Stefan Weil.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2513 c046a42c-6fe2-441c-8c8c-71466251a162
2007-03-19 22:15:30 +00:00
ths
820e00f252
Define gen_intermediate_code_internal as "static inline".
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2512 c046a42c-6fe2-441c-8c8c-71466251a162
2007-03-19 21:46:06 +00:00
ths
faab7592c7
Fix call to generated code on SPARC, by Juergen Keil.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2511 c046a42c-6fe2-441c-8c8c-71466251a162
2007-03-19 20:39:49 +00:00
ths
9bb234b3b1
Fix qemu crash due to sparc division-by-zero, by Aurelien Jarno.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2510 c046a42c-6fe2-441c-8c8c-71466251a162
2007-03-19 19:16:00 +00:00
ths
290a0933c0
Fix big endian host operation, by Ben Taylor and Igor Kovalenko.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2509 c046a42c-6fe2-441c-8c8c-71466251a162
2007-03-19 18:20:28 +00:00
ths
63a654bb39
trunc() for Solaris 9 / SPARC, by Juergen Keil.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2508 c046a42c-6fe2-441c-8c8c-71466251a162
2007-03-19 16:46:07 +00:00
ths
50d3eeae38
Close file descriptors when execing network tap setup script, by
...
Daniel P. Berrange.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2507 c046a42c-6fe2-441c-8c8c-71466251a162
2007-03-19 16:36:43 +00:00
ths
93815bc280
Improve -pidfile option, by Anthony Liguori.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2506 c046a42c-6fe2-441c-8c8c-71466251a162
2007-03-19 15:58:31 +00:00
ths
c35734b2a6
Add -name option, by Anthony Liguori.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2505 c046a42c-6fe2-441c-8c8c-71466251a162
2007-03-19 15:17:08 +00:00
ths
dcfb90144b
SCSI fixes, by Wang Cheng Yeh.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2504 c046a42c-6fe2-441c-8c8c-71466251a162
2007-03-19 14:49:29 +00:00
ths
8294eba187
SPARC host fixes, by Ben Taylor.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2503 c046a42c-6fe2-441c-8c8c-71466251a162
2007-03-19 14:47:40 +00:00
ths
ee999a8899
Handling more darwin-user syscalls, by Ilya Shar.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2502 c046a42c-6fe2-441c-8c8c-71466251a162
2007-03-19 13:43:04 +00:00
ths
b5906f9589
Linux usermode clock_gettime/clock_getres emulation, by Kirill A. Shutemov.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2501 c046a42c-6fe2-441c-8c8c-71466251a162
2007-03-19 13:32:45 +00:00
ths
d08d3bb851
Add missing header includes.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2500 c046a42c-6fe2-441c-8c8c-71466251a162
2007-03-19 13:09:22 +00:00
ths
01c227fba4
Fix allocation sizes in getpeername/getsockname, spotted by Kirill A. Shutemov.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2499 c046a42c-6fe2-441c-8c8c-71466251a162
2007-03-19 13:05:13 +00:00