зеркало из https://github.com/microsoft/Tx.git
340 строки
11 KiB
C#
340 строки
11 KiB
C#
//
|
|
// This code was generated by EtwEventTypeGen.exe
|
|
//
|
|
|
|
using System;
|
|
|
|
namespace Tx.Windows.Microsoft_Windows_Kernel_Acpi
|
|
{
|
|
public enum EventTask : uint {
|
|
ResourceTranslation = 100,
|
|
GpeEventHandling = 101,
|
|
TemperatureNotification = 102,
|
|
TripPointNotification = 103,
|
|
ActiveCoolingDevicePower = 104,
|
|
AmlMethodTrace = 105,
|
|
DeviceActiveCooling = 106,
|
|
DevicePassiveCooling = 107,
|
|
DeviceCoolingRundown = 108,
|
|
TemperatureChange = 109,
|
|
}
|
|
|
|
public enum MapActiveCoolingDevicePowerState : int {
|
|
on = 1,
|
|
off = 0,
|
|
}
|
|
|
|
public enum MapAmlMethodInvocationState : int {
|
|
started = 1,
|
|
finished = 0,
|
|
}
|
|
|
|
[Format("A memory range descriptor has been marked as reserved.")]
|
|
|
|
[ManifestEvent("{C514638F-7723-485b-BCFC-96565D735D4A}", 1, 0,
|
|
"", "win:Informational", "Microsoft-Windows-Kernel-Acpi/Diagnostic", "acpi:Diagnostic")]
|
|
|
|
public class ACPI_ETW_EVENT_MEMORY_RESERVED : SystemEvent
|
|
{
|
|
[EventField("win:UInt8")]
|
|
public byte ResourceFlag { get; set; }
|
|
|
|
[EventField("win:UInt8")]
|
|
public byte GeneralFlag { get; set; }
|
|
|
|
[EventField("win:UInt8")]
|
|
public byte TypeSpecificFlag { get; set; }
|
|
|
|
[EventField("win:UInt64")]
|
|
public ulong Granularity { get; set; }
|
|
|
|
[EventField("win:UInt64")]
|
|
public ulong AddressMin { get; set; }
|
|
|
|
[EventField("win:UInt64")]
|
|
public ulong AddressMax { get; set; }
|
|
|
|
[EventField("win:UInt64")]
|
|
public ulong AddressTranslation { get; set; }
|
|
|
|
[EventField("win:UInt64")]
|
|
public ulong AddressLength { get; set; }
|
|
}
|
|
|
|
[Format("Unexpected GPE event was fired on GPE bits that should be disabled.")]
|
|
|
|
[ManifestEvent("{C514638F-7723-485b-BCFC-96565D735D4A}", 2, 0,
|
|
"", "win:Informational", "Microsoft-Windows-Kernel-Acpi/Diagnostic", "acpi:Diagnostic")]
|
|
|
|
public class ACPI_ETW_EVENT_UNEXPECTED_GPE : SystemEvent
|
|
{
|
|
[EventField("win:UInt32")]
|
|
public uint GpeRegister { get; set; }
|
|
|
|
[EventField("win:UInt8")]
|
|
public byte UnexpectedEventMap { get; set; }
|
|
}
|
|
|
|
[Format("A temperature change notification (Notify(thermal_zone, 0x80)) for ACPI thermal zone %2 has been received. %n_TMP = %3K %n_PSV = %4K %n_AC0 = %5K %n_AC1 = %6K %n_AC2 = %7K %n_AC3 = %8K %n_AC4 = %9K %n_AC5 = %10K %n_AC6 = %11K %n_AC7 = %12K %n_AC8 = %13K %n_AC9 = %14K %n_HOT = %15K %n_CRT = %16K")]
|
|
|
|
[ManifestEvent("{C514638F-7723-485b-BCFC-96565D735D4A}", 3, 0,
|
|
"", "win:Informational", "Microsoft-Windows-Kernel-Acpi/Diagnostic", "acpi:Thermal")]
|
|
|
|
public class ACPI_ETW_EVENT_TEMPERATURE_NOTIFICATION : SystemEvent
|
|
{
|
|
[EventField("win:UInt16")]
|
|
public ushort ThermalZoneDeviceInstanceLength { get; set; }
|
|
|
|
[EventField("win:UnicodeString")]
|
|
public string ThermalZoneDeviceInstance { get; set; }
|
|
|
|
[EventField("win:UInt32")]
|
|
public uint _TMP { get; set; }
|
|
|
|
[EventField("win:UInt32")]
|
|
public uint _PSV { get; set; }
|
|
|
|
[EventField("win:UInt32")]
|
|
public uint _AC0 { get; set; }
|
|
|
|
[EventField("win:UInt32")]
|
|
public uint _AC1 { get; set; }
|
|
|
|
[EventField("win:UInt32")]
|
|
public uint _AC2 { get; set; }
|
|
|
|
[EventField("win:UInt32")]
|
|
public uint _AC3 { get; set; }
|
|
|
|
[EventField("win:UInt32")]
|
|
public uint _AC4 { get; set; }
|
|
|
|
[EventField("win:UInt32")]
|
|
public uint _AC5 { get; set; }
|
|
|
|
[EventField("win:UInt32")]
|
|
public uint _AC6 { get; set; }
|
|
|
|
[EventField("win:UInt32")]
|
|
public uint _AC7 { get; set; }
|
|
|
|
[EventField("win:UInt32")]
|
|
public uint _AC8 { get; set; }
|
|
|
|
[EventField("win:UInt32")]
|
|
public uint _AC9 { get; set; }
|
|
|
|
[EventField("win:UInt32")]
|
|
public uint _HOT { get; set; }
|
|
|
|
[EventField("win:UInt32")]
|
|
public uint _CRT { get; set; }
|
|
}
|
|
|
|
[Format("A trip point change notification (Notify(thermal_zone, 0x81)) for ACPI thermal zone %2 has been received. %n_TMP = %3K %n_PSV = %4K %n_AC0 = %5K %n_AC1 = %6K %n_AC2 = %7K %n_AC3 = %8K %n_AC4 = %9K %n_AC5 = %10K %n_AC6 = %11K %n_AC7 = %12K %n_AC8 = %13K %n_AC9 = %14K %n_HOT = %15K %n_CRT = %16K")]
|
|
|
|
[ManifestEvent("{C514638F-7723-485b-BCFC-96565D735D4A}", 4, 0,
|
|
"", "win:Informational", "Microsoft-Windows-Kernel-Acpi/Diagnostic", "acpi:Thermal")]
|
|
|
|
public class ACPI_ETW_EVENT_TRIP_POINT_NOTIFICATION : SystemEvent
|
|
{
|
|
[EventField("win:UInt16")]
|
|
public ushort ThermalZoneDeviceInstanceLength { get; set; }
|
|
|
|
[EventField("win:UnicodeString")]
|
|
public string ThermalZoneDeviceInstance { get; set; }
|
|
|
|
[EventField("win:UInt32")]
|
|
public uint _TMP { get; set; }
|
|
|
|
[EventField("win:UInt32")]
|
|
public uint _PSV { get; set; }
|
|
|
|
[EventField("win:UInt32")]
|
|
public uint _AC0 { get; set; }
|
|
|
|
[EventField("win:UInt32")]
|
|
public uint _AC1 { get; set; }
|
|
|
|
[EventField("win:UInt32")]
|
|
public uint _AC2 { get; set; }
|
|
|
|
[EventField("win:UInt32")]
|
|
public uint _AC3 { get; set; }
|
|
|
|
[EventField("win:UInt32")]
|
|
public uint _AC4 { get; set; }
|
|
|
|
[EventField("win:UInt32")]
|
|
public uint _AC5 { get; set; }
|
|
|
|
[EventField("win:UInt32")]
|
|
public uint _AC6 { get; set; }
|
|
|
|
[EventField("win:UInt32")]
|
|
public uint _AC7 { get; set; }
|
|
|
|
[EventField("win:UInt32")]
|
|
public uint _AC8 { get; set; }
|
|
|
|
[EventField("win:UInt32")]
|
|
public uint _AC9 { get; set; }
|
|
|
|
[EventField("win:UInt32")]
|
|
public uint _HOT { get; set; }
|
|
|
|
[EventField("win:UInt32")]
|
|
public uint _CRT { get; set; }
|
|
}
|
|
|
|
[Format("The active cooling device %6 has been turned %8. %nThermal zone device instance: %2 %nActive cooling package: _AC%3 %nNamespace object: _AL%4")]
|
|
|
|
[ManifestEvent("{C514638F-7723-485b-BCFC-96565D735D4A}", 5, 0,
|
|
"", "win:Informational", "Microsoft-Windows-Kernel-Acpi/Diagnostic", "acpi:Thermal")]
|
|
|
|
public class ACPI_ETW_EVENT_ACTIVE_COOLING_DEVICE_POWER_V0 : SystemEvent
|
|
{
|
|
[EventField("win:UInt16")]
|
|
public ushort ThermalZoneDeviceInstanceLength { get; set; }
|
|
|
|
[EventField("win:UnicodeString")]
|
|
public string ThermalZoneDeviceInstance { get; set; }
|
|
|
|
[EventField("win:UInt32")]
|
|
public uint ActiveCoolingLevel { get; set; }
|
|
|
|
[EventField("win:UInt32")]
|
|
public uint ActiveCoolingDeviceIndex { get; set; }
|
|
|
|
[EventField("win:UInt16")]
|
|
public ushort FanDeviceInstanceLength { get; set; }
|
|
|
|
[EventField("win:UnicodeString")]
|
|
public string FanDeviceInstance { get; set; }
|
|
|
|
[EventField("win:UInt16")]
|
|
public ushort PowerStateLength { get; set; }
|
|
|
|
[EventField("win:UnicodeString")]
|
|
public string PowerState { get; set; }
|
|
}
|
|
|
|
[Format("The active cooling device %6 has been turned %7. %nThermal zone device instance: %2 %nActive cooling package: _AC%3 %nNamespace object: _AL%4")]
|
|
|
|
[ManifestEvent("{C514638F-7723-485b-BCFC-96565D735D4A}", 6, 0,
|
|
"", "win:Informational", "Microsoft-Windows-Kernel-Acpi/Diagnostic", "acpi:Thermal")]
|
|
|
|
public class ACPI_ETW_EVENT_ACTIVE_COOLING_DEVICE_POWER : SystemEvent
|
|
{
|
|
[EventField("win:UInt16")]
|
|
public ushort ThermalZoneDeviceInstanceLength { get; set; }
|
|
|
|
[EventField("win:UnicodeString")]
|
|
public string ThermalZoneDeviceInstance { get; set; }
|
|
|
|
[EventField("win:UInt32")]
|
|
public uint ActiveCoolingLevel { get; set; }
|
|
|
|
[EventField("win:UInt32")]
|
|
public uint ActiveCoolingDeviceIndex { get; set; }
|
|
|
|
[EventField("win:UInt16")]
|
|
public ushort FanDeviceInstanceLength { get; set; }
|
|
|
|
[EventField("win:UnicodeString")]
|
|
public string FanDeviceInstance { get; set; }
|
|
|
|
[EventField("win:UInt16")]
|
|
public MapActiveCoolingDevicePowerState PowerState { get; set; }
|
|
}
|
|
|
|
[Format("ACPI method %2 evaluation has %3.")]
|
|
|
|
[ManifestEvent("{C514638F-7723-485b-BCFC-96565D735D4A}", 7, 0,
|
|
"", "win:Informational", "Microsoft-Windows-Kernel-Acpi/Diagnostic", "acpi:Diagnostic")]
|
|
|
|
public class ACPI_ETW_EVENT_AML_METHOD_TRACE : SystemEvent
|
|
{
|
|
[EventField("win:UInt16")]
|
|
public ushort AmlMethodNameLength { get; set; }
|
|
|
|
[EventField("win:UnicodeString")]
|
|
public string AmlMethodName { get; set; }
|
|
|
|
[EventField("win:UInt16")]
|
|
public MapAmlMethodInvocationState AmlMethodState { get; set; }
|
|
}
|
|
|
|
[Format("The active cooling device %2 has been turned %3.")]
|
|
|
|
[ManifestEvent("{C514638F-7723-485b-BCFC-96565D735D4A}", 8, 0,
|
|
"", "win:Informational", "Microsoft-Windows-Kernel-Acpi/Diagnostic", "acpi:Thermal")]
|
|
|
|
public class ACPI_ETW_EVENT_DEVICE_ACTIVE_COOLING : SystemEvent
|
|
{
|
|
[EventField("win:UInt16")]
|
|
public ushort DeviceInstanceLength { get; set; }
|
|
|
|
[EventField("win:UnicodeString")]
|
|
public string DeviceInstance { get; set; }
|
|
|
|
[EventField("win:UInt16")]
|
|
public MapActiveCoolingDevicePowerState PowerState { get; set; }
|
|
}
|
|
|
|
[Format("The passive cooling device %2 throttle has changed to %3 percent.")]
|
|
|
|
[ManifestEvent("{C514638F-7723-485b-BCFC-96565D735D4A}", 9, 0,
|
|
"", "win:Informational", "Microsoft-Windows-Kernel-Acpi/Diagnostic", "acpi:Thermal")]
|
|
|
|
public class ACPI_ETW_EVENT_DEVICE_PASSIVE_COOLING : SystemEvent
|
|
{
|
|
[EventField("win:UInt16")]
|
|
public ushort DeviceInstanceLength { get; set; }
|
|
|
|
[EventField("win:UnicodeString")]
|
|
public string DeviceInstance { get; set; }
|
|
|
|
[EventField("win:UInt8")]
|
|
public byte Throttle { get; set; }
|
|
}
|
|
|
|
[Format("The device %2 has the following cooling state. %nActive cooling: %3 %nPassive cooling: %4 percent")]
|
|
|
|
[ManifestEvent("{C514638F-7723-485b-BCFC-96565D735D4A}", 10, 0,
|
|
"", "win:Informational", "Microsoft-Windows-Kernel-Acpi/Diagnostic", "acpi:Thermal")]
|
|
|
|
public class ACPI_ETW_EVENT_DEVICE_COOLING_RUNDOWN : SystemEvent
|
|
{
|
|
[EventField("win:UInt16")]
|
|
public ushort DeviceInstanceLength { get; set; }
|
|
|
|
[EventField("win:UnicodeString")]
|
|
public string DeviceInstance { get; set; }
|
|
|
|
[EventField("win:UInt16")]
|
|
public MapActiveCoolingDevicePowerState PowerState { get; set; }
|
|
|
|
[EventField("win:UInt8")]
|
|
public byte Throttle { get; set; }
|
|
}
|
|
|
|
[Format("ThermalZoneDeviceInstanceLength=%1, ThermalZoneDeviceInstance=%2, Temperature=%3")]
|
|
|
|
[ManifestEvent("{C514638F-7723-485b-BCFC-96565D735D4A}", 11, 0,
|
|
"", "win:Informational", "Microsoft-Windows-Kernel-Acpi/Diagnostic", "acpi:Thermal")]
|
|
|
|
public class ACPI_ETW_EVENT_TEMPERATURE_CHANGE : SystemEvent
|
|
{
|
|
[EventField("win:UInt16")]
|
|
public ushort ThermalZoneDeviceInstanceLength { get; set; }
|
|
|
|
[EventField("win:UnicodeString")]
|
|
public string ThermalZoneDeviceInstance { get; set; }
|
|
|
|
[EventField("win:UInt32")]
|
|
public uint Temperature { get; set; }
|
|
}
|
|
|
|
}
|