ths [Sat, 31 Mar 2007 19:29:06 +0000 (19:29 +0000)]
Don't let sigaction handle SIGKILL/SIGSTOP, by Stuart Anderson.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2561
c046a42c-6fe2-441c-8c8c-
71466251a162
ths [Sat, 31 Mar 2007 19:10:01 +0000 (19:10 +0000)]
Update for binfmt_misc handler, by Stefan Weil.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2560
c046a42c-6fe2-441c-8c8c-
71466251a162
ths [Sat, 31 Mar 2007 18:59:32 +0000 (18:59 +0000)]
fcntl() remaining fix, by Stuart Anderson.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2559
c046a42c-6fe2-441c-8c8c-
71466251a162
ths [Sat, 31 Mar 2007 18:23:26 +0000 (18:23 +0000)]
Fix usb hid and mass-storage protocol revision, by Juergen Keil.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2558
c046a42c-6fe2-441c-8c8c-
71466251a162
ths [Sat, 31 Mar 2007 16:54:14 +0000 (16:54 +0000)]
Malta CBUS UART support.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2557
c046a42c-6fe2-441c-8c8c-
71466251a162
j_mayer [Sat, 31 Mar 2007 12:57:57 +0000 (12:57 +0000)]
Support for PowerPC BookE exception model.
No need to requeue timer exceptions.
Fix nip saving for 64 bits PowerPC.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2556
c046a42c-6fe2-441c-8c8c-
71466251a162
j_mayer [Sat, 31 Mar 2007 11:38:38 +0000 (11:38 +0000)]
Embedded PowerPC timers support.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2555
c046a42c-6fe2-441c-8c8c-
71466251a162
j_mayer [Sat, 31 Mar 2007 11:33:48 +0000 (11:33 +0000)]
Merge PowerPC 405 MMU model.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2554
c046a42c-6fe2-441c-8c8c-
71466251a162
j_mayer [Sat, 31 Mar 2007 11:10:49 +0000 (11:10 +0000)]
As embedded PowerPC TLB model is very different from PowerPC 6xx ones,
define ppc_tlb_t as an union of the two.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2553
c046a42c-6fe2-441c-8c8c-
71466251a162
j_mayer [Sat, 31 Mar 2007 09:59:47 +0000 (09:59 +0000)]
Better fix for OpenPIC: should not depend on PowerPC.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2552
c046a42c-6fe2-441c-8c8c-
71466251a162
ths [Fri, 30 Mar 2007 19:20:50 +0000 (19:20 +0000)]
Switch include for Solaris to avoid namespace issues. By Juergen Keil.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2551
c046a42c-6fe2-441c-8c8c-
71466251a162
ths [Fri, 30 Mar 2007 18:58:01 +0000 (18:58 +0000)]
Spelling fixes, by Stefan Weil.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2550
c046a42c-6fe2-441c-8c8c-
71466251a162
ths [Fri, 30 Mar 2007 18:56:19 +0000 (18:56 +0000)]
Update mips TODO.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2549
c046a42c-6fe2-441c-8c8c-
71466251a162
ths [Fri, 30 Mar 2007 18:42:21 +0000 (18:42 +0000)]
Fix typo, suggested by Ben Taylor.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2548
c046a42c-6fe2-441c-8c8c-
71466251a162
ths [Fri, 30 Mar 2007 17:48:00 +0000 (17:48 +0000)]
Squash logic bugs while they are fresh...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2547
c046a42c-6fe2-441c-8c8c-
71466251a162
ths [Fri, 30 Mar 2007 16:44:54 +0000 (16:44 +0000)]
Sanitize mips exception handling.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2546
c046a42c-6fe2-441c-8c8c-
71466251a162
ths [Fri, 30 Mar 2007 16:41:55 +0000 (16:41 +0000)]
Fix build failure.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2545
c046a42c-6fe2-441c-8c8c-
71466251a162
j_mayer [Fri, 30 Mar 2007 10:22:46 +0000 (10:22 +0000)]
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
j_mayer [Fri, 30 Mar 2007 10:07:33 +0000 (10:07 +0000)]
Fix / update PowerPC BookE definitions.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2543
c046a42c-6fe2-441c-8c8c-
71466251a162
j_mayer [Fri, 30 Mar 2007 09:38:04 +0000 (09:38 +0000)]
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
j_mayer [Wed, 28 Mar 2007 20:43:46 +0000 (20:43 +0000)]
Solaris host compilation fix by Shaddy Baddah.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2541
c046a42c-6fe2-441c-8c8c-
71466251a162
ths [Sun, 25 Mar 2007 21:33:06 +0000 (21:33 +0000)]
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
ths [Sun, 25 Mar 2007 20:55:00 +0000 (20:55 +0000)]
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
ths [Sun, 25 Mar 2007 20:27:04 +0000 (20:27 +0000)]
Fix segfault with -nographic, by Enache Adrian.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2538
c046a42c-6fe2-441c-8c8c-
71466251a162
ths [Sun, 25 Mar 2007 16:15:21 +0000 (16:15 +0000)]
Typo in configure, by Nicholas Sauzede.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2537
c046a42c-6fe2-441c-8c8c-
71466251a162
ths [Sun, 25 Mar 2007 16:14:07 +0000 (16:14 +0000)]
Improved kqemu error message, by Robert Millan.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2536
c046a42c-6fe2-441c-8c8c-
71466251a162
ths [Sun, 25 Mar 2007 15:58:03 +0000 (15:58 +0000)]
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
blueswir1 [Sun, 25 Mar 2007 07:55:52 +0000 (07:55 +0000)]
Sparc32/64 CPU selection
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2534
c046a42c-6fe2-441c-8c8c-
71466251a162
ths [Sat, 24 Mar 2007 23:36:18 +0000 (23:36 +0000)]
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
blueswir1 [Sat, 24 Mar 2007 13:24:09 +0000 (13:24 +0000)]
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
blueswir1 [Fri, 23 Mar 2007 20:01:20 +0000 (20:01 +0000)]
Sparc tagged operations (Aurelien Jarno)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2531
c046a42c-6fe2-441c-8c8c-
71466251a162
j_mayer [Fri, 23 Mar 2007 09:45:27 +0000 (09:45 +0000)]
Add missing PowerPC 64 instructions
PowerPC 64 fixes.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2530
c046a42c-6fe2-441c-8c8c-
71466251a162
j_mayer [Fri, 23 Mar 2007 09:40:22 +0000 (09:40 +0000)]
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
ths [Fri, 23 Mar 2007 00:43:28 +0000 (00:43 +0000)]
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
j_mayer [Thu, 22 Mar 2007 22:41:50 +0000 (22:41 +0000)]
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
j_mayer [Thu, 22 Mar 2007 22:17:08 +0000 (22:17 +0000)]
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
ths [Thu, 22 Mar 2007 15:08:55 +0000 (15:08 +0000)]
Fix fcntl64 logic bug, by Kirill A. Shutemov.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2525
c046a42c-6fe2-441c-8c8c-
71466251a162
ths [Thu, 22 Mar 2007 12:36:53 +0000 (12:36 +0000)]
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
blueswir1 [Wed, 21 Mar 2007 19:45:50 +0000 (19:45 +0000)]
Fix Sparc branches, original patch by Aurelien Jarno
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2523
c046a42c-6fe2-441c-8c8c-
71466251a162
ths [Wed, 21 Mar 2007 11:04:42 +0000 (11:04 +0000)]
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
j_mayer [Wed, 21 Mar 2007 08:21:02 +0000 (08:21 +0000)]
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
j_mayer [Tue, 20 Mar 2007 22:25:37 +0000 (22:25 +0000)]
Ooops... Typo.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2520
c046a42c-6fe2-441c-8c8c-
71466251a162
j_mayer [Tue, 20 Mar 2007 22:11:31 +0000 (22:11 +0000)]
PowerPC 2.03 SPE extension - first pass.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2519
c046a42c-6fe2-441c-8c8c-
71466251a162
j_mayer [Tue, 20 Mar 2007 22:10:42 +0000 (22:10 +0000)]
Add missing softfloat helpers.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2518
c046a42c-6fe2-441c-8c8c-
71466251a162
ths [Tue, 20 Mar 2007 21:50:52 +0000 (21:50 +0000)]
fcntl64 fix, by Kirill A. Shutemov.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2517
c046a42c-6fe2-441c-8c8c-
71466251a162
ths [Tue, 20 Mar 2007 16:54:50 +0000 (16:54 +0000)]
SlavIO Counter-Timers fix, by Aurelien Jarno.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2516
c046a42c-6fe2-441c-8c8c-
71466251a162
ths [Tue, 20 Mar 2007 16:52:54 +0000 (16:52 +0000)]
SlavIO interrupt controller fix, by Aurelien Jarno.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2515
c046a42c-6fe2-441c-8c8c-
71466251a162
ths [Tue, 20 Mar 2007 16:45:27 +0000 (16:45 +0000)]
VMMouse Emulation, by Anthony Liguori.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2514
c046a42c-6fe2-441c-8c8c-
71466251a162
ths [Mon, 19 Mar 2007 22:15:30 +0000 (22:15 +0000)]
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
ths [Mon, 19 Mar 2007 21:46:06 +0000 (21:46 +0000)]
Define gen_intermediate_code_internal as "static inline".
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2512
c046a42c-6fe2-441c-8c8c-
71466251a162
ths [Mon, 19 Mar 2007 20:39:49 +0000 (20:39 +0000)]
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
ths [Mon, 19 Mar 2007 19:16:00 +0000 (19:16 +0000)]
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
ths [Mon, 19 Mar 2007 18:20:28 +0000 (18:20 +0000)]
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
ths [Mon, 19 Mar 2007 16:46:07 +0000 (16:46 +0000)]
trunc() for Solaris 9 / SPARC, by Juergen Keil.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2508
c046a42c-6fe2-441c-8c8c-
71466251a162
ths [Mon, 19 Mar 2007 16:36:43 +0000 (16:36 +0000)]
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
ths [Mon, 19 Mar 2007 15:58:31 +0000 (15:58 +0000)]
Improve -pidfile option, by Anthony Liguori.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2506
c046a42c-6fe2-441c-8c8c-
71466251a162
ths [Mon, 19 Mar 2007 15:17:08 +0000 (15:17 +0000)]
Add -name option, by Anthony Liguori.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2505
c046a42c-6fe2-441c-8c8c-
71466251a162
ths [Mon, 19 Mar 2007 14:49:29 +0000 (14:49 +0000)]
SCSI fixes, by Wang Cheng Yeh.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2504
c046a42c-6fe2-441c-8c8c-
71466251a162
ths [Mon, 19 Mar 2007 14:47:40 +0000 (14:47 +0000)]
SPARC host fixes, by Ben Taylor.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2503
c046a42c-6fe2-441c-8c8c-
71466251a162
ths [Mon, 19 Mar 2007 13:43:04 +0000 (13:43 +0000)]
Handling more darwin-user syscalls, by Ilya Shar.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2502
c046a42c-6fe2-441c-8c8c-
71466251a162
ths [Mon, 19 Mar 2007 13:32:45 +0000 (13:32 +0000)]
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
ths [Mon, 19 Mar 2007 13:09:22 +0000 (13:09 +0000)]
Add missing header includes.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2500
c046a42c-6fe2-441c-8c8c-
71466251a162
ths [Mon, 19 Mar 2007 13:05:13 +0000 (13:05 +0000)]
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
ths [Mon, 19 Mar 2007 12:22:40 +0000 (12:22 +0000)]
Solaris needs -lrt, spotted by Ben Taylor.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2498
c046a42c-6fe2-441c-8c8c-
71466251a162
ths [Mon, 19 Mar 2007 12:16:29 +0000 (12:16 +0000)]
Support -cpu selection for mips usermode emulation. Fix segfault when
dispaying the -cpu list help.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2497
c046a42c-6fe2-441c-8c8c-
71466251a162
j_mayer [Mon, 19 Mar 2007 08:08:28 +0000 (08:08 +0000)]
Add -cpu option for linux user emulation.
Only usable for PowerPC and ARM for now.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2496
c046a42c-6fe2-441c-8c8c-
71466251a162
ths [Sun, 18 Mar 2007 23:23:31 +0000 (23:23 +0000)]
Disable compiler options dangerous for op compilation.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2495
c046a42c-6fe2-441c-8c8c-
71466251a162
ths [Sun, 18 Mar 2007 22:18:43 +0000 (22:18 +0000)]
A VGA card for the Malta board.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2494
c046a42c-6fe2-441c-8c8c-
71466251a162
ths [Sun, 18 Mar 2007 12:43:40 +0000 (12:43 +0000)]
Fix BD flag handling, cause register contents, implement some more bits
for R2 interrupt handling.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2493
c046a42c-6fe2-441c-8c8c-
71466251a162
j_mayer [Sun, 18 Mar 2007 08:47:10 +0000 (08:47 +0000)]
As icbi is not a priviledge instruction and is treated as a load by the MMU
it needs to be implemented for every MMU translation mode.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2492
c046a42c-6fe2-441c-8c8c-
71466251a162
ths [Sun, 18 Mar 2007 00:30:29 +0000 (00:30 +0000)]
MIPS -cpu selection support, by Herve Poussineau.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2491
c046a42c-6fe2-441c-8c8c-
71466251a162
pbrook [Sat, 17 Mar 2007 16:59:31 +0000 (16:59 +0000)]
OHCI USB PXA support (Andrzej Zaborowski).
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2490
c046a42c-6fe2-441c-8c8c-
71466251a162
ths [Sat, 17 Mar 2007 15:39:48 +0000 (15:39 +0000)]
Note FPU enable/disable issue.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2489
c046a42c-6fe2-441c-8c8c-
71466251a162
ths [Sat, 17 Mar 2007 15:21:30 +0000 (15:21 +0000)]
Remove useless static specifier.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2488
c046a42c-6fe2-441c-8c8c-
71466251a162
ths [Sat, 17 Mar 2007 15:17:58 +0000 (15:17 +0000)]
Better ioport debugging output.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2487
c046a42c-6fe2-441c-8c8c-
71466251a162
ths [Sat, 17 Mar 2007 15:00:37 +0000 (15:00 +0000)]
Better way to select -lrt, by Andrzei Zaborowski.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2486
c046a42c-6fe2-441c-8c8c-
71466251a162
ths [Sat, 17 Mar 2007 14:55:30 +0000 (14:55 +0000)]
Don't fail for "revert to poweron defaults" IDE command, by Carlo
Marcelo Arenas Belon.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2485
c046a42c-6fe2-441c-8c8c-
71466251a162
ths [Sat, 17 Mar 2007 14:54:15 +0000 (14:54 +0000)]
Allow disabling IDE block mode, by Carlo Marcelo Arenas Belon.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2484
c046a42c-6fe2-441c-8c8c-
71466251a162
j_mayer [Sat, 17 Mar 2007 14:04:57 +0000 (14:04 +0000)]
Add PowerPC 64 target for tests.
As no PowerPC 64 CPU is implemented, this target can just be used to check that
there is no difference between PowerPC 32 & PowerPC 64 used in 32 bits mode.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2483
c046a42c-6fe2-441c-8c8c-
71466251a162
j_mayer [Sat, 17 Mar 2007 14:02:15 +0000 (14:02 +0000)]
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.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2482
c046a42c-6fe2-441c-8c8c-
71466251a162
pbrook [Sat, 17 Mar 2007 01:43:01 +0000 (01:43 +0000)]
ARM register index+writeback fix (Lauro Ramos Venancio).
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2481
c046a42c-6fe2-441c-8c8c-
71466251a162
pbrook [Sat, 17 Mar 2007 01:27:24 +0000 (01:27 +0000)]
Usermode recv syscall fix.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2480
c046a42c-6fe2-441c-8c8c-
71466251a162
pbrook [Fri, 16 Mar 2007 23:58:11 +0000 (23:58 +0000)]
Watchpoint support (previous commit got eaten by Savannah server crash).
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2479
c046a42c-6fe2-441c-8c8c-
71466251a162
pbrook [Thu, 15 Mar 2007 21:56:07 +0000 (21:56 +0000)]
Align stack when loading bFLT binaries.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2478
c046a42c-6fe2-441c-8c8c-
71466251a162
pbrook [Sun, 11 Mar 2007 18:54:57 +0000 (18:54 +0000)]
SMP half-idle fix.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2477
c046a42c-6fe2-441c-8c8c-
71466251a162
pbrook [Sun, 11 Mar 2007 13:03:18 +0000 (13:03 +0000)]
ARM reabbot support (orginal patch by Aurelien Jarno).
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2476
c046a42c-6fe2-441c-8c8c-
71466251a162
pbrook [Thu, 8 Mar 2007 03:15:18 +0000 (03:15 +0000)]
Fix typo in help output.
List ARM cpus.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2475
c046a42c-6fe2-441c-8c8c-
71466251a162
pbrook [Thu, 8 Mar 2007 03:04:12 +0000 (03:04 +0000)]
Implement --cpu for ARM.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2474
c046a42c-6fe2-441c-8c8c-
71466251a162
j_mayer [Wed, 7 Mar 2007 08:32:30 +0000 (08:32 +0000)]
Great PowerPC emulation code resynchronisation and improvments:
- Add status file to make regression tracking easier
- Move all micro-operations helpers definitions into a separate header:
should never be seen outside of op.c
- Update copyrights
- Add new / missing PowerPC CPU definitions
- Add definitions for PowerPC BookE
- Add support for PowerPC 6xx/7xx software driven TLBs
Allow use of PowerPC 603 as an example
- Add preliminary code for POWER, POWER2, PowerPC 403, 405, 440, 601, 602
and BookE support
- Avoid compiling priviledged only resources support for user-mode emulation
- Remove unused helpers / micro-ops / dead code
- Add instructions usage statistics dump: useful to figure which instructions
need strong optimizations.
- Micro-operation fixes:
* add missing RETURN in some micro-ops
* fix prototypes
* use softfloat routines for all floating-point operations
* fix tlbie instruction
* move some huge micro-operations into helpers
- emulation fixes:
* fix inverted opcodes for fcmpo / fcmpu
* condition register update is always to be done after the whole
instruction has completed
* add missing NIP updates when calling helpers that may generate an
exception
- optimizations and improvments:
* optimize very often used instructions (li, mr, rlwixx...)
* remove specific micro-ops for rarely used instructions
* add routines for addresses computations to avoid bugs due to multiple
different implementations
* fix TB linking: do not reset T0 at the end of every TB.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2473
c046a42c-6fe2-441c-8c8c-
71466251a162
pbrook [Tue, 6 Mar 2007 23:52:01 +0000 (23:52 +0000)]
Simple u-boot image loading support.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2472
c046a42c-6fe2-441c-8c8c-
71466251a162
ths [Tue, 6 Mar 2007 20:31:09 +0000 (20:31 +0000)]
Fix GT-64xxx PCI mapping, by Aurelien Jarno.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2471
c046a42c-6fe2-441c-8c8c-
71466251a162
ths [Tue, 6 Mar 2007 19:36:53 +0000 (19:36 +0000)]
Fix typo in PCI bridge code.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2470
c046a42c-6fe2-441c-8c8c-
71466251a162
ths [Tue, 6 Mar 2007 18:56:13 +0000 (18:56 +0000)]
Fix unportable bitfields use which broke pcnet for big endian hosts.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2469
c046a42c-6fe2-441c-8c8c-
71466251a162
j_mayer [Mon, 5 Mar 2007 19:44:02 +0000 (19:44 +0000)]
New -cpu options: choose CPU model for emulated target.
Only relevant on PowerPC targets, for now.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2468
c046a42c-6fe2-441c-8c8c-
71466251a162
pbrook [Sun, 4 Mar 2007 00:52:16 +0000 (00:52 +0000)]
64bit->win32 cross build fix.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2467
c046a42c-6fe2-441c-8c8c-
71466251a162
ths [Sat, 3 Mar 2007 21:47:02 +0000 (21:47 +0000)]
Fix configure typo, by Juergen Lock.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2466
c046a42c-6fe2-441c-8c8c-
71466251a162
ths [Fri, 2 Mar 2007 20:48:00 +0000 (20:48 +0000)]
MIPS Userland TLS register emulation, by Daniel Jacobowitz.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2465
c046a42c-6fe2-441c-8c8c-
71466251a162
ths [Fri, 2 Mar 2007 20:36:23 +0000 (20:36 +0000)]
Fix wrong interrupt number for the second serial interface.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2464
c046a42c-6fe2-441c-8c8c-
71466251a162
ths [Wed, 28 Feb 2007 22:37:42 +0000 (22:37 +0000)]
MIPS FPU dynamic activation, part 1, by Herve Poussineau.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2463
c046a42c-6fe2-441c-8c8c-
71466251a162
ths [Wed, 28 Feb 2007 22:01:13 +0000 (22:01 +0000)]
Mention ds1225y support.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2462
c046a42c-6fe2-441c-8c8c-
71466251a162