1 /* SPDX-License-Identifier: GPL-2.0-only */
5 /****************************************************************
7 ****************************************************************/
11 Name(_HID, EISAID("PNP0103"))
13 OperationRegion(HPTM, SystemMemory, HPET_BASE_ADDRESS, 0x400)
14 Field(HPTM, DWordAcc, Lock, Preserve) {
18 Method(_STA, 0, NotSerialized) {
22 If ((Local0 == 0) || (Local0 == 0xffff)) {
25 If ((Local1 == 0) || (Local1 > 100000000)) {
30 Name(_CRS, ResourceTemplate() {
31 Memory32Fixed(ReadOnly,
32 HPET_BASE_ADDRESS, // Address Base
33 0x00000400, // Address Length