1 /* SPDX-License-Identifier: GPL-2.0-only */
5 Name (_HID, EisaId ("PNP0C01"))
7 Name (MSBF, ResourceTemplate ()
10 QWordMemory (ResourceProducer, PosDecode, MinFixed,
11 MaxNotFixed, Prefetchable, ReadWrite,
12 0x0, 0x100000000, 0x400000000, 0x0, 0x0, ,, _Y1C,
13 AddressRangeMemory, TypeStatic)
15 /* Top Of Low Memory */
16 Memory32 (ReadOnly, 0x0, 0x0, 0x1, 0x0, _Y1D)
18 /* 640kB who wants more? */
19 Memory32Fixed (ReadWrite, 0x0, 0xA0000, )
21 /* 64k BIOS bootblock */
22 Memory32Fixed (ReadOnly, 0xF0000, 0x10000,)
24 /* ISA memory hole 15-16 MB ? */
25 /* Memory32Fixed (ReadOnly, 0x100000, 0xF00000,) */
26 /* ISA memory hole 14-15 MB ? */
27 /* Memory32Fixed (ReadOnly, 0x100000, 0xE00000,) */
30 Memory32Fixed (ReadWrite, 0xFEE00000, 0x00001000,)
33 Method (_CRS, 0, NotSerialized)
35 CreateQWordField (MSBF, \_SB.MBRS._Y1C._MIN, MEML)
36 CreateQWordField (MSBF, \_SB.MBRS._Y1C._MAX, MEMM)
37 CreateQWordField (MSBF, \_SB.MBRS._Y1C._LEN, LELM)
39 And (\_SB.PCI0.RLAR, 0x03FF, Local1)
43 ShiftLeft (Local1, 0x1A, LELM)
47 CreateDWordField (MSBF, \_SB.MBRS._Y1D._MIN, MS00)
48 CreateDWordField (MSBF, \_SB.MBRS._Y1D._MAX, MS01)
49 CreateDWordField (MSBF, \_SB.MBRS._Y1D._LEN, MEM2)
50 And (\_SB.PCI0.TOLM, 0xF800, Local1)
51 ShiftRight (Local1, 0x04, Local1)
56 Store (ShiftLeft (Local1, 0x14), MEM2)
57 Store (0x01000000, MS00)
64 Method (_STA, 0, NotSerialized)