1365eb2b35736211464f313616e32f25569e5107 |
|
16-Feb-2014 |
David 'Digit' Turner <digit@google.com> |
Remove compiler warnings Change-Id: I75e21a86958a4650b956e89a55357f0c38fcb118
/external/qemu/include/sysemu/sysemu.h
|
dcda949f769a11b197f4784fe299a448d87e6e14 |
|
16-Feb-2014 |
David 'Digit' Turner <digit@google.com> |
qemu-timer.c: Use upstream version. This completely modifies the implementation of timers to match upstream, the only difference is that the oddly-placed qemu_gpoll_ns() function is disabled (it's not used yet). Most of the changes here (but not all), were applied through the following sed script: s|qemu_get_clock\s*(\s*vm_clock\s*)|qemu_clock_get_ns(QEMU_CLOCK_VIRTUAL)|g s|qemu_get_clock\s*(\s*rt_clock\s*)|qemu_clock_get_ms(QEMU_CLOCK_REALTIME)|g s|qemu_get_clock_ns\s*(\s*vm_clock\s*)|qemu_clock_get_ns(QEMU_CLOCK_VIRTUAL)|g s|qemu_get_clock_ns\s*(\s*rt_clock\s*)|qemu_clock_get_ns(QEMU_CLOCK_REALTIME)|g s|qemu_get_clock_ms\s*(\s*vm_clock\s*)|qemu_clock_get_ms(QEMU_CLOCK_VIRTUAL)|g s|qemu_get_clock_ms\s*(\s*rt_clock\s*)|qemu_clock_get_ms(QEMU_CLOCK_REALTIME)|g s|qemu_get_clock_ms\s*(\s*host_clock\s*)|qemu_clock_get_ms(QEMU_CLOCK_HOST)|g s|qemu_get_clock_ms\s*(\s*SHAPER_CLOCK\s*)|qemu_clock_get_ms(SHAPER_CLOCK)|g s|qemu_mod_timer\s*(|timer_mod(|g s|qemu_del_timer\s*(|timer_del(|g s|qemu_free_timer\s*(|timer_free(|g s|qemu_new_timer_ms\s*(\s*rt_clock,|timer_new(QEMU_CLOCK_REALTIME, SCALE_MS,|g s|qemu_new_timer_ns\s*(\s*rt_clock,|timer_new(QEMU_CLOCK_REALTIME, SCALE_NS,|g s|qemu_new_timer_ms\s*(\s*vm_clock,|timer_new(QEMU_CLOCK_VIRTUAL, SCALE_MS,|g s|qemu_new_timer_ns\s*(\s*vm_clock,|timer_new(QEMU_CLOCK_VIRTUAL, SCALE_NS,|g s|qemu_new_timer_ms\s*(\s*host_clock,|timer_new(QEMU_CLOCK_HOST, SCALE_MS,|g s|qemu_new_timer_ns\s*(\s*host_clock,|timer_new(QEMU_CLOCK_HOST, SCALE_NS,|g s|qemu_new_timer_ms\s*(\s*SHAPER_CLOCK\s*,|timer_new(SHAPER_CLOCK, SCALE_MS,|g s|qemu_put_timer\s*(|timer_put(|g s|qemu_get_timer\s*(|timer_get(|g s|qemu_timer_pending\s*(|timer_pending(|g s|qemu_clock_next_deadline\s*(\s*vm_clock|qemu_clock_deadline_ns_all(QEMU_CLOCK_VIRTUAL|g s|qemu_clock_next_deadline\s*(\s*rt_clock|qemu_clock_deadline_ns_all(QEMU_CLOCK_REALTIME|g s|qemu_clock_next_deadline\s*(\s*host_clock|qemu_clock_deadline_ns_all(QEMU_CLOCK_HOST|g + Disable icount-based clock warping/adjustments. It will be re-enabled in the future after cpu emulation has been completely refactored. Change-Id: Ifbcf4a52654eed3a08dfe59b0546a75d4627f758
/external/qemu/include/sysemu/sysemu.h
|
f01835519fdcb736449d64204c535cbc60f06ca6 |
|
16-Feb-2014 |
David 'Digit' Turner <digit@google.com> |
Move some cpu_xxxx() function to cpus.c This moves the following functions from qemu-timer.c to cpus.c to match upstream: cpu_get_ticks cpu_get_clock cpu_enable_ticks cpu_disable_ticks timer_save timer_load + Move declarations from include/qemu/timer.h to include/sysemu/sysemu.h + Remove obsolete declarations from include/qemu/timer.h Change-Id: I83c84cf4c6fb83cbda6a501969e05fbffb4afd4f
/external/qemu/include/sysemu/sysemu.h
|
f9077a88a0b9edca081b0810dde73d108db087a6 |
|
10-Feb-2014 |
David 'Digit' Turner <digit@google.com> |
Move main loop logic to main-loop.c This patch moves most of the logic dealing with the internal main loop into the main-loop.c file, to match upstream. Note however that the actual implementation is not changed, and is still _very_ different from upstream. However, this decouples a few more things to make upcoming refactors significantly easier. This should not affect performance in any way. + Move the log rotation logic, which is specific to QEMU, to log-rotate-android.c and include/android/log-rotate.h, it's likely that the use of SIGUSR1 will not be maintained in the future, because upstream uses that to signal virtual CPU threads internally instead. Change-Id: I7bc886778fa70742c165b1dfe77637564910764e
/external/qemu/include/sysemu/sysemu.h
|
9b3a4b03315af9bcdf282243059e8fd1ce1c5c70 |
|
23-Jan-2014 |
David 'Digit' Turner <digit@android.com> |
qemu-common.h: Remove include of cpu.h The "qemu-common.h" included "cpu.h" when NEED_CPU_H was defined, which introduced some nasty circular header dependency issues that affect later patches in this series. This patch removes the include, and fixes all other sources to include "cpu.h" as needed instead. + Move loader declarations to "hw/loader.h" + Move some stuff from "qemu/timer.h" to "exec/cpu-all.h" Change-Id: Ida1a4eccd889bae450b35ee32a931273ffe1f8d8
/external/qemu/include/sysemu/sysemu.h
|
f6669d7bf05c4abb8f95862e82322ec4689251f4 |
|
13-Jan-2014 |
David 'Digit' Turner <digit@android.com> |
update <qemu/atomic.h> and add <qemu/compiler.h> Also update <qemu-common.h> and <sysemu/sysemu.h> in the process. Change-Id: Iae47c07295c7ddde0498e297ae8b0b9ee05cfac3
/external/qemu/include/sysemu/sysemu.h
|
bcde1092aca184dbd7860078af020de7d1e4e22f |
|
09-Jan-2014 |
David 'Digit' Turner <digit@android.com> |
rename target_phy_addr_t to hwaddr to match upstream. Upstream got rid of the target_phys_addr_t and replaced it with 'hwaddr', so do the corresponding rename here. Note that: - This also renames <exec/targphys.h> to <exec/hwaddr.h> - Upstream always deins hwaddr as a 64-bit type, while the size of our own hwaddr is still controlled by TARGET_PHYS_ADDR_BITS, and will be 32 for now. A future patch will change the type definition to fully match upstream, but it is more risky / requires more cleanups. It's simply cleaner / simpler to put the related work in a separate patch, given the large number of sources touched by the current change. Change-Id: Iee30869a57798c12109b6a23570b166232bb9244
/external/qemu/include/sysemu/sysemu.h
|
93e0d9cfb6d950b638ba93cf5318e5689e4ba64e |
|
15-Dec-2013 |
David 'Digit' Turner <digit@android.com> |
qemu-option.h -> include/qemu/option.h Change-Id: I94301207676115c935ee198e8f814ee2943613e0
/external/qemu/include/sysemu/sysemu.h
|
031d655004e505a15e92580a16a181d1d247c4d5 |
|
15-Dec-2013 |
David 'Digit' Turner <digit@android.com> |
Move qemu-queue.h -> include/qemu/queue.h Change-Id: I2ef2c4aea2cdf73e834b013a11fb63a0eb720262
/external/qemu/include/sysemu/sysemu.h
|
34c48ff1e3ad5cd2084ca40188754d45f423750b |
|
15-Dec-2013 |
David 'Digit' Turner <digit@android.com> |
Move headers to incude/sysemu/ + arch_init.h, balloon.h, blockdev.h, dma.h, kvm.h, sysemu.h -> include/sysemu/ + kvm-android.h -> include/android/kvm.h Change-Id: I3d334e1b6eea836fdcee9f36fe693cf4c74be54f
/external/qemu/include/sysemu/sysemu.h
|