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
This commit is contained in:
Stefano Ceccherini 2009-09-28 05:10:43 +00:00
parent ac106be534
commit 6e53324663
1 changed files with 11 additions and 0 deletions

View File

@ -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 {