1/*
2 * Copyright (c) 1998-2000 Apple Computer, Inc. All rights reserved.
3 *
4 * @APPLE_OSREFERENCE_LICENSE_HEADER_START@
5 *
6 * This file contains Original Code and/or Modifications of Original Code
7 * as defined in and that are subject to the Apple Public Source License
8 * Version 2.0 (the 'License'). You may not use this file except in
9 * compliance with the License. The rights granted to you under the License
10 * may not be used to create, or enable the creation or redistribution of,
11 * unlawful or unlicensed copies of an Apple operating system, or to
12 * circumvent, violate, or enable the circumvention or violation of, any
13 * terms of an Apple operating system software license agreement.
14 *
15 * Please obtain a copy of the License at
16 * http://www.opensource.apple.com/apsl/ and read it before using this file.
17 *
18 * The Original Code and all software distributed under the License are
19 * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
20 * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
21 * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
22 * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
23 * Please see the License for the specific language governing rights and
24 * limitations under the License.
25 *
26 * @APPLE_OSREFERENCE_LICENSE_HEADER_END@
27 */
28enum PMLogEnum {
29 kPMLogSetParent = 1, // 1 0x05070004
30 kPMLogAddChild, // 2 0x05070008
31 kPMLogRemoveChild, // 3 0x0507000c
32 kPMLogControllingDriver, // 4 0x05070010
33 kPMLogControllingDriverErr1, // 5 0x05070014 - bad power state array version
34 kPMLogControllingDriverErr2, // 6 0x05070018 - power states already registered
35 kPMLogControllingDriverErr3, // 7 0x0507001c
36 kPMLogControllingDriverErr4, // 8 0x05070020 - power driver is invalid
37 kPMLogInterestedDriver, // 9 0x05070024
38 kPMLogAcknowledgeErr1, // 10 0x05070028 - unknown entity called acknowledgePowerChange
39 kPMLogChildAcknowledge, // 11 0x0507002c
40 kPMLogDriverAcknowledge, // 12 0x05070030 - interested driver acknowledges
41 kPMLogAcknowledgeErr2, // 13 0x05070034 - object has already acked
42 kPMLogAcknowledgeErr3, // 14 0x05070038 - not expecting any acks
43 kPMLogAcknowledgeErr4, // 15 0x0507003c - not expecting acknowledgeSetPowerState
44 kPMLogDriverAcknowledgeSet, // 16 0x05070040 - controlling driver acknowledges
45 kPMLogWillChange, // 17 0x05070044
46 kPMLogDidChange, // 18 0x05070048
47 kPMLogRequestDomain, // 19 0x0507004c
48 kPMLogMakeUsable, // 20 0x05070050
49 kPMLogChangeStateTo, // 21 0x05070054
50 kPMLogChangeStateToPriv, // 22 0x05070058
51 kPMLogSetAggressiveness, // 23 0x0507005c
52 kPMLogCriticalTemp, // 24 0x05070060
53 kPMLogOverrideOn, // 25 0x05070064
54 kPMLogOverrideOff, // 26 0x05070068
55 kPMLogChangeStateForRootDomain, // 27 0x0507006c
56 kPMLogCSynchronizePowerTree, // 28 0x05070070
57 kPMLogChangeDone, // 29 0x05070074
58 kPMLogCtrlDriverTardy, // 30 0x05070078 - controlling driver didn't acknowledge
59 kPMLogIntDriverTardy, // 31 0x0507007c - interested driver didn't acknowledge
60 kPMLogStartAckTimer, // 32 0x05070080
61 kPMLogStartParentChange, // 33 0x05070084
62 kPMLogAmendParentChange, // 34 0x05070088
63 kPMLogStartDeviceChange, // 35 0x0507008c
64 kPMLogRequestDenied, // 36 0x05070090 - parent denied domain state change request
65 kPMLogControllingDriverErr5, // 37 0x05070094 - too few power states
66 kPMLogProgramHardware, // 38 0x05070098
67 kPMLogInformDriverPreChange, // 39 0x0507009c
68 kPMLogInformDriverPostChange, // 40 0x050700a0
69 kPMLogRemoveDriver, // 41 0x050700a4 - NOT USED
70 kPMLogSetIdleTimerPeriod, // 42 0x050700a8
71 kPMLogSystemWake, // 43 0x050700ac
72 kPMLogAcknowledgeErr5, // 44 0x050700b0
73 kPMLogClientAcknowledge, // 45 0x050700b4
74 kPMLogClientTardy, // 46 0x050700b8 - application didn't acknowledge
75 kPMLogClientCancel, // 47 0x050700bc - NOT USED
76 kPMLogClientNotify, // 48 0x050700c0 - client sent a notification
77 kPMLogAppNotify, // 49 0x050700c4 - application sent a notification
78 kPMLogSetClockGating, // 50 0x050700c8 - NOT USED
79 kPMLogSetPowerGating, // 51 0x050700cc - NOT USED
80 kPMLogSetPinGroup, // 52 0x050700d0 - NOT USED
81 kPMLogIdleCancel, // 53 0x050700d4 - device unidle during change
82 kPMLogSleepWakeTracePoint, // 54 0x050700d8 - kIOPMTracePoint markers
83 kPMLogQuiescePowerTree, // 55 0x050700dc
84 kPMLogComponentWakeProgress, // 56 0x050700e0
85 kPMLogUserActiveState, // 57 0x050700e4
86 kPMLogAppResponseDelay, // 58 0x050700e8
87 kPMLogDrvResponseDelay, // 59 0x050700ec
88 kPMLogPCIDevChangeStart, // 60 0x050700f0
89 kPMLogPCIDevChangeDone, // 61 0x050700f4
90 kPMLogSleepWakeMessage, // 62 0x050700f8
91 kPMLogDrvPSChangeDelay, // 63 0x050700fc
92 kIOPMlogLastEvent
93};
94