aboutsummaryrefslogtreecommitdiff
path: root/hw/hpet.c
diff options
context:
space:
mode:
authorBlue Swirl <blauwirbel@gmail.com>2011-02-05 14:35:00 +0000
committerBlue Swirl <blauwirbel@gmail.com>2011-02-12 09:45:06 +0000
commitdd703b991cce99271a032a975885dd37d8c07a94 (patch)
tree8dbb91856eb6ba1ffc18e5372320c0fb58ca351f /hw/hpet.c
parent4912371fc39120fb7eb1a6b3f270fab30d05a7b6 (diff)
hpet: make optional
Ignore failure with hpet device creation. Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'hw/hpet.c')
-rw-r--r--hw/hpet.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/hw/hpet.c b/hw/hpet.c
index 8fb6811a2c..82a9a21978 100644
--- a/hw/hpet.c
+++ b/hw/hpet.c
@@ -74,8 +74,6 @@ typedef struct HPETState {
uint8_t hpet_id; /* instance id */
} HPETState;
-struct hpet_fw_config hpet_cfg = {.count = UINT8_MAX};
-
static uint32_t hpet_in_legacy_mode(HPETState *s)
{
return s->config & HPET_CFG_LEGACY;