aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/acpi/acpi.c
diff options
context:
space:
mode:
authorMarvin Borner2019-11-17 15:06:49 +0100
committerMarvin Borner2019-11-17 15:06:49 +0100
commit6ca5f1bcec7f0716bad5e1cdd38d41be137fe7e5 (patch)
tree2ae192f0ef93d5f4e48f893bd96e696ccdb7fd21 /src/kernel/acpi/acpi.c
parent7c15772166b3d509edb67c5fb3756eb59f6edaab (diff)
Some HPET structs
Diffstat (limited to 'src/kernel/acpi/acpi.c')
-rw-r--r--src/kernel/acpi/acpi.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/kernel/acpi/acpi.c b/src/kernel/acpi/acpi.c
index bb4bdac..893b28e 100644
--- a/src/kernel/acpi/acpi.c
+++ b/src/kernel/acpi/acpi.c
@@ -156,7 +156,9 @@ int acpi_install() {
} // Else: DSDT invalid
}
if (memcmp((unsigned int *) *ptr, "HPET", 4) == 0) {
- serial_write("WHOA - found HPET!!!\n");
+ hpet = (struct HPET *) *ptr;
+ serial_write(hpet->signature);
+ serial_write_hex((int) hpet->base_address);
}
ptr++;
} // Else: no valid FADT present