From 6e533246630ad86abf8b8c38c46ccd25d6515956 Mon Sep 17 00:00:00 2001 From: Stefano Ceccherini Date: Mon, 28 Sep 2009 05:10:43 +0000 Subject: [PATCH] Added more HPET defines, not yet used in the source. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33331 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- headers/private/kernel/arch/x86/arch_hpet.h | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/headers/private/kernel/arch/x86/arch_hpet.h b/headers/private/kernel/arch/x86/arch_hpet.h index db572e174c..6c11ca629a 100644 --- a/headers/private/kernel/arch/x86/arch_hpet.h +++ b/headers/private/kernel/arch/x86/arch_hpet.h @@ -32,6 +32,17 @@ #define HPET_IS_ENABLED(regs) ((regs)->config & HPET_CONF_MASK_ENABLED) #define HPET_IS_LEGACY(regs) (((regs)->config & HPET_CONF_MASK_LEGACY) >> 1) +/* Timer Configuration */ +#define HPET_TIMER_INT_ENB_CNF 0x00000004 +#define HPET_TIMER_TYPE_CNF 0x00000008 +#define HPET_TIMER_PER_INT_CAP 0x00000010 +#define HPET_TIMER_SIZE_CAP 0x00000020 +#define HPET_TIMER_VAL_SET_CNF 0x00000040 +#define HPET_TIMER_32MODE_CNF 0x00000100 +#define HPET_TIMER_TN_FSB_EN_CNF 0x00004000 +#define HPET_TIMER_TN_FSB_INT_DEL_CAP 0x00008000 + + #define ACPI_HPET_SIGNATURE "HPET" struct hpet_timer {