sdk/emulator/qemu.git
16 years agoFix signed/unsigned comparisons in OHCI host.
balrog [Tue, 13 Nov 2007 22:52:54 +0000 (22:52 +0000)]
Fix signed/unsigned comparisons in OHCI host.
ADS7846 is partially compatible with TSC2046.

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

16 years agoRevert an accidental change in previous commit.
balrog [Tue, 13 Nov 2007 01:56:12 +0000 (01:56 +0000)]
Revert an accidental change in previous commit.

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

16 years agoPrevent cpsr_write/_read be put out of line in op.o (fixes a segfault on some platforms).
balrog [Tue, 13 Nov 2007 01:50:15 +0000 (01:50 +0000)]
Prevent cpsr_write/_read be put out of line in op.o (fixes a segfault on some platforms).

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

16 years agoAdd PVR and SPR definition for most embedded PowerPC from Freescale.
j_mayer [Mon, 12 Nov 2007 23:40:49 +0000 (23:40 +0000)]
Add PVR and SPR definition for most embedded PowerPC from Freescale.

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

16 years agoPowerPC SPE extension fix: must always preserve GPR high bits when
j_mayer [Mon, 12 Nov 2007 23:29:14 +0000 (23:29 +0000)]
PowerPC SPE extension fix: must always preserve GPR high bits when
  running in 32 bits mode.

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

16 years agoadded missing return
bellard [Mon, 12 Nov 2007 23:12:17 +0000 (23:12 +0000)]
added missing return

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

16 years agoreduce verbosity
bellard [Mon, 12 Nov 2007 21:16:08 +0000 (21:16 +0000)]
reduce verbosity

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

16 years agoAllow use of SPE extension by all PowerPC targets,
j_mayer [Mon, 12 Nov 2007 01:56:18 +0000 (01:56 +0000)]
Allow use of SPE extension by all PowerPC targets,
  adding gprh registers to store GPR MSBs when GPRs are 32 bits.
Remove not-needed-anymore ppcemb-linux-user target.
Keep ppcemb-softmmu target, which provides 1kB pages support
  and 36 bits physical address space.

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

16 years agoMore PowerPC target -1 usage fixes (reservation address).
j_mayer [Mon, 12 Nov 2007 00:50:50 +0000 (00:50 +0000)]
More PowerPC target -1 usage fixes (reservation address).

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

16 years agoFix usage of the -1 constant in the PowerPC target code:
j_mayer [Mon, 12 Nov 2007 00:04:48 +0000 (00:04 +0000)]
Fix usage of the -1 constant in the PowerPC target code:
fix invalid size casts and/or sign-extensions.

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

16 years ago64 bit cast for dirent64
bellard [Sun, 11 Nov 2007 23:11:36 +0000 (23:11 +0000)]
64 bit cast for dirent64

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

16 years agofixed more invalid pointer usage
bellard [Sun, 11 Nov 2007 23:03:42 +0000 (23:03 +0000)]
fixed more invalid pointer usage

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

16 years agouser access fixes
bellard [Sun, 11 Nov 2007 22:23:38 +0000 (22:23 +0000)]
user access fixes

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

16 years ago64 bit compilation fixes
bellard [Sun, 11 Nov 2007 22:22:34 +0000 (22:22 +0000)]
64 bit compilation fixes

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

16 years agoconsistent types for cpu_x86_fsave and cpu_x86_frstor
bellard [Sun, 11 Nov 2007 22:16:56 +0000 (22:16 +0000)]
consistent types for cpu_x86_fsave and cpu_x86_frstor

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

16 years agobetter to disable -Werror by default as 64 bit hosts still have warnings
bellard [Sun, 11 Nov 2007 20:24:30 +0000 (20:24 +0000)]
better to disable -Werror by default as 64 bit hosts still have warnings

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

16 years agoupdate
bellard [Sun, 11 Nov 2007 20:17:14 +0000 (20:17 +0000)]
update

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

16 years agooptions to enable or disable -Werror. Enable -Werror for builds from CVS by default
bellard [Sun, 11 Nov 2007 20:17:03 +0000 (20:17 +0000)]
options to enable or disable -Werror. Enable -Werror for builds from CVS by default

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

16 years agoremoved warning
bellard [Sun, 11 Nov 2007 20:14:28 +0000 (20:14 +0000)]
removed warning

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

16 years agoremoved warning
bellard [Sun, 11 Nov 2007 19:50:22 +0000 (19:50 +0000)]
removed warning

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

16 years agofixed FPU rounding init
bellard [Sun, 11 Nov 2007 19:49:51 +0000 (19:49 +0000)]
fixed FPU rounding init

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

16 years agoremoved unused variable
bellard [Sun, 11 Nov 2007 19:49:08 +0000 (19:49 +0000)]
removed unused variable

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

16 years agofixed cast
bellard [Sun, 11 Nov 2007 19:48:47 +0000 (19:48 +0000)]
fixed cast

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

16 years agoremoved unused variables
bellard [Sun, 11 Nov 2007 19:48:33 +0000 (19:48 +0000)]
removed unused variables

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

16 years agouse correct printf format
bellard [Sun, 11 Nov 2007 19:47:59 +0000 (19:47 +0000)]
use correct printf format

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

16 years agofixed invalid constant
bellard [Sun, 11 Nov 2007 19:47:02 +0000 (19:47 +0000)]
fixed invalid constant

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

16 years agoremoved unused code
bellard [Sun, 11 Nov 2007 19:46:37 +0000 (19:46 +0000)]
removed unused code

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

16 years agoremoved warnings - improved sparc32/64 signal frame setup - disabled x86 frame setup...
bellard [Sun, 11 Nov 2007 19:45:10 +0000 (19:45 +0000)]
removed warnings - improved sparc32/64 signal frame setup - disabled x86 frame setup for x86_64

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

16 years agoremoved warning
bellard [Sun, 11 Nov 2007 19:34:32 +0000 (19:34 +0000)]
removed warning

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

16 years agosparc64_[get|set]_context are not meaningful in abi32 mode
bellard [Sun, 11 Nov 2007 19:32:52 +0000 (19:32 +0000)]
sparc64_[get|set]_context are not meaningful in abi32 mode

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

16 years agobetter than nothing 64 bit support - added sign extension for TYPE_LONG
bellard [Sun, 11 Nov 2007 19:31:34 +0000 (19:31 +0000)]
better than nothing 64 bit support - added sign extension for TYPE_LONG

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

16 years ago Add SPARCserver 600MP emulation (original patch by Robert Reif)
blueswir1 [Sun, 11 Nov 2007 17:56:38 +0000 (17:56 +0000)]
 Add SPARCserver 600MP emulation (original patch by Robert Reif)

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

16 years agohex numbers must have a leading 0x
bellard [Sun, 11 Nov 2007 17:55:50 +0000 (17:55 +0000)]
hex numbers must have a leading 0x

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

16 years agoremoved invalid use of _INTC_ARRAY
bellard [Sun, 11 Nov 2007 17:51:40 +0000 (17:51 +0000)]
removed invalid use of _INTC_ARRAY

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

16 years agosuppressed invalid TARGET_CMSG_FIRSTHDR macro
bellard [Sun, 11 Nov 2007 17:39:38 +0000 (17:39 +0000)]
suppressed invalid TARGET_CMSG_FIRSTHDR macro

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

16 years agoimproved cmsg handling - improved shm memory code
bellard [Sun, 11 Nov 2007 17:39:18 +0000 (17:39 +0000)]
improved cmsg handling - improved shm memory code

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

16 years agoremoved warning
bellard [Sun, 11 Nov 2007 17:26:45 +0000 (17:26 +0000)]
removed warning

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

16 years agouse -fno-strict-aliasing
bellard [Sun, 11 Nov 2007 17:26:21 +0000 (17:26 +0000)]
use -fno-strict-aliasing

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

16 years agofixed invalid cast
bellard [Sun, 11 Nov 2007 17:25:52 +0000 (17:25 +0000)]
fixed invalid cast

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

16 years agouse correct types
bellard [Sun, 11 Nov 2007 17:23:29 +0000 (17:23 +0000)]
use correct types

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

16 years agoprintf format fixes
bellard [Sun, 11 Nov 2007 17:22:48 +0000 (17:22 +0000)]
printf format fixes

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

16 years ago Fix Sun4u compile
blueswir1 [Sun, 11 Nov 2007 16:51:04 +0000 (16:51 +0000)]
 Fix Sun4u compile

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

16 years agoremoved warnings - fixed arm stack copy bug
bellard [Sun, 11 Nov 2007 16:22:17 +0000 (16:22 +0000)]
removed warnings - fixed arm stack copy bug

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

16 years agoremoved warning
bellard [Sun, 11 Nov 2007 16:05:35 +0000 (16:05 +0000)]
removed warning

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

16 years agomove get_errno() inside do_fcntl()
bellard [Sun, 11 Nov 2007 15:11:19 +0000 (15:11 +0000)]
move get_errno() inside do_fcntl()

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

16 years agono longer use get_errno for do_modify_ldt()
bellard [Sun, 11 Nov 2007 14:57:14 +0000 (14:57 +0000)]
no longer use get_errno for do_modify_ldt()

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

16 years agoFix format mismatch.
pbrook [Sun, 11 Nov 2007 14:52:02 +0000 (14:52 +0000)]
Fix format mismatch.

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

16 years agofixed error codes
bellard [Sun, 11 Nov 2007 14:50:32 +0000 (14:50 +0000)]
fixed error codes

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

16 years ago-strace option
bellard [Sun, 11 Nov 2007 14:46:06 +0000 (14:46 +0000)]
-strace option

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

16 years agoFix PowerPC boot device selection.
j_mayer [Sun, 11 Nov 2007 14:44:28 +0000 (14:44 +0000)]
Fix PowerPC boot device selection.
Fix gcc warning in PowerPC PreP machine init routine.
Add second IDE channel to Heathrow Mac machine (still not handled by OHW).

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

16 years agocompilation fixes
bellard [Sun, 11 Nov 2007 14:43:13 +0000 (14:43 +0000)]
compilation fixes

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

16 years agoFix msr_mask.
pbrook [Sun, 11 Nov 2007 14:36:36 +0000 (14:36 +0000)]
Fix msr_mask.

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

16 years agoLinux user memory access API change (initial patch by Thayne Harbaugh)
bellard [Sun, 11 Nov 2007 14:26:47 +0000 (14:26 +0000)]
Linux user memory access API change (initial patch by Thayne Harbaugh)

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

16 years agofixed invalid type
bellard [Sun, 11 Nov 2007 12:35:55 +0000 (12:35 +0000)]
fixed invalid type

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

16 years agomips_r4k warning fixes.
pbrook [Sun, 11 Nov 2007 12:02:33 +0000 (12:02 +0000)]
mips_r4k warning fixes.

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

16 years agoblock-raw/kqemu fix.
pbrook [Sun, 11 Nov 2007 11:43:27 +0000 (11:43 +0000)]
block-raw/kqemu fix.

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

16 years agoCleanup qemu-img.c.
pbrook [Sun, 11 Nov 2007 03:33:13 +0000 (03:33 +0000)]
Cleanup qemu-img.c.

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

16 years agoSplit block API from vl.h.
pbrook [Sun, 11 Nov 2007 02:51:17 +0000 (02:51 +0000)]
Split block API from vl.h.
Remove QEMU_TOOL. Replace with QEMU_IMG and NEED_CPU_H.
Avoid linking qemu-img against whole system emulatior.

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

16 years agoMore generic boot devices specification, allowing more devices to be specified
j_mayer [Sun, 11 Nov 2007 01:50:45 +0000 (01:50 +0000)]
More generic boot devices specification, allowing more devices to be specified
and avoiding per-target hardcoded limitations.
The machine implementations can then check if the given devices match the
actual hardware implementation and firmware API.

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

16 years agoRemove duplicate i2c.o.
pbrook [Sun, 11 Nov 2007 01:18:28 +0000 (01:18 +0000)]
Remove duplicate i2c.o.

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

16 years agoFix POWER abs & abso computation.
j_mayer [Sun, 11 Nov 2007 00:33:08 +0000 (00:33 +0000)]
Fix POWER abs & abso computation.
Fix PowerPC SPE evabs & evneg (thanks to Fabrice Bellard for reporting the bug)

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

16 years agoOptimize PowerPC overflow flag computation in most useful cases.
j_mayer [Sun, 11 Nov 2007 00:18:34 +0000 (00:18 +0000)]
Optimize PowerPC overflow flag computation in most useful cases.
Use the same routines to check overflow for addo, subfo and PowerPC 405
  multiply and add cases.
Fix carry reset in addme(o) and subfme(o) cases.

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

16 years agoFix typo.
ths [Sun, 11 Nov 2007 00:16:10 +0000 (00:16 +0000)]
Fix typo.

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

16 years agoARMv7 support.
pbrook [Sun, 11 Nov 2007 00:04:49 +0000 (00:04 +0000)]
ARMv7 support.

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

16 years agoAllow selection of PowerPC CPU giving a PVR.
j_mayer [Sat, 10 Nov 2007 23:51:02 +0000 (23:51 +0000)]
Allow selection of PowerPC CPU giving a PVR.
Remove unused pvr_mask field from CPU definition.

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

16 years agoalways use mktimegm
bellard [Sat, 10 Nov 2007 19:36:39 +0000 (19:36 +0000)]
always use mktimegm

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

16 years agoFix Makefile dependencies.
pbrook [Sat, 10 Nov 2007 19:30:52 +0000 (19:30 +0000)]
Fix Makefile dependencies.

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

16 years agoFix build failure.
pbrook [Sat, 10 Nov 2007 19:21:30 +0000 (19:21 +0000)]
Fix build failure.

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

16 years agoAdd dummy m68k board.
pbrook [Sat, 10 Nov 2007 18:03:23 +0000 (18:03 +0000)]
Add dummy m68k board.

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

16 years agoFix m68k FP register debug dumps.
pbrook [Sat, 10 Nov 2007 17:43:49 +0000 (17:43 +0000)]
Fix m68k FP register debug dumps.

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

16 years agoUpdate ARM disassembler.
pbrook [Sat, 10 Nov 2007 17:38:00 +0000 (17:38 +0000)]
Update ARM disassembler.

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

16 years agoFix 64-bit host printf format mismatches.
pbrook [Sat, 10 Nov 2007 16:34:46 +0000 (16:34 +0000)]
Fix 64-bit host printf format mismatches.

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

16 years agoexported display init functions to common code
bellard [Sat, 10 Nov 2007 15:36:21 +0000 (15:36 +0000)]
exported display init functions to common code

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

16 years agoadded cpu_model parameter to cpu_init()
bellard [Sat, 10 Nov 2007 15:15:54 +0000 (15:15 +0000)]
added cpu_model parameter to cpu_init()

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

16 years ago More Sparc64 CPU definitions
blueswir1 [Sat, 10 Nov 2007 09:32:02 +0000 (09:32 +0000)]
 More Sparc64 CPU definitions

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

16 years agoUse FORCE_RET, scrap RETURN which was implemented in target-specific code.
ths [Fri, 9 Nov 2007 23:09:41 +0000 (23:09 +0000)]
Use FORCE_RET, scrap RETURN which was implemented in target-specific code.

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

16 years ago More CPU definitions
blueswir1 [Fri, 9 Nov 2007 19:08:43 +0000 (19:08 +0000)]
 More CPU definitions

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

16 years agoFix typo, spotted by Samuel Thibault.
ths [Fri, 9 Nov 2007 18:17:50 +0000 (18:17 +0000)]
Fix typo, spotted by Samuel Thibault.

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

16 years agoMove kernel loader parameters from the cpu state to being board specific.
ths [Fri, 9 Nov 2007 17:52:11 +0000 (17:52 +0000)]
Move kernel loader parameters from the cpu state to being board specific.

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

16 years agoClean out the N32 macros from target-mips, and introduce MIPS ABI specific
ths [Thu, 8 Nov 2007 18:05:37 +0000 (18:05 +0000)]
Clean out the N32 macros from target-mips, and introduce MIPS ABI specific
defines for linux-user.

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

16 years agoMore .cvsignore.
ths [Thu, 8 Nov 2007 16:44:36 +0000 (16:44 +0000)]
More .cvsignore.

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

16 years agoFormatting fix.
ths [Thu, 8 Nov 2007 16:44:01 +0000 (16:44 +0000)]
Formatting fix.

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

16 years ago.cvsignore dependency files.
ths [Thu, 8 Nov 2007 16:43:05 +0000 (16:43 +0000)]
.cvsignore dependency files.

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

16 years agoRevert "Last AIO Patch" as requested by Fabrice, it is incomplete and
ths [Thu, 8 Nov 2007 16:38:17 +0000 (16:38 +0000)]
Revert "Last AIO Patch" as requested by Fabrice, it is incomplete and
breaks other (non-Windows) systems.

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

16 years agoremoved obsolete x86 code copy support
bellard [Thu, 8 Nov 2007 14:25:03 +0000 (14:25 +0000)]
removed obsolete x86 code copy support

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

16 years agoremoved
bellard [Thu, 8 Nov 2007 14:24:28 +0000 (14:24 +0000)]
removed

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

16 years agoremoved unused code
bellard [Thu, 8 Nov 2007 14:01:49 +0000 (14:01 +0000)]
removed unused code

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

16 years agoadded -cpu option for x86 - fixed glibc hack in case the global variables are moved
bellard [Thu, 8 Nov 2007 13:56:19 +0000 (13:56 +0000)]
added -cpu option for x86 - fixed glibc hack in case the global variables are moved

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

16 years agoadded -cpu option for x86 (initial patch by Dan Kenigsberg)
bellard [Thu, 8 Nov 2007 13:28:47 +0000 (13:28 +0000)]
added -cpu option for x86 (initial patch by Dan Kenigsberg)

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

17 years agouse config-host.h instead of config.h
bellard [Wed, 7 Nov 2007 19:27:18 +0000 (19:27 +0000)]
use config-host.h instead of config.h

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

17 years agofixed QEMU_TOOL tests
bellard [Wed, 7 Nov 2007 19:26:22 +0000 (19:26 +0000)]
fixed QEMU_TOOL tests

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

17 years agoSDL and COCA are no longer target dependent - support for common code compilation
bellard [Wed, 7 Nov 2007 19:25:15 +0000 (19:25 +0000)]
SDL and COCA are no longer target dependent - support for common code compilation

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

17 years agocompile common code once
bellard [Wed, 7 Nov 2007 19:24:02 +0000 (19:24 +0000)]
compile common code once

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

17 years ago CPU specific boot mode (Robert Reif)
blueswir1 [Wed, 7 Nov 2007 17:03:37 +0000 (17:03 +0000)]
 CPU specific boot mode (Robert Reif)

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

17 years agoremoved traces
bellard [Wed, 7 Nov 2007 16:54:42 +0000 (16:54 +0000)]
removed traces

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

17 years agoadded -startdate option
bellard [Wed, 7 Nov 2007 16:24:33 +0000 (16:24 +0000)]
added -startdate option

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

17 years agomoved declarations
bellard [Wed, 7 Nov 2007 16:07:32 +0000 (16:07 +0000)]
moved declarations

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

17 years agoAdd -lpthread flag.
ths [Mon, 5 Nov 2007 13:27:21 +0000 (13:27 +0000)]
Add -lpthread flag.

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

17 years agoFix muls64 prototype to match the actual implementation.
j_mayer [Mon, 5 Nov 2007 13:16:23 +0000 (13:16 +0000)]
Fix muls64 prototype to match the actual implementation.

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

17 years agoCode used by the linux-user targets should not use vl.h.
j_mayer [Mon, 5 Nov 2007 13:01:41 +0000 (13:01 +0000)]
Code used by the linux-user targets should not use vl.h.
Include exec.h instead.

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