Revision 40ac17cd hw/hpet_emul.h

b/hw/hpet_emul.h
53 53
#define HPET_TN_INT_ROUTE_CAP_SHIFT 32
54 54
#define HPET_TN_CFG_BITS_READONLY_OR_RESERVED 0xffff80b1U
55 55

  
56
struct hpet_fw_entry
57
{
58
    uint32_t event_timer_block_id;
59
    uint64_t address;
60
    uint16_t min_tick;
61
    uint8_t page_prot;
62
} __attribute__ ((packed));
63

  
64
struct hpet_fw_config
65
{
66
    uint8_t count;
67
    struct hpet_fw_entry hpet[8];
68
} __attribute__ ((packed));
69

  
70
extern struct hpet_fw_config hpet_cfg;
56 71
#endif

Also available in: Unified diff