1*43a90889SApple OSS Distributions/* 2*43a90889SApple OSS Distributions * Copyright (c) 2019-2019 Apple Inc. All rights reserved. 3*43a90889SApple OSS Distributions * 4*43a90889SApple OSS Distributions * @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 5*43a90889SApple OSS Distributions * 6*43a90889SApple OSS Distributions * This file contains Original Code and/or Modifications of Original Code 7*43a90889SApple OSS Distributions * as defined in and that are subject to the Apple Public Source License 8*43a90889SApple OSS Distributions * Version 2.0 (the 'License'). You may not use this file except in 9*43a90889SApple OSS Distributions * compliance with the License. The rights granted to you under the License 10*43a90889SApple OSS Distributions * may not be used to create, or enable the creation or redistribution of, 11*43a90889SApple OSS Distributions * unlawful or unlicensed copies of an Apple operating system, or to 12*43a90889SApple OSS Distributions * circumvent, violate, or enable the circumvention or violation of, any 13*43a90889SApple OSS Distributions * terms of an Apple operating system software license agreement. 14*43a90889SApple OSS Distributions * 15*43a90889SApple OSS Distributions * Please obtain a copy of the License at 16*43a90889SApple OSS Distributions * http://www.opensource.apple.com/apsl/ and read it before using this file. 17*43a90889SApple OSS Distributions * 18*43a90889SApple OSS Distributions * The Original Code and all software distributed under the License are 19*43a90889SApple OSS Distributions * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 20*43a90889SApple OSS Distributions * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 21*43a90889SApple OSS Distributions * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 22*43a90889SApple OSS Distributions * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 23*43a90889SApple OSS Distributions * Please see the License for the specific language governing rights and 24*43a90889SApple OSS Distributions * limitations under the License. 25*43a90889SApple OSS Distributions * 26*43a90889SApple OSS Distributions * @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 27*43a90889SApple OSS Distributions */ 28*43a90889SApple OSS Distributions 29*43a90889SApple OSS Distributions#if !__IIG 30*43a90889SApple OSS Distributions#if KERNEL 31*43a90889SApple OSS Distributions#include <libkern/c++/OSObject.h> 32*43a90889SApple OSS Distributions#endif 33*43a90889SApple OSS Distributions#endif 34*43a90889SApple OSS Distributions 35*43a90889SApple OSS Distributions#ifndef _IOKIT_UOSOBJECT_H 36*43a90889SApple OSS Distributions#define _IOKIT_UOSOBJECT_H 37*43a90889SApple OSS Distributions 38*43a90889SApple OSS Distributions#if !KERNEL 39*43a90889SApple OSS Distributions#include <stddef.h> 40*43a90889SApple OSS Distributions#include <stdint.h> 41*43a90889SApple OSS Distributions#include <DriverKit/IOReturn.h> 42*43a90889SApple OSS Distributions#if DRIVERKIT_PRIVATE 43*43a90889SApple OSS Distributions#include <mach/port.h> 44*43a90889SApple OSS Distributions#endif /* DRIVERKIT_PRIVATE */ 45*43a90889SApple OSS Distributions#if !__IIG 46*43a90889SApple OSS Distributions#include <string.h> 47*43a90889SApple OSS Distributions#include <DriverKit/OSMetaClass.h> 48*43a90889SApple OSS Distributions#endif /* !__IIG */ 49*43a90889SApple OSS Distributionsclass OSObject; 50*43a90889SApple OSS Distributionstypedef OSObject * OSObjectPtr; 51*43a90889SApple OSS Distributions#endif /* !KERNEL */ 52*43a90889SApple OSS Distributions 53*43a90889SApple OSS Distributions#if !__IIG_ATTRIBUTES_DEFINED__ 54*43a90889SApple OSS Distributions 55*43a90889SApple OSS Distributions#define __IIG_ATTRIBUTES_DEFINED__ 1 56*43a90889SApple OSS Distributions 57*43a90889SApple OSS Distributions#if __IIG || __DOCUMENTATION__ 58*43a90889SApple OSS Distributions 59*43a90889SApple OSS Distributions#define IIG_KERNEL __attribute__((annotate("kernel"))) 60*43a90889SApple OSS Distributions#define IIG_NATIVE __attribute__((annotate("native"))) 61*43a90889SApple OSS Distributions#define IIG_LOCAL __attribute__((annotate("local"))) 62*43a90889SApple OSS Distributions#define IIG_LOCALONLY __attribute__((annotate("localonly"))) 63*43a90889SApple OSS Distributions#define IIG_REMOTE __attribute__((annotate("remote"))) 64*43a90889SApple OSS Distributions#define IIG_LOCALHOST __attribute__((annotate("localhost"))) 65*43a90889SApple OSS Distributions#define IIG_INVOKEREPLY __attribute__((annotate("invokereply"))) 66*43a90889SApple OSS Distributions#define IIG_REPLY __attribute__((annotate("reply"))) 67*43a90889SApple OSS Distributions#define IIG_PORTMAKESEND __attribute__((annotate("MACH_MSG_TYPE_MAKE_SEND"))) 68*43a90889SApple OSS Distributions#define IIG_PORTCOPYSEND __attribute__((annotate("MACH_MSG_TYPE_COPY_SEND"))) 69*43a90889SApple OSS Distributions#define IIG_TARGET __attribute__((annotate("target"))) 70*43a90889SApple OSS Distributions#define IIG_TYPE(p) __attribute__((annotate("type=" # p))) 71*43a90889SApple OSS Distributions//#define IIG_ARRAY(maxcount) __attribute__((annotate(# maxcount), annotate("array"))) 72*43a90889SApple OSS Distributions#define IIG_EXTENDS(cls) __attribute__((annotate("extends=" # cls))) 73*43a90889SApple OSS Distributions//#define IIG_INTERFACE __attribute__((annotate("interface"))) 74*43a90889SApple OSS Distributions//#define IIG_IMPLEMENTS(i) void __implements(i *); 75*43a90889SApple OSS Distributions#define IIG_QUEUENAME(name) __attribute__((annotate("queuename=" # name))) 76*43a90889SApple OSS Distributions#define IIG_SERIALIZABLE __attribute__((annotate("serializable"))) 77*43a90889SApple OSS Distributions#define IIG_CONCRETE __attribute__((annotate("concrete"))) 78*43a90889SApple OSS Distributions 79*43a90889SApple OSS Distributions#if __IIG 80*43a90889SApple OSS Distributions#define KERNEL IIG_KERNEL 81*43a90889SApple OSS Distributions#endif /* __IIG */ 82*43a90889SApple OSS Distributions#define NATIVE IIG_NATIVE 83*43a90889SApple OSS Distributions#define LOCAL IIG_LOCAL 84*43a90889SApple OSS Distributions#define LOCALONLY IIG_LOCALONLY 85*43a90889SApple OSS Distributions#define REMOTE IIG_REMOTE 86*43a90889SApple OSS Distributions#define LOCALHOST IIG_LOCALHOST 87*43a90889SApple OSS Distributions#define INVOKEREPLY IIG_INVOKEREPLY 88*43a90889SApple OSS Distributions#define REPLY IIG_REPLY 89*43a90889SApple OSS Distributions#define PORTMAKESEND IIG_PORTMAKESEND 90*43a90889SApple OSS Distributions#define PORTCOPYSEND IIG_PORTCOPYSEND 91*43a90889SApple OSS Distributions#define TARGET IIG_TARGET 92*43a90889SApple OSS Distributions#define TYPE(p) IIG_TYPE(p) 93*43a90889SApple OSS Distributions//#define ARRAY(maxcount) IIG_ARRAY(maxcount) 94*43a90889SApple OSS Distributions#define EXTENDS(cls) IIG_EXTENDS(cls) 95*43a90889SApple OSS Distributions//#define INTERFACE IIG_INTERFACE 96*43a90889SApple OSS Distributions//#define IMPLEMENTS(i) IIG_IMPLEMENTS(i) 97*43a90889SApple OSS Distributions#define QUEUENAME(name) IIG_QUEUENAME(name) 98*43a90889SApple OSS Distributions 99*43a90889SApple OSS Distributions#else /* __IIG || __DOCUMENTATION__ */ 100*43a90889SApple OSS Distributions 101*43a90889SApple OSS Distributions#define IIG_KERNEL 102*43a90889SApple OSS Distributions#define IIG_NATIVE 103*43a90889SApple OSS Distributions#define IIG_LOCAL 104*43a90889SApple OSS Distributions#define IIG_LOCALONLY 105*43a90889SApple OSS Distributions#define IIG_REMOTE 106*43a90889SApple OSS Distributions#define IIG_LOCALHOST 107*43a90889SApple OSS Distributions#define IIG_INVOKEREPLY 108*43a90889SApple OSS Distributions#define IIG_REPLY 109*43a90889SApple OSS Distributions#define IIG_PORTMAKESEND 110*43a90889SApple OSS Distributions#define IIG_PORTCOPYSEND 111*43a90889SApple OSS Distributions#define IIG_TARGET 112*43a90889SApple OSS Distributions#define IIG_TYPE(p) 113*43a90889SApple OSS Distributions//#define IIG_ARRAY(maxcount) 114*43a90889SApple OSS Distributions#define IIG_EXTENDS(cls) 115*43a90889SApple OSS Distributions//#define IIG_INTERFACE 116*43a90889SApple OSS Distributions//#define IIG_IMPLEMENTS(i) 117*43a90889SApple OSS Distributions#define IIG_QUEUENAME(name) 118*43a90889SApple OSS Distributions#define IIG_SERIALIZABLE 119*43a90889SApple OSS Distributions 120*43a90889SApple OSS Distributions#endif /* __IIG || __DOCUMENTATION__ */ 121*43a90889SApple OSS Distributions 122*43a90889SApple OSS Distributions#endif /* __IIG_ATTRIBUTES_DEFINED__ */ 123*43a90889SApple OSS Distributions 124*43a90889SApple OSS Distributions 125*43a90889SApple OSS Distributions#if !__IIG 126*43a90889SApple OSS Distributions#if KERNEL 127*43a90889SApple OSS Distributionstypedef OSObject OSContainer; 128*43a90889SApple OSS Distributions#else /* KERNEL */ 129*43a90889SApple OSS Distributionsclass IIG_SERIALIZABLE OSContainer; 130*43a90889SApple OSS Distributions#endif /* KERNEL */ 131*43a90889SApple OSS Distributions#else /* !__IIG */ 132*43a90889SApple OSS Distributionsclass IIG_SERIALIZABLE OSContainer; 133*43a90889SApple OSS Distributions#endif /* !__IIG */ 134*43a90889SApple OSS Distributions 135*43a90889SApple OSS Distributions/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ 136*43a90889SApple OSS Distributions 137*43a90889SApple OSS Distributions/* 138*43a90889SApple OSS Distributions * DRIVERKIT_ macros below can be used to describe the ownership semantics 139*43a90889SApple OSS Distributions * of functions handling subclasses of OSObject. 140*43a90889SApple OSS Distributions * The attributes propagate with inheritance, but can be overriden. 141*43a90889SApple OSS Distributions * New versions of the Clang Static Analyzer can use this knowledge to 142*43a90889SApple OSS Distributions * check the code for leaks or uses-after-free. 143*43a90889SApple OSS Distributions */ 144*43a90889SApple OSS Distributions 145*43a90889SApple OSS Distributions#ifndef KERNEL 146*43a90889SApple OSS Distributions/* 147*43a90889SApple OSS Distributions * By default, methods returning OSObjects are assumed to have the following 148*43a90889SApple OSS Distributions * owneship semantics: 149*43a90889SApple OSS Distributions * - Functions and methods that have "Get" in their name are assumed to be 150*43a90889SApple OSS Distributions * getters. They return at "+0" and the caller is not responsible for releasing 151*43a90889SApple OSS Distributions * the returned object. 152*43a90889SApple OSS Distributions * 153*43a90889SApple OSS Distributions * - All other methods are assumed to return at "+1", and the caller is 154*43a90889SApple OSS Distributions * responsible for releasing the returned object. 155*43a90889SApple OSS Distributions * 156*43a90889SApple OSS Distributions * The semantics implied by the naming convention described above can be 157*43a90889SApple OSS Distributions * overriden using either DRIVERKIT_RETURNS_RETAINED or 158*43a90889SApple OSS Distributions * DRIVERKIT_RETURNS_NOT_RETAINED attribute applied to a function. 159*43a90889SApple OSS Distributions * In the former case, it stipulates that the function is returning at "+1", 160*43a90889SApple OSS Distributions * and in the latter case "+0". 161*43a90889SApple OSS Distributions * DRIVERKIT_RETURNS_RETAINED and DRIVERKIT_RETURNS_NOT_RETAINED attributes 162*43a90889SApple OSS Distributions * can be also applied to out parameters, in which case they specify 163*43a90889SApple OSS Distributions * that an out parameter is written into at +1 or +0 respectively. 164*43a90889SApple OSS Distributions * Behavior of out parameters of non-void functions can be additionally 165*43a90889SApple OSS Distributions * customized via annotations that explain how a function returns a retained 166*43a90889SApple OSS Distributions * or a non-retained value through its out-parameter depending on its 167*43a90889SApple OSS Distributions * return value: DRIVERKIT_RETURNS_RETAINED_ON_ZERO and 168*43a90889SApple OSS Distributions * DRIVERKIT_RETURNS_RETAINED_ON_NONZERO. 169*43a90889SApple OSS Distributions */ 170*43a90889SApple OSS Distributions#if __has_attribute(os_returns_retained) 171*43a90889SApple OSS Distributions#define DRIVERKIT_RETURNS_RETAINED __attribute__((os_returns_retained)) 172*43a90889SApple OSS Distributions#else 173*43a90889SApple OSS Distributions#define DRIVERKIT_RETURNS_RETAINED 174*43a90889SApple OSS Distributions#endif 175*43a90889SApple OSS Distributions#if __has_attribute(os_returns_not_retained) 176*43a90889SApple OSS Distributions#define DRIVERKIT_RETURNS_NOT_RETAINED __attribute__((os_returns_not_retained)) 177*43a90889SApple OSS Distributions#else 178*43a90889SApple OSS Distributions#define DRIVERKIT_RETURNS_NOT_RETAINED 179*43a90889SApple OSS Distributions#endif 180*43a90889SApple OSS Distributions 181*43a90889SApple OSS Distributions/* 182*43a90889SApple OSS Distributions * DRIVERKIT_CONSUMED attribute can be applied to parameters. 183*43a90889SApple OSS Distributions * It specifies that this function call would consume the reference to the 184*43a90889SApple OSS Distributions * annotated parameter. 185*43a90889SApple OSS Distributions */ 186*43a90889SApple OSS Distributions#if __has_attribute(os_consumed) 187*43a90889SApple OSS Distributions#define DRIVERKIT_CONSUMED __attribute__((os_consumed)) 188*43a90889SApple OSS Distributions#else 189*43a90889SApple OSS Distributions#define DRIVERKIT_CONSUMED 190*43a90889SApple OSS Distributions#endif 191*43a90889SApple OSS Distributions 192*43a90889SApple OSS Distributions/* 193*43a90889SApple OSS Distributions * DRIVERKIT_CONSUMES_THIS attribute can be applied to C++ methods. 194*43a90889SApple OSS Distributions * It specifies that this method call consumes a reference to "this" (e.g. 195*43a90889SApple OSS Distributions * by storing a reference to "this" in a passed parameter). 196*43a90889SApple OSS Distributions */ 197*43a90889SApple OSS Distributions#if __has_attribute(os_consumes_this) 198*43a90889SApple OSS Distributions#define DRIVERKIT_CONSUMES_THIS __attribute__((os_consumes_this)) 199*43a90889SApple OSS Distributions#else 200*43a90889SApple OSS Distributions#define DRIVERKIT_CONSUMES_THIS 201*43a90889SApple OSS Distributions#endif 202*43a90889SApple OSS Distributions 203*43a90889SApple OSS Distributions/* 204*43a90889SApple OSS Distributions * DRIVERKIT_RETURNS_RETAINED_ON_ZERO is an attribute applicable to out 205*43a90889SApple OSS Distributions * parameters. 206*43a90889SApple OSS Distributions * It specifies that an out parameter at +1 is written into an argument iff 207*43a90889SApple OSS Distributions * the function returns a zero return value. 208*43a90889SApple OSS Distributions */ 209*43a90889SApple OSS Distributions#if __has_attribute(os_returns_retained_on_zero) 210*43a90889SApple OSS Distributions#define DRIVERKIT_RETURNS_RETAINED_ON_ZERO __attribute__((os_returns_retained_on_zero)) 211*43a90889SApple OSS Distributions#else 212*43a90889SApple OSS Distributions#define DRIVERKIT_RETURNS_RETAINED_ON_ZERO 213*43a90889SApple OSS Distributions#endif 214*43a90889SApple OSS Distributions 215*43a90889SApple OSS Distributions/* 216*43a90889SApple OSS Distributions * DRIVERKIT_RETURNS_RETAINED_ON_NON_ZERO is an attribute applicable to out 217*43a90889SApple OSS Distributions * parameters. 218*43a90889SApple OSS Distributions * It specifies that an out parameter at +1 is written into an argument iff 219*43a90889SApple OSS Distributions * the function returns a non-zero return value. 220*43a90889SApple OSS Distributions */ 221*43a90889SApple OSS Distributions#if __has_attribute(os_returns_retained_on_non_zero) 222*43a90889SApple OSS Distributions#define DRIVERKIT_RETURNS_RETAINED_ON_NONZERO __attribute__((os_returns_retained_on_non_zero)) 223*43a90889SApple OSS Distributions#else 224*43a90889SApple OSS Distributions#define DRIVERKIT_RETURNS_RETAINED_ON_NONZERO 225*43a90889SApple OSS Distributions#endif 226*43a90889SApple OSS Distributions 227*43a90889SApple OSS Distributions 228*43a90889SApple OSS Distributions/* 229*43a90889SApple OSS Distributions * Macros below are equivalent to their DRIVERKIT_ counterparts. 230*43a90889SApple OSS Distributions * They are provided for source-compatibility with IOKit code so they can 231*43a90889SApple OSS Distributions * be used in code that gets compiled for both platforms. 232*43a90889SApple OSS Distributions */ 233*43a90889SApple OSS Distributions#define LIBKERN_RETURNS_RETAINED DRIVERKIT_RETURNS_RETAINED 234*43a90889SApple OSS Distributions#define LIBKERN_RETURNS_NOT_RETAINED DRIVERKIT_RETURNS_NOT_RETAINED 235*43a90889SApple OSS Distributions#define LIBKERN_CONSUMED DRIVERKIT_CONSUMED 236*43a90889SApple OSS Distributions#define LIBKERN_CONSUMES_THIS DRIVERKIT_CONSUMES_THIS 237*43a90889SApple OSS Distributions#define LIBKERN_RETURNS_RETAINED_ON_ZERO DRIVERKIT_RETURNS_RETAINED_ON_ZERO 238*43a90889SApple OSS Distributions#define LIBKERN_RETURNS_RETAINED_ON_NONZERO DRIVERKIT_RETURNS_RETAINED_ON_NONZERO 239*43a90889SApple OSS Distributions 240*43a90889SApple OSS Distributions#endif /* !defined(KERNEL) */ 241*43a90889SApple OSS Distributions 242*43a90889SApple OSS Distributions/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ 243*43a90889SApple OSS Distributions 244*43a90889SApple OSS Distributions 245*43a90889SApple OSS Distributionsclass IIG_SERIALIZABLE OSData; 246*43a90889SApple OSS Distributionsclass IIG_SERIALIZABLE OSNumber; 247*43a90889SApple OSS Distributionsclass IIG_SERIALIZABLE OSString; 248*43a90889SApple OSS Distributionsclass IIG_SERIALIZABLE OSBoolean; 249*43a90889SApple OSS Distributionsclass IIG_SERIALIZABLE OSDictionary; 250*43a90889SApple OSS Distributionsclass IIG_SERIALIZABLE OSArray; 251*43a90889SApple OSS Distributionsclass IIG_SERIALIZABLE OSSet; 252*43a90889SApple OSS Distributionsclass IIG_SERIALIZABLE OSOrderedSet; 253*43a90889SApple OSS Distributions 254*43a90889SApple OSS Distributionsclass OSMetaClass; 255*43a90889SApple OSS Distributionsclass IODispatchQueue; 256*43a90889SApple OSS Distributionstypedef char IODispatchQueueName[256]; 257*43a90889SApple OSS Distributions 258*43a90889SApple OSS Distributions#if __IIG 259*43a90889SApple OSS Distributionsclass OSMetaClassBase 260*43a90889SApple OSS Distributions{ 261*43a90889SApple OSS Distributions virtual const OSMetaClass * 262*43a90889SApple OSS Distributions getMetaClass() const LOCALONLY; 263*43a90889SApple OSS Distributions 264*43a90889SApple OSS Distributions virtual void 265*43a90889SApple OSS Distributions retain() const LOCALONLY; 266*43a90889SApple OSS Distributions 267*43a90889SApple OSS Distributions virtual void 268*43a90889SApple OSS Distributions release() const LOCALONLY; 269*43a90889SApple OSS Distributions 270*43a90889SApple OSS Distributions virtual bool 271*43a90889SApple OSS Distributions isEqualTo(const OSMetaClassBase * anObject) const LOCALONLY; 272*43a90889SApple OSS Distributions}; 273*43a90889SApple OSS Distributions#endif /* __IIG */ 274*43a90889SApple OSS Distributions 275*43a90889SApple OSS Distributions 276*43a90889SApple OSS Distributions/*! 277*43a90889SApple OSS Distributions@iig implementation 278*43a90889SApple OSS Distributions#include <DriverKit/IODispatchQueue.h> 279*43a90889SApple OSS Distributions@iig end 280*43a90889SApple OSS Distributions*/ 281*43a90889SApple OSS Distributions 282*43a90889SApple OSS Distributionsclass OSObject : public OSMetaClassBase 283*43a90889SApple OSS Distributions{ 284*43a90889SApple OSS Distributionspublic: 285*43a90889SApple OSS Distributions 286*43a90889SApple OSS Distributions virtual bool 287*43a90889SApple OSS Distributions init() LOCALONLY; 288*43a90889SApple OSS Distributions 289*43a90889SApple OSS Distributions virtual void 290*43a90889SApple OSS Distributions free() LOCALONLY; 291*43a90889SApple OSS Distributions 292*43a90889SApple OSS Distributions virtual void 293*43a90889SApple OSS Distributions retain() const override; 294*43a90889SApple OSS Distributions 295*43a90889SApple OSS Distributions virtual void 296*43a90889SApple OSS Distributions release() const override; 297*43a90889SApple OSS Distributions 298*43a90889SApple OSS Distributions virtual kern_return_t 299*43a90889SApple OSS Distributions SetDispatchQueue( 300*43a90889SApple OSS Distributions const IODispatchQueueName name, 301*43a90889SApple OSS Distributions IODispatchQueue * queue) KERNEL = 0; 302*43a90889SApple OSS Distributions 303*43a90889SApple OSS Distributions virtual kern_return_t 304*43a90889SApple OSS Distributions CopyDispatchQueue( 305*43a90889SApple OSS Distributions const IODispatchQueueName name, 306*43a90889SApple OSS Distributions IODispatchQueue ** queue) KERNEL = 0; 307*43a90889SApple OSS Distributions}; 308*43a90889SApple OSS Distributions 309*43a90889SApple OSS Distributions#define DEFN(classname, name) \ 310*43a90889SApple OSS Distributionsname ## _Impl(classname ## _ ## name ## _Args) 311*43a90889SApple OSS Distributions 312*43a90889SApple OSS Distributions/* 313*43a90889SApple OSS Distributions * Use of the IMPL macro is discouraged and should be replaced by a normal c++ 314*43a90889SApple OSS Distributions * method implementation (with the all method arguments) and the name of the method 315*43a90889SApple OSS Distributions * given a suffix '_Impl' 316*43a90889SApple OSS Distributions */ 317*43a90889SApple OSS Distributions 318*43a90889SApple OSS Distributions#define IMPL(classname, name) \ 319*43a90889SApple OSS Distributionsclassname :: DEFN(classname, name) 320*43a90889SApple OSS Distributions 321*43a90889SApple OSS Distributions/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ 322*43a90889SApple OSS Distributions 323*43a90889SApple OSS Distributions#endif /* ! _IOKIT_UOSOBJECT_H */ 324