Commit Graph

3332 Commits

Author SHA1 Message Date
j_mayer
cbecba264b Move likely and unlikely macros in a common place (Aurelien Jarno).
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3192 c046a42c-6fe2-441c-8c8c-71466251a162
2007-09-20 09:44:48 +00:00
j_mayer
ff937dbad1 More PowerPC registers definitions.
Avoid duplicating code and, as a side effect, fix missing bits in MSR.


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3191 c046a42c-6fe2-441c-8c8c-71466251a162
2007-09-19 05:49:13 +00:00
j_mayer
71c8b8fd7b TARGET_FMT_lu may also be useful.
Fix compilation warnings.


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3190 c046a42c-6fe2-441c-8c8c-71466251a162
2007-09-19 05:46:03 +00:00
j_mayer
5eb7995e34 Code provision for PowerPC BookE MMU model support.
Better MSR flags initialisation.


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3189 c046a42c-6fe2-441c-8c8c-71466251a162
2007-09-19 05:44:04 +00:00
j_mayer
1527c87eee Improve PowerPC target implementation, using computed hflags as TB flags.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3188 c046a42c-6fe2-441c-8c8c-71466251a162
2007-09-19 05:37:56 +00:00
j_mayer
0686970f81 Avoid Linux to stay stucked in an infinite loop when requesting a reboot.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3187 c046a42c-6fe2-441c-8c8c-71466251a162
2007-09-19 04:46:57 +00:00
j_mayer
caa4039ced Code provision for PowerPC 64 MMU model support.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3186 c046a42c-6fe2-441c-8c8c-71466251a162
2007-09-19 04:36:02 +00:00
j_mayer
8b67546f65 More PowerPC target cleanups:
- remove unuseful historical macros and definitions
- fix comments (bugs and cosmetics)


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3185 c046a42c-6fe2-441c-8c8c-71466251a162
2007-09-19 04:34:09 +00:00
j_mayer
7ec93196fa Fix invalid MAP_xxx flags for PowerPC targets.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3184 c046a42c-6fe2-441c-8c8c-71466251a162
2007-09-18 21:54:57 +00:00
j_mayer
be58fc7cc7 Always keep the bootinfo structure in the first 16 MB,
as suggested by Andrew May.
Fix compilation warnings introduced by variables types changes.


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3183 c046a42c-6fe2-441c-8c8c-71466251a162
2007-09-18 21:47:18 +00:00
j_mayer
d9d7210c7d Fix PowerPC 32 emulation on 64 bits hosts:
we can use 64 bits registers but not pretend page is 1kB long
As it seems most Linux programs assume page-size is 4kB, never allow
1kB pages for user-mode only emulation.


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3182 c046a42c-6fe2-441c-8c8c-71466251a162
2007-09-18 11:17:30 +00:00
balrog
e2b577e5e5 Prevent segfaulting when -clock is specified multiple times.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3181 c046a42c-6fe2-441c-8c8c-71466251a162
2007-09-17 21:25:20 +00:00
balrog
926acf8f73 Pass correct pointer to HID keyboard event handler, fixes regression from IDLE mode introduction.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3180 c046a42c-6fe2-441c-8c8c-71466251a162
2007-09-17 17:27:00 +00:00
j_mayer
966439a678 PowerPC flags update/use fixes:
- fix confusion between overflow/summary overflow, as reported by S Bansal.
- reset carry in addic. optimized case (as it was already done in addic).


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3179 c046a42c-6fe2-441c-8c8c-71466251a162
2007-09-17 09:51:40 +00:00
j_mayer
3608160206 Coding style fixes in PowerPC related code (no functional change):
- avoid useless blanks at EOL.
- avoid tabs.
- fix wrapping lines on 80 chars terminals.
- add missing ';' at macros EOL to avoid confusing auto-identers.
- fix identation.
- Remove historical macros in micro-ops (PARAM, SPARAM, PPC_OP, regs)


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3178 c046a42c-6fe2-441c-8c8c-71466251a162
2007-09-17 08:21:54 +00:00
ths
3b46e62427 find -type f | xargs sed -i 's/[\t ]*$//g' # Yes, again. Note the star in the regex.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3177 c046a42c-6fe2-441c-8c8c-71466251a162
2007-09-17 08:09:54 +00:00
ths
ef18c8839e Solaris x86_64 configure patch, by Ben Taylor.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3176 c046a42c-6fe2-441c-8c8c-71466251a162
2007-09-16 22:12:39 +00:00
ths
ec36ba1474 vmdk compatibility level 6 images, by Soren Hansen.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3175 c046a42c-6fe2-441c-8c8c-71466251a162
2007-09-16 21:59:02 +00:00
ths
3ae4320275 Add some missing checks for host syscalls.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3174 c046a42c-6fe2-441c-8c8c-71466251a162
2007-09-16 21:39:48 +00:00
ths
5fafdf24ef find -type f | xargs sed -i 's/[\t ]$//g' # on most files
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3173 c046a42c-6fe2-441c-8c8c-71466251a162
2007-09-16 21:08:06 +00:00
ths
bd494f4cbd Add a local copy of hpet.h.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3172 c046a42c-6fe2-441c-8c8c-71466251a162
2007-09-16 20:03:23 +00:00
ths
fe4d8f67ee Use UINT64_MAX instead of ULONG_LONG_MAX, suggested by Andreas Schwab.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3171 c046a42c-6fe2-441c-8c8c-71466251a162
2007-09-16 19:53:43 +00:00
ths
3257d2b64f Less magic constants, by Filip Navara.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3170 c046a42c-6fe2-441c-8c8c-71466251a162
2007-09-14 22:22:13 +00:00
ths
baa7666c74 Fix infinite loop in VNC support, by Marc Bevand.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3169 c046a42c-6fe2-441c-8c8c-71466251a162
2007-09-13 12:41:42 +00:00
ths
b7ffa3b1d2 Emulate spinning floppy disk, by Jan Jezabek.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3168 c046a42c-6fe2-441c-8c8c-71466251a162
2007-09-13 12:40:37 +00:00
ths
cb4b976b82 Move network related includes to vl.c to help SLIRP-less builds.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3167 c046a42c-6fe2-441c-8c8c-71466251a162
2007-09-13 12:39:35 +00:00
ths
8c05dbf9b6 Enhance raw io reliability, by Ben Guthro.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3166 c046a42c-6fe2-441c-8c8c-71466251a162
2007-09-13 12:29:23 +00:00
ths
c3e88d8c4f Allow more IDE power management, by Ben Guthro.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3165 c046a42c-6fe2-441c-8c8c-71466251a162
2007-09-13 12:28:42 +00:00
ths
1870a74c88 Stop the compiler from using section anchors.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3164 c046a42c-6fe2-441c-8c8c-71466251a162
2007-09-13 03:24:53 +00:00
ths
bde7600cea Improved EEPRO 100 emulation, by Filip Navara.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3163 c046a42c-6fe2-441c-8c8c-71466251a162
2007-09-13 02:22:37 +00:00
ths
d8134d91d9 Intel cache info, by Filip Navara.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3162 c046a42c-6fe2-441c-8c8c-71466251a162
2007-09-13 02:21:28 +00:00
ths
d14049eaec Partial IDE DVD emulation, by Filip Navara.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3161 c046a42c-6fe2-441c-8c8c-71466251a162
2007-09-13 02:20:40 +00:00
ths
ce62e5ba09 Fix tb->size mishandling, by Daniel Jacobowitz.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3160 c046a42c-6fe2-441c-8c8c-71466251a162
2007-09-11 10:04:58 +00:00
ths
408e7837aa Fix the reported xlevel for Intel CPU, by Filip Navara.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3159 c046a42c-6fe2-441c-8c8c-71466251a162
2007-09-10 00:10:04 +00:00
ths
49140a7748 Fix VMDK 2GB bug, by Filip Navara.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3158 c046a42c-6fe2-441c-8c8c-71466251a162
2007-09-10 00:07:46 +00:00
pbrook
117b3ae6e6 Implement HID idle mode (avoids flooding guest with useless updates).
Fix UHCI NACK bug.


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3157 c046a42c-6fe2-441c-8c8c-71466251a162
2007-09-09 21:16:01 +00:00
ths
ead9360e2f Partial support for 34K multithreading, not functional yet.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3156 c046a42c-6fe2-441c-8c8c-71466251a162
2007-09-06 00:18:15 +00:00
ths
606b41e702 Build fix for older GCCs.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3155 c046a42c-6fe2-441c-8c8c-71466251a162
2007-08-28 22:21:40 +00:00
ths
44486a89f0 Let qemu work with latest bochsbios, by Bernhard Kauer.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3154 c046a42c-6fe2-441c-8c8c-71466251a162
2007-08-26 17:51:39 +00:00
ths
bea6030dcf arm_gic.c error message fix, by Adam Lackorzynski.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3153 c046a42c-6fe2-441c-8c8c-71466251a162
2007-08-26 17:50:07 +00:00
ths
8c2cc7cecb SH4 mov.b fix, by Vince Weaver.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3152 c046a42c-6fe2-441c-8c8c-71466251a162
2007-08-26 17:48:48 +00:00
ths
0975c30454 Add file missed in last commit.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3151 c046a42c-6fe2-441c-8c8c-71466251a162
2007-08-26 17:48:12 +00:00
ths
9334280790 Use the framework for the VMware mouse emulation, by Herve Poussineau.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3150 c046a42c-6fe2-441c-8c8c-71466251a162
2007-08-26 17:46:38 +00:00
ths
591a6d6279 Add a generic framework for VMware communication port, by Herve Poussineau.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3149 c046a42c-6fe2-441c-8c8c-71466251a162
2007-08-26 17:46:00 +00:00
ths
4ed59aa518 Replace tabs by 8 spaces. No code change, by Herve Poussineau.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3148 c046a42c-6fe2-441c-8c8c-71466251a162
2007-08-26 17:45:23 +00:00
ths
f0c596cb3d Last AIO patch, by Vladimir N. Oleynik.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3147 c046a42c-6fe2-441c-8c8c-71466251a162
2007-08-26 17:42:20 +00:00
ths
3ddf0b5cde Disable 64-bit instructions on 32-bit CPU, by Aurelien Jarno.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3146 c046a42c-6fe2-441c-8c8c-71466251a162
2007-08-26 17:37:23 +00:00
ths
c92843b5df Reset buffer pointers after CR/LF, by Jim Paris.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3145 c046a42c-6fe2-441c-8c8c-71466251a162
2007-08-26 17:33:53 +00:00
ths
be0164f2e0 Set apic instance number for savevm, by Ari Kivity.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3144 c046a42c-6fe2-441c-8c8c-71466251a162
2007-08-26 17:33:08 +00:00
ths
70744b3ab8 Fix typo in comment, by Andreas Faerber.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3143 c046a42c-6fe2-441c-8c8c-71466251a162
2007-08-26 17:31:30 +00:00