X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/b226f5e54a60dc81db17b1260381d7dbfea3cdf1..0a7de7458d150b5d4dffc935ba399be265ef0a1a:/iokit/IOKit/IOMessage.h diff --git a/iokit/IOKit/IOMessage.h b/iokit/IOKit/IOMessage.h index 38808ebcc..cdd53930a 100644 --- a/iokit/IOKit/IOMessage.h +++ b/iokit/IOKit/IOMessage.h @@ -2,7 +2,7 @@ * Copyright (c) 1998-2000 Apple Computer, Inc. All rights reserved. * * @APPLE_OSREFERENCE_LICENSE_HEADER_START@ - * + * * This file contains Original Code and/or Modifications of Original Code * as defined in and that are subject to the Apple Public Source License * Version 2.0 (the 'License'). You may not use this file except in @@ -11,10 +11,10 @@ * unlawful or unlicensed copies of an Apple operating system, or to * circumvent, violate, or enable the circumvention or violation of, any * terms of an Apple operating system software license agreement. - * + * * Please obtain a copy of the License at * http://www.opensource.apple.com/apsl/ and read it before using this file. - * + * * The Original Code and all software distributed under the License are * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, @@ -22,7 +22,7 @@ * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. * Please see the License for the specific language governing rights and * limitations under the License. - * + * * @APPLE_OSREFERENCE_LICENSE_HEADER_END@ */ @@ -42,12 +42,12 @@ typedef UInt32 IOMessage; #define iokit_common_msg(message) (UInt32)(sys_iokit|sub_iokit_common|message) -#define iokit_family_msg(sub,message) (UInt32)(sys_iokit|sub|message) +#define iokit_family_msg(sub, message) (UInt32)(sys_iokit|sub|message) -/*! +/*! * @defined iokit_vendor_specific_msg * @discussion iokit_vendor_specific_msg passes messages in the sub_iokit_vendor_specific - * subsystem. It can be used to generate messages that are used for private + * subsystem. It can be used to generate messages that are used for private * communication between vendor specific code with the IOService::message() etc. APIs. */ #define iokit_vendor_specific_msg(message) (UInt32)(sys_iokit|sub_iokit_vendor_specific|message) @@ -93,10 +93,10 @@ typedef UInt32 IOMessage; /*! * @defined kIOMessageSystemWillPowerOff - * @discussion Indicates an imminent system shutdown. Recipients have a limited - * amount of time to respond, otherwise the system will timeout and + * @discussion Indicates an imminent system shutdown. Recipients have a limited + * amount of time to respond, otherwise the system will timeout and * shutdown even without a response. - * Delivered to in-kernel IOKit drivers via IOService::systemWillShutdown(), + * Delivered to in-kernel IOKit drivers via IOService::systemWillShutdown(), * and to clients of registerPrioritySleepWakeInterest(). * Never delivered to user space notification clients. */ @@ -104,10 +104,10 @@ typedef UInt32 IOMessage; /*! * @defined kIOMessageSystemWillRestart - * @discussion Indicates an imminent system restart. Recipients have a limited - * amount of time to respond, otherwise the system will timeout and + * @discussion Indicates an imminent system restart. Recipients have a limited + * amount of time to respond, otherwise the system will timeout and * restart even without a response. - * Delivered to in-kernel IOKit drivers via IOService::systemWillShutdown(), + * Delivered to in-kernel IOKit drivers via IOService::systemWillShutdown(), * and to clients of registerPrioritySleepWakeInterest(). * Never delivered to user space notification clients. */ @@ -138,7 +138,7 @@ typedef UInt32 IOMessage; /*! * @defined kIOMessageSystemWillNotSleep - * @discussion Announces that the system has retracted a previous attempt to sleep; + * @discussion Announces that the system has retracted a previous attempt to sleep; * it follows kIOMessageCanSystemSleep. * Delivered to in-kernel IOKit drivers via kIOGeneralInterest * and kIOPriorityPowerStateInterest. @@ -157,7 +157,7 @@ typedef UInt32 IOMessage; /*! * @defined kIOMessageSystemWillPowerOn - * @discussion Announces that the system is beginning to power the device tree; most + * @discussion Announces that the system is beginning to power the device tree; most * devices are unavailable at this point.. * Delivered to in-kernel IOKit drivers via kIOGeneralInterest * and kIOPriorityPowerStateInterest. @@ -177,22 +177,22 @@ typedef UInt32 IOMessage; /*! @group Unused and deprecated notifications */ -/*! +/*! * @defined kIOMessageCanDevicePowerOff - * @discussion Delivered to kIOAppPowerStateInterest clients of + * @discussion Delivered to kIOAppPowerStateInterest clients of * devices that implement their own idle timeouts. * This message type is almost never used. */ #define kIOMessageCanDevicePowerOff iokit_common_msg(0x200) -/*! +/*! * @defined kIOMessageDeviceWillNotPowerOff - * @discussion This IOKit interest notification is largely unused; + * @discussion This IOKit interest notification is largely unused; * it's not very interesting. */ #define kIOMessageDeviceWillNotPowerOff iokit_common_msg(0x220) -/*! +/*! * @defined kIOMessageSystemWillNotPowerOff * @deprecated This IOKit message is unused. */