aboutsummaryrefslogtreecommitdiffstats
path: root/hw/goldfish_timer.c
Commit message (Collapse)AuthorAgeFilesLines
* qemu-timer.c: rename qemu_timer_new_scale()David 'Digit' Turner2011-06-011-20/+10
| | | | | | | | | | | Get rid of qemu_timer_new() implementation, and update all callers to use qemu_timer_new_ms() or qemu_timer_new_ns() instead. Rename qemu_new_timer_scale() to qemu_new_timer() to follow upstream conventions. Change-Id: Id2c04f8597ec5026e02f87b3e2c5507920eb688e
* Permanent fix for workaround of timer issue (commit a7f114bc).Ot ten Thije2010-09-241-2/+1
| | | | | | | | | | | | | The compiler generated incorrect instructions when loading timers, because qemu_get_be64 was used before it was declared. This caused the compiler to assume that a normal (32 bit) int would be returned, rather than a 64 bit one. Just including the "hw/hw.h" header is sufficient to correct this. The makefile for the project has recently been changed to build with -Wall, which should prevent this from going unnoticed again. Change-Id: I74c98183287cf26b767a36f7a6ff9ebf0b891826
* Fix suspending and resuming timers.Ot ten Thije2010-09-061-26/+37
| | | | | | | | | | | | | This brings the code for saving and restoring the vm clock up to date with the current codebase. It also includes a workaround for an issue that occurred when the state of a goldfish timer was restored. For unexplained reasons, the compiler generated code to copy the least significant 32 bits only when reading a 64 bit number, dropping the remaining 32 bits. In order to facilitate debugging, the variables in the goldfish timer code have been suffixed with their units ("ns" for nanoseconds or "tks" for ticks).
* Upstream: integrate timer/clock management changes.David 'Digit' Turner2010-05-111-3/+4
| | | | Change-Id: I24acbdebe58d207352548f54dda1abf5be01e7d4
* Merge upstream QEMU 10.0.50 into the Android source tree.David 'Digit' Turner2009-09-141-4/+0
| | | | | | | | | | | | | | | | | | | This change integrates many changes from the upstream QEMU sources. Its main purpose is to enable correct ARMv6 and ARMv7 support to the Android emulator. Due to the nature of the upstream code base, this unfortunately also required changes to many other parts of the source. Note that to ensure easier integrations in the future, some source files and directories that have heavy Android-specific customization have been renamed with an -android suffix. The original files are still there for easier integration tracking, but *never* compiled. For example: net.c net-android.c qemu-char.c qemu-char-android.c slirp/ slirp-android/ etc... Tested on linux-x86, darwin-x86 and windows host machines.
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-0/+256
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-256/+0
|
* auto import from //branches/cupcake/...@130745The Android Open Source Project2009-02-101-1/+2
|
* Initial ContributionThe Android Open Source Project2008-10-211-0/+255