Commit bf4f74c0f6777ba728d4b4e02981e226eb177d62
1 parent
6c01bf6c
Fix warnings introduced by commit 6081
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6084 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
3 changed files
with
6 additions
and
3 deletions
hw/hpet.c
... | ... | @@ -26,13 +26,11 @@ |
26 | 26 | */ |
27 | 27 | |
28 | 28 | #include "hw.h" |
29 | +#include "pc.h" | |
29 | 30 | #include "console.h" |
30 | 31 | #include "qemu-timer.h" |
31 | 32 | #include "hpet_emul.h" |
32 | 33 | |
33 | -extern void hpet_pit_disable(void); | |
34 | -extern void hpet_pit_enable(void); | |
35 | - | |
36 | 34 | //#define HPET_DEBUG |
37 | 35 | #ifdef HPET_DEBUG |
38 | 36 | #define dprintf printf | ... | ... |
hw/pc.h
... | ... | @@ -60,6 +60,9 @@ int pit_get_initial_count(PITState *pit, int channel); |
60 | 60 | int pit_get_mode(PITState *pit, int channel); |
61 | 61 | int pit_get_out(PITState *pit, int channel, int64_t current_time); |
62 | 62 | |
63 | +void hpet_pit_disable(void); | |
64 | +void hpet_pit_enable(void); | |
65 | + | |
63 | 66 | /* vmport.c */ |
64 | 67 | void vmport_init(void); |
65 | 68 | void vmport_register(unsigned char command, IOPortReadFunc *func, void *opaque); | ... | ... |
monitor.c
... | ... | @@ -252,10 +252,12 @@ static void do_info_name(void) |
252 | 252 | term_printf("%s\n", qemu_name); |
253 | 253 | } |
254 | 254 | |
255 | +#if defined(TARGET_I386) | |
255 | 256 | static void do_info_hpet(void) |
256 | 257 | { |
257 | 258 | term_printf("HPET is %s by QEMU\n", (no_hpet) ? "disabled" : "enabled"); |
258 | 259 | } |
260 | +#endif | |
259 | 261 | |
260 | 262 | static void do_info_uuid(void) |
261 | 263 | { | ... | ... |