- the HPET merge from QEMU introduced new structures which need packing (Sebastian Herbszt)

This commit is contained in:
Volker Ruppert 2008-12-27 16:28:49 +00:00
parent fafe511180
commit ab1da2f8f3

View File

@ -1,5 +1,5 @@
/////////////////////////////////////////////////////////////////////////
// $Id: rombios32.c,v 1.42 2008-12-25 16:58:44 vruppert Exp $
// $Id: rombios32.c,v 1.43 2008-12-27 16:28:49 vruppert Exp $
/////////////////////////////////////////////////////////////////////////
//
// 32 bit Bochs BIOS init code
@ -1294,7 +1294,7 @@ struct acpi_20_generic_address {
uint8_t register_bit_offset;
uint8_t reserved;
uint64_t address;
};
} __attribute__((__packed__));
/*
* * HPET Description Table
@ -1306,7 +1306,7 @@ struct acpi_20_hpet {
uint8_t hpet_number;
uint16_t min_tick;
uint8_t page_protect;
};
} __attribute__((__packed__));
#define ACPI_HPET_ADDRESS 0xFED00000UL
#endif
@ -1328,7 +1328,7 @@ struct madt_int_override
uint8_t source; /* Bus-relative interrupt source */
uint32_t gsi; /* GSI that source will signal */
uint16_t flags; /* MPS INTI flags */
};
} __attribute__((__packed__));
#endif
#include "acpi-dsdt.hex"