]> git.saurik.com Git - apple/xnu.git/blame - iokit/IOKit/pwr_mgt/IOPMlog.h
xnu-123.5.tar.gz
[apple/xnu.git] / iokit / IOKit / pwr_mgt / IOPMlog.h
CommitLineData
1c79356b
A
1/*
2 * Copyright (c) 1998-2000 Apple Computer, Inc. All rights reserved.
3 *
4 * @APPLE_LICENSE_HEADER_START@
5 *
6 * The contents of this file constitute Original Code as defined in and
7 * are subject to the Apple Public Source License Version 1.1 (the
8 * "License"). You may not use this file except in compliance with the
9 * License. Please obtain a copy of the License at
10 * http://www.apple.com/publicsource and read it before using this file.
11 *
12 * This Original Code and all software distributed under the License are
13 * distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, EITHER
14 * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
15 * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
16 * FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT. Please see the
17 * License for the specific language governing rights and limitations
18 * under the License.
19 *
20 * @APPLE_LICENSE_HEADER_END@
21 */
22#define PMlogSetParent 1
23#define PMlogAddChild 2
24#define PMlogRemoveChild 3
25#define PMlogControllingDriver 4
26#define PMlogControllingDriverErr1 5 /* bad power state array version */
27#define PMlogControllingDriverErr2 6 /* too many power states */
28#define PMlogControllingDriverErr3 7 /* not a real IOPMDriver */
29#define PMlogControllingDriverErr4 8 /* power state change in progress */
30#define PMlogInterestedDriver 9
31#define PMlogAcknowledgeErr1 10 /* unknown entity called acknowledgePowerChange */
32#define PMlogChildAcknowledge 11
33#define PMlogDriverAcknowledge 12 /* interested driver acknowledges */
34#define PMlogAcknowledgeErr2 13 /* object has already acked */
35#define PMlogAcknowledgeErr3 14 /* not expecting any acks */
36#define PMlogAcknowledgeErr4 15 /* not expecting acknowledgeSetPowerState */
37#define PMlogDriverAcknowledgeSet 16 /* controlling driver acknowledges */
38#define PMlogWillChange 17
39#define PMlogDidChange 18
40#define PMlogRequestDomain 19
41#define PMlogMakeUsable 20
42#define PMlogChangeStateTo 21
43#define PMlogChangeStateToPriv 22
44#define PMlogSetAggressiveness 23
45#define PMlogCriticalTemp 24
46#define PMlogOverrideOn 25
47#define PMlogOverrideOff 26
48#define PMlogEnqueueErr 27 /* change queue overflow */
49#define PMlogCollapseQueue 28
50#define PMlogChangeDone 29
51#define PMlogCtrlDriverTardy 30 /* controlling driver didn't acknowledge */
52#define PMlogIntDriverTardy 31 /* interested driver didn't acknowledge */
53#define PMlogStartAckTimer 32
54#define PMlogStartParentChange 33
55#define PMlogAmendParentChange 34
56#define PMlogStartDeviceChange 35
57#define PMlogRequestDenied 36 /* parent denied domain state change request */
58#define PMlogControllingDriverErr5 37 /* zero power states or we already have a driver with more power states */
59#define PMlogProgramHardware 38
60#define PMlogInformDriverPreChange 39
61#define PMlogInformDriverPostChange 40
62#define PMlogRemoveDriver 41
63#define PMsetIdleTimerPeriod 42
64#define PMlogSystemWake 43
65#define PMlogAcknowledgeErr5 44
66#define PMlogClientAcknowledge 45
67#define PMlogClientTardy 46 /* application or kernel client didn't acknowledge */
68#define PMlogClientCancel 47