1 #include <exec/libraries.h>
2 #include <exec/semaphores.h>
5 #define HPET_HW_REV_MASK 0x000000FF
6 #define HPET_NUM_COMPARATORS_MASK 0x00001F00
7 #define HPET_NUM_COMPARATORS_SHIFT 8
8 #define HPET_COUNTER_SIZE 0x00002000
9 #define HPET_LEGACY_REPLACEMENT 0x00008000
10 #define HPET_PCI_VENDOR_MASK 0xFFFF0000
11 #define HPET_PCI_VENDOR_SHIFT 16
13 /* page_protect components */
14 #define HPET_PAGE_PROTECT_MASK 0x0F
15 #define HPET_OEM_ATTR_MASK 0xF0
16 #define HPET_OEM_ATTR_SHIFT 4
18 #define HPET_PAGE_NONE 0
19 #define HPET_PAGE_4K 1
20 #define HPET_PAGE_64K 2
32 struct Library libnode
;
34 struct HPETUnit
*units
;
35 struct SignalSemaphore lock
;