dsdt.asl
来自「惠普公司bios完整源代码大机密!」· ASL 代码 · 共 533 行 · 第 1/2 页
ASL
533 行
MaxFixed,
PosDecode,
EntireRange,
0x0000,
0x0000,
0x0CF7,
0x0000,
0x0CF8
)
WORDIO( // IO from 0x0d00 - 0xffff
ResourceProducer,
MinFixed,
MaxFixed,
PosDecode,
EntireRange,
0x0000,
0x0D00,
0x3FFF,
0x0000,
0x3300
)
IO( // IO Resource for ACPI IO
Decode16,
0x4000,
0x4000,
1,
0x80
)
IO( // IO Resource for ACPI IO
Decode16,
0x4080,
0x4080,
1,
0x80
)
WORDIO( //for device IO starts from IO - ACPI_PORT
ResourceProducer,
MinFixed,
MaxFixed,
PosDecode,
EntireRange,
0x0000,
0x4100,
0x4FFF,
0x0000,
0x0EFF
)
IO( // IO Resource for SMBus IO
Decode16,
0x5000,
0x5000,
1,
0x10
)
WORDIO( //for device IO starts from IO - SMBUS_PORT
ResourceProducer,
MinFixed,
MaxFixed,
PosDecode,
EntireRange,
0x0000,
0x5010,
0x5FFF,
0x0000,
0x0FEF
)
IO( // IO Resource for Sensor IO
Decode16,
0x6000,
0x6000,
1,
0x80
)
WORDIO( //for device IO starts from IO - SMBUS_PORT
ResourceProducer,
MinFixed,
MaxFixed,
PosDecode,
EntireRange,
0x0000,
0x6080,
0xFFFF,
0x0000,
0x9F7F
)
DWORDMemory(
ResourceProducer,
PosDecode,
MinFixed,
MaxFixed,
Cacheable,
ReadWrite,
0x00000000,
0x000A0000,
0x000BFFFF,
0x00000000,
0x00020000
)
DWORDMemory(
ResourceProducer,
PosDecode,
MinFixed,
MaxFixed,
Cacheable,
ReadWrite,
0x00000000,
0x000C0000,
0x000DFFFF,
0x00000000,
0x00020000
)
DWORDMemory(
ResourceProducer,
PosDecode,
MinFixed,
MaxFixed,
Cacheable,
ReadWrite,
0x00000000,
0x00100000,
0xFFEFFFFF,
0x00000000,
0xFFF00000
,,,EMM1
)
})
CreateDwordField (BUF0, EMM1._MIN, TCMM)
CreateDwordField (BUF0, EMM1._LEN, TOMM)
Add (AMEM, 0x0010000, TCMM)
Subtract (0xFFF00000, TCMM, TOMM)
Return(BUF0) // Return Buf0
} // END CRS
Name(_PRT, Package(){
Package(){0x0007ffff, 0, \_SB.PCI0.LNKB, 0}, // Slot 1, INTA
Package(){0x0007ffff, 1, \_SB.PCI0.LNKC, 0}, // Slot 1, INTB
Package(){0x0007ffff, 2, \_SB.PCI0.LNKD, 0}, // Slot 1, INTC
Package(){0x0007ffff, 3, \_SB.PCI0.LNKA, 0}, // Slot 1, INTD
Package(){0x0006ffff, 0, \_SB.PCI0.LNKC, 0}, // Slot 2, INTA
Package(){0x0006ffff, 1, \_SB.PCI0.LNKD, 0}, // Slot 2, INTB
Package(){0x0006ffff, 2, \_SB.PCI0.LNKA, 0}, // Slot 2, INTC
Package(){0x0006ffff, 3, \_SB.PCI0.LNKB, 0}, // Slot 2, INTD
Package(){0x0005ffff, 0, \_SB.PCI0.LNKD, 0}, // Slot 3, INTA
Package(){0x0005ffff, 1, \_SB.PCI0.LNKA, 0}, // Slot 3, INTB
Package(){0x0005ffff, 2, \_SB.PCI0.LNKB, 0}, // Slot 3, INTC
Package(){0x0005ffff, 3, \_SB.PCI0.LNKC, 0}, // Slot 3, INTD
Package(){0x0004ffff, 0, \_SB.PCI0.LNKA, 0}, // USB , INTA
Package(){0x0004ffff, 1, \_SB.PCI0.LNKB, 0}, // USB , INTB
Package(){0x0004ffff, 2, \_SB.PCI0.LNKC, 0}, // USB , INTC
Package(){0x0004ffff, 3, \_SB.PCI0.LNKD, 0}, // USB , INTD
Package(){0x0001ffff, 0, \_SB.PCI0.LNKA, 0}, // AGP, INTA
Package(){0x0001ffff, 1, \_SB.PCI0.LNKB, 0}, // AGP, INTB
Package(){0x0001ffff, 2, \_SB.PCI0.LNKC, 0}, // AGP, INTC
Package(){0x0001ffff, 3, \_SB.PCI0.LNKD, 0}, // AGP, INTD
})
Device(VT86) {
Name(_ADR,0x00040000) //Address+function.
OperationRegion(PIRQ, PCI_Config, 0x55, 0x3)
Scope(\) {
Field (\_SB.PCI0.VT86.PIRQ, ByteAcc, NoLock, Preserve) {
PIRA, 8, //PCI IRQA
PIBC, 8, //PCI IRQB and PCI IRQC
PIRD, 8, //PCI IRQD
}
}
}
Device(USB0) {
Name(_ADR,0x00040002) //Address+function.
Name(_PRW, Package(2){0x09, 1}) // USB is wakeup device//OEM02E
}
Device(VTAC) {
Name(_ADR,0x00040004) //Address+function.
OperationRegion(PWC, PCI_Config, 0x54, 0x1)
Scope(\) {
Field (\_SB.PCI0.VTAC.PWC, ByteAcc, NoLock, Preserve) {
PWC1, 8, //Serial IRQ
}
}
}
Device(PIB) { // Map f0 space,
Name(_ADR,0x00040000)
OperationRegion(SB70, PCI_Config, 0x00, 0x88) //South Bridge device 7 function 0
Field(SB70,ByteAcc,NoLock,Preserve)
{
Offset(0x48),
, 2, // Skip 2 bits
EUSB, 1, // RX4802 enable USB
, 5, // Skip 5 bits
Offset(0x50),
FLDA,2, // RX50 bit[0-1] Floppy DMA
LPDA,2, // RX50 bit[2-3] LPT DMA
, 4,
FLIR,4, // RX51 bit[0-3] Floppy IRQ
LPIR,4, // RX51 bit[4-7] LPT IRQ
U1IR,4, // RX52 bit[0-3] UART1 IRQ
U2IR,4, // RX52 bit[4-7] UART2 IRQ
Offset(0x55),
, 4, // Skip 4 bits
PIA,4, // PIRQA# Routing
PIB,4, // PIRQB# Routing
PIC,4, // PIRQC# Routing
, 4, // Skip 4 bits
PID,4, // PIRQD# Routing
Offset(0x85),
EP3C, 1, // RX8500 Disable/Enable P3C
EN3C, 1, // RX8501 Super IO configuration enable
, 6
} // End of Field
} // End of PIB
include ("Link.asl")
include ("io.asl")
include ("intr.asl")
Include ("dma.asl")
Include ("timer.asl")
Include ("rtc.asl")
Include ("spkr.asl")
Include ("coproc.asl")
Include ("superio.asl")
Name(_PRW, Package(2){0x05,5}) //OEM09
} // End of PCI0
} // End of _SB
} // End of ASL File
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?