diff options
author | Ot ten Thije <ottenthije@google.com> | 2010-09-22 15:47:33 +0100 |
---|---|---|
committer | Ot ten Thije <ottenthije@google.com> | 2010-09-24 10:15:19 +0100 |
commit | afb0f8ee7ecec8000aa6f6e0d80e8c8cbfddac0e (patch) | |
tree | 8e64b9625b977b0427e7a53c4f95217c5b81efce /pc-bios | |
parent | 4e024bb4f5c8aa8b07459f7fbd65c35122127fd1 (diff) | |
download | external_qemu-afb0f8ee7ecec8000aa6f6e0d80e8c8cbfddac0e.zip external_qemu-afb0f8ee7ecec8000aa6f6e0d80e8c8cbfddac0e.tar.gz external_qemu-afb0f8ee7ecec8000aa6f6e0d80e8c8cbfddac0e.tar.bz2 |
Permanent fix for workaround of timer issue (commit a7f114bc).
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
Diffstat (limited to 'pc-bios')
0 files changed, 0 insertions, 0 deletions