|
From: | Paolo Bonzini |
Subject: | [Qemu-devel] Re: [PATCH 0/6] Make hpet a compile time option |
Date: | Tue, 25 May 2010 10:38:38 +0200 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100330 Fedora/3.0.4-1.fc12 Lightning/1.0b2pre Thunderbird/3.0.4 |
On 05/24/2010 07:54 PM, Juan Quintela wrote:
But for the other call, what do you propose? My best try was to hide the availability of hpet inside hpet_emul.h with: #ifdef CONFIG_HPET uint32_t hpet_in_legacy_mode(void); else uint32_t hpet_in_legacy_mode(void) { return 0;} #endif
Change this to a global variable rtc_disable_interrupts in hw/mc146818rtc.c? (You didn't say it would need to be particularly pretty...).
Not tested beyond compilation. Paolo
hpet-hack.patch
Description: Text document
[Prev in Thread] | Current Thread | [Next in Thread] |