From add6efeb22ffb7695d5c9addcef073fc653f700e Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Sat, 22 Feb 2020 17:22:17 +0100 Subject: Well basically nothing really works I guess I've worked quite a while on several small things which I didn't commit but I'm going away for a week (holiday) soooo I synced these useless and dumb files :) --- src/kernel/acpi/acpi.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/kernel/acpi/acpi.c') diff --git a/src/kernel/acpi/acpi.c b/src/kernel/acpi/acpi.c index 60ed4f9..0122450 100644 --- a/src/kernel/acpi/acpi.c +++ b/src/kernel/acpi/acpi.c @@ -162,7 +162,10 @@ int acpi_install() } if (memcmp((unsigned int *) *ptr, "HPET", 4) == 0) { hpet = (struct HPET *) *ptr; - // serial_printf("%d", hpet->base_address); + serial_printf("%c%c%c%c", hpet->signature[0], hpet->signature[1], hpet->signature[2], + hpet->signature[3]); + serial_printf("%d", hpet->legacy_replacement); + serial_printf("%d", hpet->address.address); } ptr++; } // Else: no valid FADT present -- cgit v1.2.3