aboutsummaryrefslogtreecommitdiff
path: root/kernel/inc
diff options
context:
space:
mode:
authorMarvin Borner2020-09-06 23:27:29 +0200
committerMarvin Borner2020-09-06 23:27:29 +0200
commit97f57cf4da45d268bbea863ae7bf40bb8c749aad (patch)
treef9804ce5cf22922aab0a425ed8007b03bb0761f6 /kernel/inc
parent586d58192b2c576393077c3944338b582c873f45 (diff)
Some timer thingies
Diffstat (limited to 'kernel/inc')
-rw-r--r--kernel/inc/acpi.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/kernel/inc/acpi.h b/kernel/inc/acpi.h
index 3a25098..6cebf9b 100644
--- a/kernel/inc/acpi.h
+++ b/kernel/inc/acpi.h
@@ -11,6 +11,8 @@
#define FADT_MAGIC "FACP"
#define HPET_MAGIC "HPET"
+#define HPET_MAX_PERIOD 0x05F5E100
+
struct address_structure {
u8 address_space_id;
u8 register_bit_width;
@@ -110,6 +112,6 @@ struct fadt *fadt;
struct hpet *hpet;
void acpi_install();
-void hpet_install(int period);
+void hpet_install(int frequency);
#endif