|
楼主 |
发表于 2024-01-10 02:48:10
|
显示全部楼层
For reference here is the ACPI code that defines the thermal zone used for acpitz-acpi-0:
- /*
- * Intel ACPI Component Architecture
- * AML/ASL+ Disassembler version 20200925 (64-bit version)
- * Copyright (c) 2000 - 2020 Intel Corporation
- *
- * Disassembling to symbolic ASL+ operators
- *
- * Disassembly of ssdt15.dat, Tue Jan 9 18:43:01 2024
- *
- * Original Table Header:
- * Signature "SSDT"
- * Length 0x000007D5 (2005)
- * Revision 0x02
- * Checksum 0x51
- * OEM ID "AMD"
- * OEM Table ID "THERMAL0"
- * OEM Revision 0x00000001 (1)
- * Compiler ID "INTL"
- * Compiler Version 0x20220331 (539099953)
- */
- DefinitionBlock ("", "SSDT", 2, "AMD", "THERMAL0", 0x00000001)
- {
- External (_SB_.PCI0.SBRG.EC0_.DIEH, FieldUnitObj)
- External (_SB_.PCI0.SBRG.EC0_.OKEC, IntObj)
- External (_SB_.PCI0.SBRG.EC0_.Z009, MutexObj)
- External (_SB_.PLTF.C000, DeviceObj)
- External (_SB_.PLTF.C001, DeviceObj)
- External (_SB_.PLTF.C002, DeviceObj)
- External (_SB_.PLTF.C003, DeviceObj)
- External (_SB_.PLTF.C004, DeviceObj)
- External (_SB_.PLTF.C005, DeviceObj)
- External (_SB_.PLTF.C006, DeviceObj)
- External (_SB_.PLTF.C007, DeviceObj)
- External (_SB_.PLTF.C008, DeviceObj)
- External (_SB_.PLTF.C009, DeviceObj)
- External (_SB_.PLTF.C00A, DeviceObj)
- External (_SB_.PLTF.C00B, DeviceObj)
- External (_SB_.PLTF.C00C, DeviceObj)
- External (_SB_.PLTF.C00D, DeviceObj)
- External (_SB_.PLTF.C00E, DeviceObj)
- External (_SB_.PLTF.C00F, DeviceObj)
- External (M037, DeviceObj)
- External (M046, IntObj)
- External (M050, DeviceObj)
- External (M051, DeviceObj)
- External (M052, DeviceObj)
- External (M053, DeviceObj)
- External (M054, DeviceObj)
- External (M055, DeviceObj)
- External (M056, DeviceObj)
- External (M057, DeviceObj)
- External (M058, DeviceObj)
- External (M059, DeviceObj)
- External (M062, DeviceObj)
- External (M068, DeviceObj)
- External (M069, DeviceObj)
- External (M070, DeviceObj)
- External (M071, DeviceObj)
- External (M072, DeviceObj)
- External (M074, DeviceObj)
- External (M075, DeviceObj)
- External (M076, DeviceObj)
- External (M077, DeviceObj)
- External (M078, DeviceObj)
- External (M079, DeviceObj)
- External (M080, DeviceObj)
- External (M081, DeviceObj)
- External (M082, FieldUnitObj)
- External (M083, FieldUnitObj)
- External (M084, FieldUnitObj)
- External (M085, FieldUnitObj)
- External (M086, FieldUnitObj)
- External (M087, FieldUnitObj)
- External (M088, FieldUnitObj)
- External (M089, FieldUnitObj)
- External (M090, FieldUnitObj)
- External (M091, FieldUnitObj)
- External (M092, FieldUnitObj)
- External (M093, FieldUnitObj)
- External (M094, FieldUnitObj)
- External (M095, FieldUnitObj)
- External (M096, FieldUnitObj)
- External (M097, FieldUnitObj)
- External (M098, FieldUnitObj)
- External (M099, FieldUnitObj)
- External (M100, FieldUnitObj)
- External (M101, FieldUnitObj)
- External (M102, FieldUnitObj)
- External (M103, FieldUnitObj)
- External (M104, FieldUnitObj)
- External (M105, FieldUnitObj)
- External (M106, FieldUnitObj)
- External (M107, FieldUnitObj)
- External (M108, FieldUnitObj)
- External (M109, FieldUnitObj)
- External (M110, FieldUnitObj)
- External (M115, BuffObj)
- External (M116, BuffFieldObj)
- External (M117, BuffFieldObj)
- External (M118, BuffFieldObj)
- External (M119, BuffFieldObj)
- External (M120, BuffFieldObj)
- External (M122, FieldUnitObj)
- External (M127, DeviceObj)
- External (M128, FieldUnitObj)
- External (M131, FieldUnitObj)
- External (M132, FieldUnitObj)
- External (M133, FieldUnitObj)
- External (M134, FieldUnitObj)
- External (M135, FieldUnitObj)
- External (M136, FieldUnitObj)
- External (M220, FieldUnitObj)
- External (M221, FieldUnitObj)
- External (M226, FieldUnitObj)
- External (M227, DeviceObj)
- External (M229, FieldUnitObj)
- External (M231, FieldUnitObj)
- External (M233, FieldUnitObj)
- External (M235, FieldUnitObj)
- External (M23A, FieldUnitObj)
- External (M251, FieldUnitObj)
- External (M280, FieldUnitObj)
- External (M290, FieldUnitObj)
- External (M29A, FieldUnitObj)
- External (M310, FieldUnitObj)
- External (M31C, FieldUnitObj)
- External (M320, FieldUnitObj)
- External (M321, FieldUnitObj)
- External (M322, FieldUnitObj)
- External (M323, FieldUnitObj)
- External (M324, FieldUnitObj)
- External (M325, FieldUnitObj)
- External (M326, FieldUnitObj)
- External (M327, FieldUnitObj)
- External (M328, FieldUnitObj)
- External (M329, DeviceObj)
- External (M32A, DeviceObj)
- External (M32B, DeviceObj)
- External (M330, DeviceObj)
- External (M331, FieldUnitObj)
- External (M378, FieldUnitObj)
- External (M379, FieldUnitObj)
- External (M380, FieldUnitObj)
- External (M381, FieldUnitObj)
- External (M382, FieldUnitObj)
- External (M383, FieldUnitObj)
- External (M384, FieldUnitObj)
- External (M385, FieldUnitObj)
- External (M386, FieldUnitObj)
- External (M387, FieldUnitObj)
- External (M388, FieldUnitObj)
- External (M389, FieldUnitObj)
- External (M390, FieldUnitObj)
- External (M391, FieldUnitObj)
- External (M392, FieldUnitObj)
- External (M404, BuffObj)
- External (M408, MutexObj)
- External (M414, FieldUnitObj)
- External (M444, FieldUnitObj)
- External (M449, FieldUnitObj)
- External (M453, FieldUnitObj)
- External (M454, FieldUnitObj)
- External (M455, FieldUnitObj)
- External (M456, FieldUnitObj)
- External (M457, FieldUnitObj)
- External (M4C0, FieldUnitObj)
- External (M4F0, FieldUnitObj)
- External (M610, FieldUnitObj)
- External (M620, FieldUnitObj)
- External (M631, FieldUnitObj)
- External (M652, FieldUnitObj)
- Scope (\_TZ)
- {
- ThermalZone (TZ01)
- {
- Name (CRTT, 0x6E)
- Name (PSVT, 0x32)
- Name (TSPS, 0x14)
- Method (_TMP, 0, Serialized) // _TMP: Temperature
- {
- Local0 = 0x0B74
- If (CondRefOf (\_SB.PCI0.SBRG.EC0.OKEC))
- {
- If ((\_SB.PCI0.SBRG.EC0.OKEC == One))
- {
- If (CondRefOf (\_SB.PCI0.SBRG.EC0.Z009))
- {
- Acquire (\_SB.PCI0.SBRG.EC0.Z009, 0xFFFF)
- If (CondRefOf (\_SB.PCI0.SBRG.EC0.DIEH))
- {
- Local0 = \_SB.PCI0.SBRG.EC0.DIEH /* External reference */
- Local0 = (0x0AAC + (Local0 * 0x0A))
- }
- Release (\_SB.PCI0.SBRG.EC0.Z009)
- }
- }
- }
- Return (Local0)
- }
- Method (_PSL, 0, Serialized) // _PSL: Passive List
- {
- Return (Package (0x10)
- {
- \_SB.PLTF.C000,
- \_SB.PLTF.C001,
- \_SB.PLTF.C002,
- \_SB.PLTF.C003,
- \_SB.PLTF.C004,
- \_SB.PLTF.C005,
- \_SB.PLTF.C006,
- \_SB.PLTF.C007,
- \_SB.PLTF.C008,
- \_SB.PLTF.C009,
- \_SB.PLTF.C00A,
- \_SB.PLTF.C00B,
- \_SB.PLTF.C00C,
- \_SB.PLTF.C00D,
- \_SB.PLTF.C00E,
- \_SB.PLTF.C00F
- })
- }
- Method (_CRT, 0, Serialized) // _CRT: Critical Temperature
- {
- Local0 = (0x0AAC + (CRTT * 0x0A))
- Return (Local0)
- }
- Method (_TC1, 0, Serialized) // _TC1: Thermal Constant 1
- {
- Return (One)
- }
- Method (_TC2, 0, Serialized) // _TC2: Thermal Constant 2
- {
- Return (0x02)
- }
- Method (_TSP, 0, Serialized) // _TSP: Thermal Sampling Period
- {
- Return (TSPS) /* \_TZ_.TZ01.TSPS */
- }
- }
- }
- }
复制代码 |
|