2 * This program is free software; you can redistribute it and/or modify
3 * it under the terms of the GNU General Public License as published by
4 * the Free Software Foundation; either version 2 of the License, or
5 * (at your option) any later version.
7 * This program is distributed in the hope that it will be useful,
8 * but WITHOUT ANY WARRANTY; without even the implied warranty of
9 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 * GNU General Public License for more details.
12 * You should have received a copy of the GNU General Public License along
13 * with this program; if not, see <http://www.gnu.org/licenses/>.
16 /****************************************************************
18 ****************************************************************/
22 Name(_HID, EISAID("PNP0103"))
24 OperationRegion(HPTM, SystemMemory, 0xFED00000, 0x400)
25 Field(HPTM, DWordAcc, Lock, Preserve) {
29 Method(_STA, 0, NotSerialized) {
32 ShiftRight(Local0, 16, Local0)
33 If (LOr(LEqual(Local0, 0), LEqual(Local0, 0xffff))) {
36 If (LOr(LEqual(Local1, 0), LGreater(Local1, 100000000))) {
41 Name(_CRS, ResourceTemplate() {
42 Memory32Fixed(ReadOnly,
43 0xFED00000, // Address Base
44 0x00000400, // Address Length