Revision 40ac17cd hw/pc.c
b/hw/pc.c | ||
---|---|---|
62 | 62 |
#define FW_CFG_SMBIOS_ENTRIES (FW_CFG_ARCH_LOCAL + 1) |
63 | 63 |
#define FW_CFG_IRQ0_OVERRIDE (FW_CFG_ARCH_LOCAL + 2) |
64 | 64 |
#define FW_CFG_E820_TABLE (FW_CFG_ARCH_LOCAL + 3) |
65 |
#define FW_CFG_HPET (FW_CFG_ARCH_LOCAL + 4) |
|
65 | 66 |
|
66 | 67 |
#define E820_NR_ENTRIES 16 |
67 | 68 |
|
... | ... | |
485 | 486 |
fw_cfg_add_bytes(fw_cfg, FW_CFG_E820_TABLE, (uint8_t *)&e820_table, |
486 | 487 |
sizeof(struct e820_table)); |
487 | 488 |
|
489 |
fw_cfg_add_bytes(fw_cfg, FW_CFG_HPET, (uint8_t *)&hpet_cfg, |
|
490 |
sizeof(struct hpet_fw_config)); |
|
488 | 491 |
/* allocate memory for the NUMA channel: one (64bit) word for the number |
489 | 492 |
* of nodes, one word for each VCPU->node and one word for each node to |
490 | 493 |
* hold the amount of memory. |
Also available in: Unified diff