feat: vm-native setup, verify and gpu tooling with acpi and bench
This commit is contained in:
169
acpi/platform-devices.dsl
Normal file
169
acpi/platform-devices.dsl
Normal file
@@ -0,0 +1,169 @@
|
||||
/*
|
||||
* Intel ACPI Component Architecture
|
||||
* AML/ASL+ Disassembler version 20251212 (64-bit version)
|
||||
* Copyright (c) 2000 - 2025 Intel Corporation
|
||||
*
|
||||
* Disassembling to symbolic ASL+ operators
|
||||
*
|
||||
* Disassembly of platform-devices.aml
|
||||
*
|
||||
* Original Table Header:
|
||||
* Signature "SSDT"
|
||||
* Length 0x00000252 (594)
|
||||
* Revision 0x01
|
||||
* Checksum 0xA9
|
||||
* OEM ID "ALASKA"
|
||||
* OEM Table ID "A M I "
|
||||
* OEM Revision 0x20250321 (539296545)
|
||||
* Compiler ID "INTL"
|
||||
* Compiler Version 0x20251212 (539300370)
|
||||
*/
|
||||
DefinitionBlock ("", "SSDT", 1, "ALASKA", "A M I ", 0x20250321)
|
||||
{
|
||||
Scope (_SB)
|
||||
{
|
||||
Device (PWRB)
|
||||
{
|
||||
Name (_HID, EisaId ("PNP0C0C") /* Power Button Device */) // _HID: Hardware ID
|
||||
Method (_STA, 0, NotSerialized) // _STA: Status
|
||||
{
|
||||
Return (0x0B)
|
||||
}
|
||||
}
|
||||
|
||||
Device (SLPB)
|
||||
{
|
||||
Name (_HID, EisaId ("PNP0C0E") /* Sleep Button Device */) // _HID: Hardware ID
|
||||
Name (_STA, 0x0B) // _STA: Status
|
||||
}
|
||||
|
||||
Device (ACAD)
|
||||
{
|
||||
Name (_HID, "ACPI0003" /* Power Source Device */) // _HID: Hardware ID
|
||||
Name (_PCL, Package (0x01) // _PCL: Power Consumer List
|
||||
{
|
||||
_SB
|
||||
})
|
||||
Name (ACP, Ones)
|
||||
Method (_PSR, 0, NotSerialized) // _PSR: Power Source
|
||||
{
|
||||
Return (One)
|
||||
}
|
||||
|
||||
Method (_STA, 0, NotSerialized) // _STA: Status
|
||||
{
|
||||
Return (0x0F)
|
||||
}
|
||||
}
|
||||
|
||||
Device (PIT0)
|
||||
{
|
||||
Name (_HID, "PNP0000" /* 8259-compatible Programmable Interrupt Controller */) // _HID: Hardware ID
|
||||
Method (_STA, 0, NotSerialized) // _STA: Status
|
||||
{
|
||||
Return (0x0F)
|
||||
}
|
||||
}
|
||||
|
||||
Device (TIMR)
|
||||
{
|
||||
Name (_HID, "PNP0100" /* PC-class System Timer */) // _HID: Hardware ID
|
||||
Method (_STA, 0, NotSerialized) // _STA: Status
|
||||
{
|
||||
Return (0x0F)
|
||||
}
|
||||
}
|
||||
|
||||
Device (VLT0)
|
||||
{
|
||||
Name (_HID, "PNP0C02" /* PNP Motherboard Resources */) // _HID: Hardware ID
|
||||
Name (_STR, Unicode ("Voltage Regulator Module")) // _STR: Description String
|
||||
Method (_STA, 0, NotSerialized) // _STA: Status
|
||||
{
|
||||
Return (0x0F)
|
||||
}
|
||||
}
|
||||
|
||||
PowerResource (PFAN, 0x00, 0x0000)
|
||||
{
|
||||
Method (_STA, 0, NotSerialized) // _STA: Status
|
||||
{
|
||||
Return (0x0F)
|
||||
}
|
||||
|
||||
Method (_ON, 0, NotSerialized) // _ON_: Power On
|
||||
{
|
||||
}
|
||||
|
||||
Method (_OFF, 0, NotSerialized) // _OFF: Power Off
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
Device (FAN0)
|
||||
{
|
||||
Name (_HID, EisaId ("PNP0C0B") /* Fan (Thermal Solution) */) // _HID: Hardware ID
|
||||
Name (_PR0, Package (0x01) // _PR0: Power Resources for D0
|
||||
{
|
||||
PFAN
|
||||
})
|
||||
Name (FPKG, Package (0x03)
|
||||
{
|
||||
One,
|
||||
One,
|
||||
0x04B0
|
||||
})
|
||||
Method (_FST, 0, Serialized) // _FST: Fan Status
|
||||
{
|
||||
Local0 = Timer
|
||||
Local1 = ((Local0 >> 0x1D) & 0xFF)
|
||||
Local1 %= 0xC9
|
||||
FPKG [0x02] = (0x044C + Local1)
|
||||
Return (FPKG) /* \_SB_.FAN0.FPKG */
|
||||
}
|
||||
}
|
||||
|
||||
ThermalZone (TZ0)
|
||||
{
|
||||
Method (_TMP, 0, Serialized) // _TMP: Temperature
|
||||
{
|
||||
Local0 = Timer
|
||||
Local1 = ((Local0 >> 0x1A) & 0x3F)
|
||||
Local1 %= 0x3D
|
||||
Local2 = (0x0C28 + Local1)
|
||||
Return (Local2)
|
||||
}
|
||||
|
||||
Method (_AC0, 0, NotSerialized) // _ACx: Active Cooling, x=0-9
|
||||
{
|
||||
Return (0x0CD2)
|
||||
}
|
||||
|
||||
Method (_PSV, 0, NotSerialized) // _PSV: Passive Temperature
|
||||
{
|
||||
Return (0x0DFE)
|
||||
}
|
||||
|
||||
Method (_HOT, 0, NotSerialized) // _HOT: Hot Temperature
|
||||
{
|
||||
Return (0x0E30)
|
||||
}
|
||||
|
||||
Method (_CRT, 0, NotSerialized) // _CRT: Critical Temperature
|
||||
{
|
||||
Return (0x0E62)
|
||||
}
|
||||
|
||||
Method (_SCP, 1, NotSerialized) // _SCP: Set Cooling Policy
|
||||
{
|
||||
}
|
||||
|
||||
Name (_TC1, 0x04) // _TC1: Thermal Constant 1
|
||||
Name (_TC2, 0x03) // _TC2: Thermal Constant 2
|
||||
Name (_TSP, 0x96) // _TSP: Thermal Sampling Period
|
||||
Name (_TZP, Zero) // _TZP: Thermal Zone Polling
|
||||
Name (_STR, Unicode ("System thermal zone")) // _STR: Description String
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user