Correct HPET header handling.

MFC after: 7 days
This commit is contained in:
Takanori Watanabe 2007-03-27 17:03:52 +00:00
parent 4649e92b4e
commit 87f9f09a13
2 changed files with 3 additions and 3 deletions

View File

@ -344,7 +344,8 @@ acpi_handle_hpet(struct ACPIsdt *sdp)
acpi_print_sdt(sdp);
hpetp = (struct HPETbody *) sdp->body;
printf("\tHPET Number=%d\n", hpetp->hpet_number);
printf("\tADDR=0x%08x\n", hpetp->base_addr);
printf("\tADDR=");
acpi_print_gas(&hpetp->genaddr);
printf("\tHW Rev=0x%x\n", hpetp->block_hwrev);
printf("\tComparitors=%d\n", hpetp->block_comparitors);
printf("\tCounter Size=%d\n", hpetp->block_counter_size);

View File

@ -278,8 +278,7 @@ struct HPETbody {
:1,
block_legacy_capable:1,
block_pcivendor:16;
u_int32_t base_addr;
u_int64_t reserved1;
struct ACPIgas genaddr;
u_int8_t hpet_number;
u_int16_t clock_tick __packed;
} __packed;