Documentation
¶
Overview ¶
Package driverkit provides purego-based Go bindings for the macOS DriverKit framework.
Apple documentation: https://developer.apple.com/documentation/driverkit
Index ¶
- Constants
- func BuiltinTrap()
- func Crc32(crc uint32, buf unsafe.Pointer, size uint) uint32
- func DEQUEUEELTCLEANUP(elt *QueueEntry)
- func EnqueueHead(que *QueueEntry, elt *QueueEntry)
- func EnqueueTail(que *QueueEntry, elt *QueueEntry)
- func GIOBufferMemoryDescriptorMetaClass() *int32
- func GIOCommandMetaClass() *int32
- func GIOCommandPoolMetaClass() *int32
- func GIODMACommandMetaClass() *int32
- func GIODataQueueDispatchSourceMetaClass() *int32
- func GIODispatchQueueMetaClass() *int32
- func GIODispatchSourceMetaClass() *int32
- func GIOHistogramReporterMetaClass() *int32
- func GIOInterruptDispatchSourceMetaClass() *int32
- func GIOMemoryDescriptorMetaClass() *int32
- func GIOMemoryMapMetaClass() *int32
- func GIOReportLegendMetaClass() *int32
- func GIOReporterMetaClass() *int32
- func GIOServiceMetaClass() *int32
- func GIOServiceNotificationDispatchSourceMetaClass() *int32
- func GIOServiceStateNotificationDispatchSourceMetaClass() *int32
- func GIOSimpleReporterMetaClass() *int32
- func GIOStateReporterMetaClass() *int32
- func GIOTimerDispatchSourceMetaClass() *int32
- func GIOUserClientMetaClass() *int32
- func GOSActionMetaClass() *int32
- func GOSAction_IOUserClient_KernelCompletionMetaClass() *int32
- func GOSArrayMetaClass() *int32
- func GOSBooleanMetaClass() *int32
- func GOSBundleMetaClass() *int32
- func GOSCollectionMetaClass() *int32
- func GOSContainerMetaClass() *int32
- func GOSDataMetaClass() *int32
- func GOSDictionaryMetaClass() *int32
- func GOSMappedFileMetaClass() *int32
- func GOSNumberMetaClass() *int32
- func GOSObjectMetaClass() *int32
- func GOSOrderedSetMetaClass() *int32
- func GOSSerializationMetaClass() *int32
- func GOSSetMetaClass() *int32
- func GOSStringMetaClass() *int32
- func IOBufferMemoryDescriptor_Class() uintptr
- func IOCallOnce(flag *IOCallOnceFlag, block func())
- func IOCommandPool_Class() uintptr
- func IOCommand_Class() uintptr
- func IODMACommand_Class() uintptr
- func IODataQueueDispatchSource_Class() uintptr
- func IODelay(us uint64)
- func IODispatchQueue_Class() uintptr
- func IODispatchSource_Class() uintptr
- func IOFixedDivide(a int, b int) int
- func IOFixedMultiply(a int, b int) int
- func IOFree(address unsafe.Pointer, length uint)
- func IOHistogramReporter_Class() uintptr
- func IOInterruptDispatchSource_Class() uintptr
- func IOLockAlloc() unsafe.Pointer
- func IOLockAssert(lock unsafe.Pointer, type_ IOLockAssertState)
- func IOLockFree(lock unsafe.Pointer)
- func IOLockLock(lock unsafe.Pointer)
- func IOLockTryLock(lock unsafe.Pointer) bool
- func IOLockUnlock(lock unsafe.Pointer)
- func IOLogBuffer(title string, buffer unsafe.Pointer, size uint)
- func IOLogv(format string, ap string) int
- func IOMalloc(length uint) unsafe.Pointer
- func IOMallocTyped(length uint, type_id uint64) unsafe.Pointer
- func IOMallocZero(length uint) unsafe.Pointer
- func IOMallocZeroTyped(length uint, type_id uint64) unsafe.Pointer
- func IOMemoryDescriptor_Class() uintptr
- func IOMemoryMap_Class() uintptr
- func IOParseBootArgNumber(arg_string string, arg_ptr unsafe.Pointer, max_len int) bool
- func IOParseBootArgString(arg_string string, arg_ptr string, strlen int) bool
- func IORWLockAlloc() unsafe.Pointer
- func IORWLockFree(lock unsafe.Pointer)
- func IORWLockRead(lock unsafe.Pointer)
- func IORWLockUnlock(lock unsafe.Pointer)
- func IORWLockWrite(lock unsafe.Pointer)
- func IORecursiveConditionLockAlloc() unsafe.Pointer
- func IORecursiveConditionLockFree(lock unsafe.Pointer)
- func IORecursiveConditionLockHaveLock(lock unsafe.Pointer) bool
- func IORecursiveConditionLockLock(lock unsafe.Pointer)
- func IORecursiveConditionLockTryLock(lock unsafe.Pointer) bool
- func IORecursiveConditionLockUnlock(lock unsafe.Pointer)
- func IORecursiveLockAlloc() unsafe.Pointer
- func IORecursiveLockFree(lock unsafe.Pointer)
- func IORecursiveLockHaveLock(lock unsafe.Pointer) bool
- func IORecursiveLockLock(lock unsafe.Pointer)
- func IORecursiveLockTryLock(lock unsafe.Pointer) bool
- func IORecursiveLockUnlock(lock unsafe.Pointer)
- func IOReportLegend_Class() uintptr
- func IOReporter_Class() uintptr
- func IOServiceNotificationDispatchSource_Class() uintptr
- func IOServiceStateNotificationDispatchSource_Class() uintptr
- func IOService_Class() uintptr
- func IOSimpleReporter_Class() uintptr
- func IOSleep(ms uint64)
- func IOStateReporter_Class() uintptr
- func IOSysCtlByName(name string, oldp unsafe.Pointer, oldlenp *uint, newp unsafe.Pointer, ...) int
- func IOThreadLocalStorageGet(key uint64) unsafe.Pointer
- func IOThreadLocalStorageKeyCreate(key *uint64) int
- func IOThreadLocalStorageKeyDelete(key uint64) int
- func IOThreadLocalStorageSet(key uint64, value unsafe.Pointer) int
- func IOTimerDispatchSource_Class() uintptr
- func IOUserClient_Class() uintptr
- func IOVMPageSize() uint64
- func Insque(entry *QueueEntry, pred *QueueEntry)
- func KOSBooleanFalse() *int32
- func KOSBooleanTrue() *int32
- func Movqueue(_old *QueueEntry, _new *QueueEntry)
- func OSAction_Class() uintptr
- func OSAction_IOUserClient_KernelCompletion_Class() uintptr
- func OSArrayAppendValue(obj *int32, value unsafe.Pointer) bool
- func OSArrayApply(obj *int32, applier func(unsafe.Pointer) bool) bool
- func OSArrayCreate() *int32
- func OSArrayGetCount(obj *int32) uint32
- func OSArrayGetStringValue(obj *int32, index uint) string
- func OSArrayGetUInt64Value(obj *int32, index uint) uint64
- func OSArrayGetValue(obj *int32, index uint) unsafe.Pointer
- func OSArrayReplaceValue(obj *int32, index uint, value unsafe.Pointer) bool
- func OSArraySetStringValue(obj *int32, index uint, value string)
- func OSArraySetUInt64Value(obj *int32, index uint, value uint64)
- func OSArraySetValue(obj *int32, index uint, value unsafe.Pointer) bool
- func OSArray_Class() uintptr
- func OSBoolean_Class() uintptr
- func OSBundle_Class() uintptr
- func OSCollectionTypeID(obj unsafe.Pointer) uint64
- func OSCollectionTypeName(t uint64) string
- func OSCollection_Class() uintptr
- func OSCollectionsInitialize()
- func OSContainer_Class() uintptr
- func OSCreateObjectFromSerialization(serial *int32) unsafe.Pointer
- func OSCreateSerializationFromBytes(bytes_ unsafe.Pointer, length uint, freeBuffer func(unsafe.Pointer, uint)) *int32
- func OSCreateSerializationFromObject(obj unsafe.Pointer) *int32
- func OSDataAppendBytes(data *int32, bytes_ unsafe.Pointer, length uint) bool
- func OSDataCreate(bytes_ unsafe.Pointer, length uint) *int32
- func OSDataGetBytes(obj *int32, buffer unsafe.Pointer, offset uint, length uint) uint
- func OSDataGetBytesPtr(obj *int32, offset uint, length uint) unsafe.Pointer
- func OSDataGetLength(obj *int32) uint
- func OSData_Class() uintptr
- func OSDictionaryApply(obj *int32, applier func(string, unsafe.Pointer) bool) bool
- func OSDictionaryCreate() *int32
- func OSDictionaryGetCount(obj *int32) uint32
- func OSDictionaryGetStringValue(obj *int32, key string) string
- func OSDictionaryGetUInt64Value(obj *int32, key string) uint64
- func OSDictionaryGetValue(obj *int32, key string) unsafe.Pointer
- func OSDictionarySetStringValue(obj *int32, key string, value string)
- func OSDictionarySetUInt64Value(obj *int32, key string, value uint64)
- func OSDictionarySetValue(obj *int32, key string, value unsafe.Pointer) bool
- func OSDictionary_Class() uintptr
- func OSMappedFile_Class() uintptr
- func OSNumberCreateWithUInt64Value(value uint64) *int32
- func OSNumberGetUInt64Value(obj *int32) uint64
- func OSNumber_Class() uintptr
- func OSObjectAllocate(meta *int32, pObject *foundation.NSObject) int
- func OSObjectLog(obj unsafe.Pointer)
- func OSObjectRelease(container unsafe.Pointer)
- func OSObjectRetain(container unsafe.Pointer)
- func OSObject_Class() uintptr
- func OSOrderedSet_Class() uintptr
- func OSSerializationGetBytes(serial *int32, length *uint) unsafe.Pointer
- func OSSerialization_Class() uintptr
- func OSSet_Class() uintptr
- func OSStringCreate(cstring string, length uint) *int32
- func OSStringGetLength(string_ *int32) uint
- func OSStringGetStringPtr(obj *int32) string
- func OSString_Class() uintptr
- func OSSynchronizeIO()
- func QUEUEELTVALIDATE(elt *QueueEntry)
- func ReQueueHead(que *QueueEntry, elt *QueueEntry)
- func ReQueueTail(que *QueueEntry, elt *QueueEntry)
- func ReadRandom(buffer unsafe.Pointer, numBytes uint)
- func Remque(elt *QueueEntry)
- func Remqueue(elt *QueueEntry)
- func SymbolAvailable(symbol string) bool
- type Clockid_t
- type Dispatch_autorelease_frequency_t
- type Dispatch_block_flags_t
- type Filesec_property_t
- type IOAddressSegment
- type IOBufferMemoryDescriptor_IVars
- type IOBufferMemoryDescriptor_LocalIVars
- type IOCallOnceFlag
- type IOCommandPool_IVars
- type IOCommandPool_LocalIVars
- type IOCommand_IVars
- type IOCommand_LocalIVars
- type IODMACommandSpecification
- type IODMACommand_IVars
- type IODMACommand_LocalIVars
- type IODataQueueDispatchSource_IVars
- type IODataQueueDispatchSource_LocalIVars
- type IODispatchQueue_IVars
- type IODispatchQueue_LocalIVars
- type IODispatchSource_IVars
- type IODispatchSource_LocalIVars
- type IOHistogramReportValues
- type IOHistogramReporter_IVars
- type IOHistogramReporter_LocalIVars
- type IOHistogramSegmentConfig
- type IOInterruptDispatchSourcePayload
- type IOInterruptDispatchSource_IVars
- type IOInterruptDispatchSource_LocalIVars
- type IOLock
- type IOLockAssertState
- type IOMDPrivateState
- type IOMemoryDescriptor_IVars
- type IOMemoryDescriptor_LocalIVars
- type IOMemoryMapPrivateState
- type IOMemoryMap_IVars
- type IOMemoryMap_LocalIVars
- type IONamedValue
- type IONormDistReportValues
- type IOPhysicalRange
- type IORPC
- type IORPCMessage
- type IORPCMessageErrorReturn
- type IORPCMessageErrorReturnContent
- type IORPCMessageMach
- type IORWLock
- type IORWLockAssertState
- type IORecursiveConditionLock
- type IORecursiveLock
- type IOReportChannel
- type IOReportChannelList
- type IOReportChannelType
- type IOReportElement
- type IOReportElementValues
- type IOReportInterest
- type IOReportInterestList
- type IOReportLegend_IVars
- type IOReportLegend_LocalIVars
- type IOReporter_IVars
- type IOReporter_LocalIVars
- type IOServiceNotificationDispatchSource_IVars
- type IOServiceNotificationDispatchSource_LocalIVars
- type IOServiceStateNotificationDispatchSource_IVars
- type IOServiceStateNotificationDispatchSource_LocalIVars
- type IOService_IVars
- type IOService_LocalIVars
- type IOSimpleArrayReportValues
- type IOSimpleReportValues
- type IOSimpleReporter_IVars
- type IOSimpleReporter_LocalIVars
- type IOStateReportValues
- type IOStateReporter_IVars
- type IOStateReporter_LocalIVars
- type IOStateReporter_valueSelector
- type IOTimerDispatchSource_IVars
- type IOTimerDispatchSource_LocalIVars
- type IOUserClientMethodArguments
- type IOUserClientMethodDispatch
- type IOUserClient_IVars
- type IOUserClient_LocalIVars
- type IOVirtualRange
- type Idtype_t
- type Ipc_info_object_type_t
- type Launch_data_type_t
- type Mach_vm_range_flags_t
- type Mach_vm_range_flavor_t
- type Mach_vm_range_tag_t
- type Mpo_flags_t
- type OSActionWaitToken
- type OSAction_IOUserClient_KernelCompletion_IVars
- type OSAction_IOUserClient_KernelCompletion_LocalIVars
- type OSAction_IVars
- type OSAction_LocalIVars
- type OSArray_IVars
- type OSArray_LocalIVars
- type OSBoolean_IVars
- type OSBoolean_LocalIVars
- type OSBundle_IVars
- type OSBundle_LocalIVars
- type OSClassDescription
- type OSClassLoadInformation
- type OSCollection_IVars
- type OSCollection_LocalIVars
- type OSContainer_IVars
- type OSContainer_LocalIVars
- type OSData_IVars
- type OSData_LocalIVars
- type OSDictionary_IVars
- type OSDictionary_LocalIVars
- type OSMappedFile_IVars
- type OSMappedFile_LocalIVars
- type OSMetaClassPrivate
- type OSNumber_IVars
- type OSNumber_LocalIVars
- type OSObject
- type OSObject_IVars
- type OSObject_LocalIVars
- type OSOrderedSet_IVars
- type OSOrderedSet_LocalIVars
- type OSSerialization_IVars
- type OSSerialization_LocalIVars
- type OSSet_IVars
- type OSSet_LocalIVars
- type OSStringStatic
- type OSString_IVars
- type OSString_LocalIVars
- type Os_clockid_t
- type Os_log_type_t
- type Qos_class_t
- type QueueChainT
- type QueueEntry
- type QueueEntryT
- type QueueHeadT
- type QueueT
- type Virtual_memory_guard_exception_code_t
- type Xpc_listener_create_flags_t
- type Xpc_session_create_flags_t
Constants ¶
const ( THREAD_ABORTSAFE = 0 THREAD_INTERRUPTIBLE = 0 THREAD_UNINT = 0 )
const ( KIODMACommandPerformOperationOptionRead = 1 KIODMACommandPerformOperationOptionWrite = 2 KIODMACommandPerformOperationOptionZero = 4 )
const ( KIODispatchQueueMethodsNotSynchronized = 2 KIODispatchQueueReentrant = 1 )
const ( KIOInterruptDispatchSourceTypeEdge = 0 KIOInterruptDispatchSourceTypeLevel = 1 )
const ( KIOInterruptSourceAbsoluteTime = 0 KIOInterruptSourceContinuousTime = 65536 KIOInterruptSourceIndexMask = 65535 )
const ( KIOMaxBusStall10usec = 10000 KIOMaxBusStall20usec = 20000 KIOMaxBusStall25usec = 25000 KIOMaxBusStall30usec = 30000 KIOMaxBusStall40usec = 40000 KIOMaxBusStall5usec = 5000 KIOMaxBusStallNone = 0 )
const ( KIOMemoryDirectionIn = 1 KIOMemoryDirectionInOut = 3 KIOMemoryDirectionNone = 0 KIOMemoryDirectionOut = 2 KIOMemoryDirectionOutIn = 3 KIOMemoryDisableCopyOnWrite = 16 )
const ( KIOMemoryMapCacheModeCopyback = 512 KIOMemoryMapCacheModeDefault = 0 KIOMemoryMapCacheModeInhibit = 256 KIOMemoryMapCacheModeRealTime = 2048 KIOMemoryMapCacheModeWriteThrough = 1024 KIOMemoryMapFixedAddress = 1 KIOMemoryMapGuardedDefault = 0 KIOMemoryMapGuardedLarge = 12 KIOMemoryMapGuardedMask = 28 KIOMemoryMapGuardedNone = 4 KIOMemoryMapGuardedSmall = 8 KIOMemoryMapReadOnly = 2 )
const ( KIORPCMessageError = 64 KIORPCMessageKernel = 4 KIORPCMessageLocalHost = 2 KIORPCMessageObjectRefs = 16 KIORPCMessageOneway = 8 KIORPCMessageOnqueue = 32 KIORPCMessageRemote = 1 KIORPCMessageSimpleReply = 128 )
const ( KIORPCVersion190615 = 1302509196 KIORPCVersion190615Reply = 1302509197 )
const ( KIOReportCopyChannelData = 1 KIOReportTraceChannelData = 2 )
const ( KIOReportDisable = 0 KIOReportEnable = 1 KIOReportGetDimensions = 2 KIOReportNotifyHubOnChange = 16 KIOReportTraceOnChange = 32 )
const ( KIOReportFormatHistogram = 3 KIOReportFormatSimple = 1 KIOReportFormatSimpleArray = 4 KIOReportFormatState = 2 KIOReportInvalidFormat = 0 )
const ( KIOReportQuantityCPUInstrs = 102 KIOReportQuantityCapacitance = 6 KIOReportQuantityCurrent = 4 KIOReportQuantityData = 9 KIOReportQuantityEnergy = 3 KIOReportQuantityEventCount = 100 KIOReportQuantityFrequency = 8 KIOReportQuantityInductance = 7 KIOReportQuantityPacketCount = 101 KIOReportQuantityPower = 2 KIOReportQuantityTemperature = 10 KIOReportQuantityTime = 1 KIOReportQuantityUndefined = 0 KIOReportQuantityVoltage = 5 )
const ( KIOServiceHaltStatePowerOff = 1 KIOServiceHaltStateRestart = 2 )
const ( KIOServiceNotificationTypeLast = 1 KIOServiceNotificationTypeMatched = 1 KIOServiceNotificationTypeNone = 4294967295 KIOServiceNotificationTypeTerminated = 0 )
const ( KIOServicePMAssertionCPUBit = 1 KIOServicePMAssertionForceFullWakeupBit = 2048 )
const ( KIOServicePowerCapabilityLPW = 131072 KIOServicePowerCapabilityLow = 65536 KIOServicePowerCapabilityOff = 0 KIOServicePowerCapabilityOn = 2 )
const ( KIOTimerClockMachAbsoluteTime = 200 KIOTimerClockMachContinuousTime = 196 KIOTimerClockMonotonicRaw = 132 KIOTimerClockRealTime = 128 KIOTimerClockUptimeRaw = 136 KIOTimerClockWallTime = 128 )
const ( KMicrosecondScale = 1000 KMillisecondScale = 1000000 KNanosecondScale = 1 KSecondScale = 1000000000 KTickScale = 10000000 )
const ( KOSCollectionTypeArray = 2 KOSCollectionTypeBoolean = 11 KOSCollectionTypeData = 10 KOSCollectionTypeDictionary = 1 KOSCollectionTypeNumber = 4 KOSCollectionTypeSerialization = 13 KOSCollectionTypeSet = 3 KOSCollectionTypeString = 9 KOSCollectionTypeSymbol = 8 )
const (
KIOConnectMethodVarOutputSize = -3
)
const (
KIODMACommandCompleteDMANoOptions = 0
)
const (
KIODMACommandCreateNoOptions = 0
)
const (
KIODMACommandPrepareForDMANoOptions = 0
)
const (
KIODMACommandSpecificationNoOptions = 0
)
const (
KIODispatchQueueSleepReuseEvent = 256
)
const (
KIODispatchQueueWakeupAll = 1
)
const (
KIORPCMessageIDKernel = 9223372036854775808
)
const (
KIOServiceSearchPropertyParents = 1
)
const (
KIOUserClientAsyncArgumentsCountMax = 16
)
const (
KIOUserClientAsyncReferenceCountMax = 16
)
const (
KIOUserClientMemoryReadOnly = 1
)
const (
KIOUserClientMethodArgumentsCurrentVersion = 2
)
const (
KIOUserClientScalarArrayCountMax = 16
)
const (
KIOUserClientVariableStructureSize = 4294967295
)
const (
KOSArrayAppend = 18446744073709551615
)
const (
KOSClassCanRemote = 1
)
Variables ¶
This section is empty.
Functions ¶
func GIOBufferMemoryDescriptorMetaClass ¶
func GIOBufferMemoryDescriptorMetaClass() *int32
func GIOCommandMetaClass ¶
func GIOCommandMetaClass() *int32
func GIOCommandPoolMetaClass ¶
func GIOCommandPoolMetaClass() *int32
func GIODMACommandMetaClass ¶
func GIODMACommandMetaClass() *int32
func GIODataQueueDispatchSourceMetaClass ¶
func GIODataQueueDispatchSourceMetaClass() *int32
func GIODispatchQueueMetaClass ¶
func GIODispatchQueueMetaClass() *int32
func GIODispatchSourceMetaClass ¶
func GIODispatchSourceMetaClass() *int32
func GIOHistogramReporterMetaClass ¶
func GIOHistogramReporterMetaClass() *int32
func GIOInterruptDispatchSourceMetaClass ¶
func GIOInterruptDispatchSourceMetaClass() *int32
func GIOMemoryDescriptorMetaClass ¶
func GIOMemoryDescriptorMetaClass() *int32
func GIOMemoryMapMetaClass ¶
func GIOMemoryMapMetaClass() *int32
func GIOReportLegendMetaClass ¶
func GIOReportLegendMetaClass() *int32
func GIOReporterMetaClass ¶
func GIOReporterMetaClass() *int32
func GIOServiceMetaClass ¶
func GIOServiceMetaClass() *int32
func GIOServiceNotificationDispatchSourceMetaClass ¶
func GIOServiceNotificationDispatchSourceMetaClass() *int32
func GIOServiceStateNotificationDispatchSourceMetaClass ¶
func GIOServiceStateNotificationDispatchSourceMetaClass() *int32
func GIOSimpleReporterMetaClass ¶
func GIOSimpleReporterMetaClass() *int32
func GIOStateReporterMetaClass ¶
func GIOStateReporterMetaClass() *int32
func GIOTimerDispatchSourceMetaClass ¶
func GIOTimerDispatchSourceMetaClass() *int32
func GIOUserClientMetaClass ¶
func GIOUserClientMetaClass() *int32
func GOSActionMetaClass ¶
func GOSActionMetaClass() *int32
func GOSAction_IOUserClient_KernelCompletionMetaClass ¶
func GOSAction_IOUserClient_KernelCompletionMetaClass() *int32
func GOSArrayMetaClass ¶
func GOSArrayMetaClass() *int32
func GOSBooleanMetaClass ¶
func GOSBooleanMetaClass() *int32
func GOSBundleMetaClass ¶
func GOSBundleMetaClass() *int32
func GOSCollectionMetaClass ¶
func GOSCollectionMetaClass() *int32
func GOSContainerMetaClass ¶
func GOSContainerMetaClass() *int32
func GOSDataMetaClass ¶
func GOSDataMetaClass() *int32
func GOSDictionaryMetaClass ¶
func GOSDictionaryMetaClass() *int32
func GOSMappedFileMetaClass ¶
func GOSMappedFileMetaClass() *int32
func GOSNumberMetaClass ¶
func GOSNumberMetaClass() *int32
func GOSObjectMetaClass ¶
func GOSObjectMetaClass() *int32
func GOSOrderedSetMetaClass ¶
func GOSOrderedSetMetaClass() *int32
func GOSSerializationMetaClass ¶
func GOSSerializationMetaClass() *int32
func GOSSetMetaClass ¶
func GOSSetMetaClass() *int32
func GOSStringMetaClass ¶
func GOSStringMetaClass() *int32
func IOBufferMemoryDescriptor_Class ¶
func IOBufferMemoryDescriptor_Class() uintptr
func IOCallOnce ¶
func IOCallOnce(flag *IOCallOnceFlag, block func())
@function IOCallOnce @abstract Executes a block object only once @param flag A pointer to a IOCallOnceFlag structure that is used to test whether the block has completed or not. @param block The block object to execute once.
func IOCommandPool_Class ¶
func IOCommandPool_Class() uintptr
func IOCommand_Class ¶
func IOCommand_Class() uintptr
func IODMACommand_Class ¶
func IODMACommand_Class() uintptr
func IODataQueueDispatchSource_Class ¶
func IODataQueueDispatchSource_Class() uintptr
func IODispatchQueue_Class ¶
func IODispatchQueue_Class() uintptr
func IODispatchSource_Class ¶
func IODispatchSource_Class() uintptr
func IOFixedDivide ¶
func IOFixedMultiply ¶
func IOHistogramReporter_Class ¶
func IOHistogramReporter_Class() uintptr
func IOInterruptDispatchSource_Class ¶
func IOInterruptDispatchSource_Class() uintptr
func IOLockAlloc ¶
func IOLockAssert ¶
func IOLockAssert(lock unsafe.Pointer, type_ IOLockAssertState)
func IOLockFree ¶
func IOLockLock ¶
func IOLockTryLock ¶
func IOLockUnlock ¶
func IOMallocZero ¶
func IOMemoryDescriptor_Class ¶
func IOMemoryDescriptor_Class() uintptr
func IOMemoryMap_Class ¶
func IOMemoryMap_Class() uintptr
func IOParseBootArgNumber ¶
func IOParseBootArgString ¶
func IORWLockAlloc ¶
func IORWLockFree ¶
func IORWLockRead ¶
@function IORWLockRead @abstract Lock a read/write lock for read. @discussion Lock the lock for read, allowing multiple readers when there are no writers. If the lock is held for write, block waiting for its unlock. Locking the lock recursively from one thread, for read or write, can result in deadlock. @param lock Pointer to the allocated lock.
func IORWLockUnlock ¶
@function IORWLockUnlock @abstract Unlock a read/write lock. @discussion Undo one call to IORWLockRead or IORWLockWrite. Results are undefined if the caller has not locked the lock. @param lock Pointer to the allocated lock.
func IORWLockWrite ¶
@function IORWLockWrite @abstract Lock a read/write lock for write. @discussion Lock the lock for write, allowing one writer exlusive access. If the lock is held for read or write, block waiting for its unlock. Locking the lock recursively from one thread, for read or write, can result in deadlock. @param lock Pointer to the allocated lock.
func IORecursiveLockAlloc ¶
func IORecursiveLockFree ¶
func IORecursiveLockHaveLock ¶
func IORecursiveLockLock ¶
func IORecursiveLockTryLock ¶
func IORecursiveLockUnlock ¶
func IOReportLegend_Class ¶
func IOReportLegend_Class() uintptr
func IOReporter_Class ¶
func IOReporter_Class() uintptr
func IOServiceNotificationDispatchSource_Class ¶
func IOServiceNotificationDispatchSource_Class() uintptr
func IOServiceStateNotificationDispatchSource_Class ¶
func IOServiceStateNotificationDispatchSource_Class() uintptr
func IOService_Class ¶
func IOService_Class() uintptr
func IOSimpleReporter_Class ¶
func IOSimpleReporter_Class() uintptr
func IOStateReporter_Class ¶
func IOStateReporter_Class() uintptr
func IOSysCtlByName ¶
func IOThreadLocalStorageGet ¶
func IOTimerDispatchSource_Class ¶
func IOTimerDispatchSource_Class() uintptr
func IOUserClient_Class ¶
func IOUserClient_Class() uintptr
func IOVMPageSize ¶
func IOVMPageSize() uint64
@extern IOVMPageSize @abstract Containes the page size of the VM paging system in bytes.
func KOSBooleanFalse ¶
func KOSBooleanFalse() *int32
@const kOSBooleanFalse @abstract The OSBoolean constant for <code>false</code>. @discussion kOSBooleanFalse is the OSBoolean constant for <code>true</code>. This object does not need to be retained or released (but it can be). Comparisons should be of the form <code>booleanObject == kOSBooleanFalse</code>
func KOSBooleanTrue ¶
func KOSBooleanTrue() *int32
@const kOSBooleanTrue @abstract The OSBoolean constant for <code>true</code>. @discussion kOSBooleanTrue is the OSBoolean constant for <code>true</code>. This object does not need to be retained or released (but it can be). Comparisons should be of the form <code>booleanObject == kOSBooleanTrue</code>
func OSAction_Class ¶
func OSAction_Class() uintptr
func OSAction_IOUserClient_KernelCompletion_Class ¶
func OSAction_IOUserClient_KernelCompletion_Class() uintptr
func OSArrayCreate ¶
func OSArrayCreate() *int32
func OSArrayGetCount ¶
func OSArrayGetStringValue ¶
func OSArrayGetUInt64Value ¶
func OSArrayReplaceValue ¶
func OSArraySetStringValue ¶
func OSArraySetUInt64Value ¶
func OSArray_Class ¶
func OSArray_Class() uintptr
func OSBoolean_Class ¶
func OSBoolean_Class() uintptr
func OSBundle_Class ¶
func OSBundle_Class() uintptr
func OSCollectionTypeID ¶
func OSCollectionTypeName ¶
func OSCollection_Class ¶
func OSCollection_Class() uintptr
func OSCollectionsInitialize ¶
func OSCollectionsInitialize()
func OSContainer_Class ¶
func OSContainer_Class() uintptr
func OSDataAppendBytes ¶
func OSDataGetBytes ¶
func OSDataGetBytesPtr ¶
func OSDataGetLength ¶
func OSData_Class ¶
func OSData_Class() uintptr
func OSDictionaryApply ¶
func OSDictionaryCreate ¶
func OSDictionaryCreate() *int32
func OSDictionaryGetCount ¶
func OSDictionarySetValue ¶
func OSDictionary_Class ¶
func OSDictionary_Class() uintptr
func OSMappedFile_Class ¶
func OSMappedFile_Class() uintptr
func OSNumberGetUInt64Value ¶
func OSNumber_Class ¶
func OSNumber_Class() uintptr
func OSObjectAllocate ¶
func OSObjectAllocate(meta *int32, pObject *foundation.NSObject) int
func OSObjectLog ¶
func OSObjectRelease ¶
func OSObjectRetain ¶
func OSObject_Class ¶
func OSObject_Class() uintptr
func OSOrderedSet_Class ¶
func OSOrderedSet_Class() uintptr
func OSSerializationGetBytes ¶
func OSSerialization_Class ¶
func OSSerialization_Class() uintptr
func OSSet_Class ¶
func OSSet_Class() uintptr
func OSStringCreate ¶
func OSStringGetLength ¶
func OSStringGetStringPtr ¶
func OSString_Class ¶
func OSString_Class() uintptr
func OSSynchronizeIO ¶
func OSSynchronizeIO()
func SymbolAvailable ¶
SymbolAvailable reports whether the named C symbol was bound when the library loaded. Calling a generated wrapper whose symbol is unavailable dereferences a nil function variable and panics.
Types ¶
type Dispatch_autorelease_frequency_t ¶
type Dispatch_autorelease_frequency_t uint64
const ( DISPATCH_AUTORELEASE_FREQUENCY_INHERIT Dispatch_autorelease_frequency_t = 0 DISPATCH_AUTORELEASE_FREQUENCY_WORK_ITEM Dispatch_autorelease_frequency_t = 1 DISPATCH_AUTORELEASE_FREQUENCY_NEVER Dispatch_autorelease_frequency_t = 2 )
func (Dispatch_autorelease_frequency_t) String ¶
func (e Dispatch_autorelease_frequency_t) String() string
type Dispatch_block_flags_t ¶
type Dispatch_block_flags_t uint64
const ( DISPATCH_BLOCK_BARRIER Dispatch_block_flags_t = 1 DISPATCH_BLOCK_DETACHED Dispatch_block_flags_t = 2 DISPATCH_BLOCK_ASSIGN_CURRENT Dispatch_block_flags_t = 4 DISPATCH_BLOCK_NO_QOS_CLASS Dispatch_block_flags_t = 8 DISPATCH_BLOCK_INHERIT_QOS_CLASS Dispatch_block_flags_t = 16 DISPATCH_BLOCK_ENFORCE_QOS_CLASS Dispatch_block_flags_t = 32 )
func (Dispatch_block_flags_t) String ¶
func (e Dispatch_block_flags_t) String() string
type Filesec_property_t ¶
type Filesec_property_t int64
const ( FILESEC_OWNER Filesec_property_t = 1 FILESEC_GROUP Filesec_property_t = 2 FILESEC_UUID Filesec_property_t = 3 FILESEC_MODE Filesec_property_t = 4 FILESEC_ACL Filesec_property_t = 5 FILESEC_GRPUUID Filesec_property_t = 6 FILESEC_ACL_RAW Filesec_property_t = 100 FILESEC_ACL_ALLOCSIZE Filesec_property_t = 101 )
func (Filesec_property_t) String ¶
func (e Filesec_property_t) String() string
type IOAddressSegment ¶
type IOBufferMemoryDescriptor_IVars ¶
type IOBufferMemoryDescriptor_IVars struct{}
IOBufferMemoryDescriptor_IVars is an opaque type.
type IOBufferMemoryDescriptor_LocalIVars ¶
type IOBufferMemoryDescriptor_LocalIVars struct{}
IOBufferMemoryDescriptor_LocalIVars is an opaque type.
type IOCallOnceFlag ¶
type IOCallOnceFlag struct {
Opaque int
}
Structure to test whether block has completed or not.
type IOCommandPool_LocalIVars ¶
type IOCommandPool_LocalIVars struct{}
IOCommandPool_LocalIVars is an opaque type.
type IOCommand_LocalIVars ¶
type IOCommand_LocalIVars struct{}
IOCommand_LocalIVars is an opaque type.
type IODMACommand_LocalIVars ¶
type IODMACommand_LocalIVars struct{}
IODMACommand_LocalIVars is an opaque type.
type IODataQueueDispatchSource_IVars ¶
type IODataQueueDispatchSource_IVars struct{}
IODataQueueDispatchSource_IVars is an opaque type.
type IODataQueueDispatchSource_LocalIVars ¶
type IODataQueueDispatchSource_LocalIVars struct{}
IODataQueueDispatchSource_LocalIVars is an opaque type.
type IODispatchQueue_IVars ¶
type IODispatchQueue_IVars struct{}
IODispatchQueue_IVars is an opaque type.
type IODispatchQueue_LocalIVars ¶
type IODispatchQueue_LocalIVars struct{}
IODispatchQueue_LocalIVars is an opaque type.
type IODispatchSource_IVars ¶
type IODispatchSource_IVars struct{}
IODispatchSource_IVars is an opaque type.
type IODispatchSource_LocalIVars ¶
type IODispatchSource_LocalIVars struct{}
IODispatchSource_LocalIVars is an opaque type.
type IOHistogramReportValues ¶
type IOHistogramReporter_IVars ¶
type IOHistogramReporter_IVars struct{}
IOHistogramReporter_IVars is an opaque type.
type IOHistogramReporter_LocalIVars ¶
type IOHistogramReporter_LocalIVars struct{}
IOHistogramReporter_LocalIVars is an opaque type.
type IOInterruptDispatchSource_IVars ¶
type IOInterruptDispatchSource_IVars struct{}
IOInterruptDispatchSource_IVars is an opaque type.
type IOInterruptDispatchSource_LocalIVars ¶
type IOInterruptDispatchSource_LocalIVars struct{}
IOInterruptDispatchSource_LocalIVars is an opaque type.
type IOLockAssertState ¶
type IOLockAssertState int64
const ( KIOLockAssertOwned IOLockAssertState = 1 KIOLockAssertNotOwned IOLockAssertState = 2 )
func (IOLockAssertState) String ¶
func (e IOLockAssertState) String() string
type IOMDPrivateState ¶
C struct: _IOMDPrivateState
type IOMemoryDescriptor_IVars ¶
type IOMemoryDescriptor_IVars struct{}
IOMemoryDescriptor_IVars is an opaque type.
type IOMemoryDescriptor_LocalIVars ¶
type IOMemoryDescriptor_LocalIVars struct{}
IOMemoryDescriptor_LocalIVars is an opaque type.
type IOMemoryMapPrivateState ¶
C struct: _IOMemoryMapPrivateState
type IOMemoryMap_LocalIVars ¶
type IOMemoryMap_LocalIVars struct{}
IOMemoryMap_LocalIVars is an opaque type.
type IONamedValue ¶
type IONormDistReportValues ¶
type IOPhysicalRange ¶
type IORPC ¶
type IORPC struct {
Message *IORPCMessageMach
Reply *IORPCMessageMach
SendSize uint32
ReplySize uint32
}
type IORPCMessage ¶
func IORPCMessageFromMach ¶
func IORPCMessageFromMach(msg *IORPCMessageMach, reply bool) *IORPCMessage
type IORPCMessageErrorReturn ¶
type IORPCMessageErrorReturn struct {
Mach IORPCMessageMach
Content IORPCMessageErrorReturnContent
}
type IORPCMessageErrorReturnContent ¶
type IORPCMessageErrorReturnContent struct {
Hdr IORPCMessage
Result int
Pad uint32
}
type IORPCMessageMach ¶
type IORWLockAssertState ¶
type IORWLockAssertState int64
@enum IORWLockAssertState @abstract Used with IORWLockAssert to assert the state of a lock.
const ( KIORWLockAssertRead IORWLockAssertState = 1 KIORWLockAssertWrite IORWLockAssertState = 2 KIORWLockAssertHeld IORWLockAssertState = 3 KIORWLockAssertNotHeld IORWLockAssertState = 4 )
func (IORWLockAssertState) String ¶
func (e IORWLockAssertState) String() string
type IORecursiveConditionLock ¶
type IORecursiveConditionLock struct{}
IORecursiveConditionLock is an opaque type.
type IOReportChannel ¶
type IOReportChannel struct {
Channel_id uint64
Channel_type IOReportChannelType
}
type IOReportChannelList ¶
type IOReportChannelList struct {
Nchannels uint32
Channels []IOReportChannel
}
type IOReportChannelType ¶
type IOReportElement ¶
type IOReportElement struct {
Provider_id uint64
Channel_id uint64
Channel_type IOReportChannelType
Timestamp uint64
Values IOReportElementValues
}
type IOReportElementValues ¶
type IOReportElementValues struct {
V [4]uint64
}
type IOReportInterest ¶
type IOReportInterest struct {
Provider_id uint64
Channel IOReportChannel
}
type IOReportInterestList ¶
type IOReportInterestList struct {
Ninterests uint32
Interests []IOReportInterest
}
type IOReportLegend_IVars ¶
type IOReportLegend_IVars struct{}
IOReportLegend_IVars is an opaque type.
type IOReportLegend_LocalIVars ¶
type IOReportLegend_LocalIVars struct{}
IOReportLegend_LocalIVars is an opaque type.
type IOReporter_LocalIVars ¶
type IOReporter_LocalIVars struct{}
IOReporter_LocalIVars is an opaque type.
type IOServiceNotificationDispatchSource_IVars ¶
type IOServiceNotificationDispatchSource_IVars struct{}
IOServiceNotificationDispatchSource_IVars is an opaque type.
type IOServiceNotificationDispatchSource_LocalIVars ¶
type IOServiceNotificationDispatchSource_LocalIVars struct{}
IOServiceNotificationDispatchSource_LocalIVars is an opaque type.
type IOServiceStateNotificationDispatchSource_IVars ¶
type IOServiceStateNotificationDispatchSource_IVars struct{}
IOServiceStateNotificationDispatchSource_IVars is an opaque type.
type IOServiceStateNotificationDispatchSource_LocalIVars ¶
type IOServiceStateNotificationDispatchSource_LocalIVars struct{}
IOServiceStateNotificationDispatchSource_LocalIVars is an opaque type.
type IOService_LocalIVars ¶
type IOService_LocalIVars struct{}
IOService_LocalIVars is an opaque type.
type IOSimpleArrayReportValues ¶
type IOSimpleArrayReportValues struct {
Simple_values [4]int64
}
type IOSimpleReportValues ¶
type IOSimpleReporter_IVars ¶
type IOSimpleReporter_IVars struct{}
IOSimpleReporter_IVars is an opaque type.
type IOSimpleReporter_LocalIVars ¶
type IOSimpleReporter_LocalIVars struct{}
IOSimpleReporter_LocalIVars is an opaque type.
type IOStateReportValues ¶
type IOStateReporter_IVars ¶
type IOStateReporter_IVars struct{}
IOStateReporter_IVars is an opaque type.
type IOStateReporter_LocalIVars ¶
type IOStateReporter_LocalIVars struct{}
IOStateReporter_LocalIVars is an opaque type.
type IOStateReporter_valueSelector ¶
type IOStateReporter_valueSelector int64
const ( KInTransitions IOStateReporter_valueSelector = 0 KResidencyTime IOStateReporter_valueSelector = 1 KLastTransitionTime IOStateReporter_valueSelector = 2 )
func (IOStateReporter_valueSelector) String ¶
func (e IOStateReporter_valueSelector) String() string
type IOTimerDispatchSource_IVars ¶
type IOTimerDispatchSource_IVars struct{}
IOTimerDispatchSource_IVars is an opaque type.
type IOTimerDispatchSource_LocalIVars ¶
type IOTimerDispatchSource_LocalIVars struct{}
IOTimerDispatchSource_LocalIVars is an opaque type.
type IOUserClientMethodArguments ¶
type IOUserClientMethodArguments struct {
Version uint64
Selector uint64
Completion *int32
ScalarInput *uint64
ScalarInputCount uint32
StructureInput *int32
StructureInputDescriptor *int32
ScalarOutput *uint64
ScalarOutputCount uint32
StructureOutput *int32
StructureOutputDescriptor *int32
StructureOutputMaximumSize uint64
}
type IOUserClient_LocalIVars ¶
type IOUserClient_LocalIVars struct{}
IOUserClient_LocalIVars is an opaque type.
type IOVirtualRange ¶
type Ipc_info_object_type_t ¶
type Ipc_info_object_type_t int64
const ( IPC_OTYPE_NONE Ipc_info_object_type_t = 0 IPC_OTYPE_THREAD_CONTROL Ipc_info_object_type_t = 1 IPC_OTYPE_TASK_CONTROL Ipc_info_object_type_t = 2 IPC_OTYPE_HOST Ipc_info_object_type_t = 3 IPC_OTYPE_HOST_PRIV Ipc_info_object_type_t = 4 IPC_OTYPE_PROCESSOR Ipc_info_object_type_t = 5 IPC_OTYPE_PROCESSOR_SET Ipc_info_object_type_t = 6 IPC_OTYPE_PROCESSOR_SET_NAME Ipc_info_object_type_t = 7 IPC_OTYPE_TIMER Ipc_info_object_type_t = 8 IPC_OTYPE_PORT_SUBST_ONCE Ipc_info_object_type_t = 9 IPC_OTYPE_MIG Ipc_info_object_type_t = 10 IPC_OTYPE_MEMORY_OBJECT Ipc_info_object_type_t = 11 IPC_OTYPE_XMM_PAGER Ipc_info_object_type_t = 12 IPC_OTYPE_XMM_KERNEL Ipc_info_object_type_t = 13 IPC_OTYPE_XMM_REPLY Ipc_info_object_type_t = 14 IPC_OTYPE_UND_REPLY Ipc_info_object_type_t = 15 IPC_OTYPE_HOST_NOTIFY Ipc_info_object_type_t = 16 IPC_OTYPE_HOST_SECURITY Ipc_info_object_type_t = 17 IPC_OTYPE_LEDGER Ipc_info_object_type_t = 18 IPC_OTYPE_MAIN_DEVICE Ipc_info_object_type_t = 19 IPC_OTYPE_TASK_NAME Ipc_info_object_type_t = 20 IPC_OTYPE_SUBSYSTEM Ipc_info_object_type_t = 21 IPC_OTYPE_IO_DONE_QUEUE Ipc_info_object_type_t = 22 IPC_OTYPE_SEMAPHORE Ipc_info_object_type_t = 23 IPC_OTYPE_LOCK_SET Ipc_info_object_type_t = 24 IPC_OTYPE_CLOCK Ipc_info_object_type_t = 25 IPC_OTYPE_CLOCK_CTRL Ipc_info_object_type_t = 26 IPC_OTYPE_IOKIT_IDENT Ipc_info_object_type_t = 27 IPC_OTYPE_NAMED_ENTRY Ipc_info_object_type_t = 28 IPC_OTYPE_IOKIT_CONNECT Ipc_info_object_type_t = 29 IPC_OTYPE_IOKIT_OBJECT Ipc_info_object_type_t = 30 IPC_OTYPE_UPL Ipc_info_object_type_t = 31 IPC_OTYPE_MEM_OBJ_CONTROL Ipc_info_object_type_t = 32 IPC_OTYPE_AU_SESSIONPORT Ipc_info_object_type_t = 33 IPC_OTYPE_FILEPORT Ipc_info_object_type_t = 34 IPC_OTYPE_LABELH Ipc_info_object_type_t = 35 IPC_OTYPE_TASK_RESUME Ipc_info_object_type_t = 36 IPC_OTYPE_VOUCHER Ipc_info_object_type_t = 37 IPC_OTYPE_VOUCHER_ATTR_CONTROL Ipc_info_object_type_t = 38 IPC_OTYPE_WORK_INTERVAL Ipc_info_object_type_t = 39 IPC_OTYPE_UX_HANDLER Ipc_info_object_type_t = 40 IPC_OTYPE_UEXT_OBJECT Ipc_info_object_type_t = 41 IPC_OTYPE_ARCADE_REG Ipc_info_object_type_t = 42 IPC_OTYPE_EVENTLINK Ipc_info_object_type_t = 43 IPC_OTYPE_TASK_INSPECT Ipc_info_object_type_t = 44 IPC_OTYPE_TASK_READ Ipc_info_object_type_t = 45 IPC_OTYPE_THREAD_INSPECT Ipc_info_object_type_t = 46 IPC_OTYPE_THREAD_READ Ipc_info_object_type_t = 47 IPC_OTYPE_SUID_CRED Ipc_info_object_type_t = 48 IPC_OTYPE_HYPERVISOR Ipc_info_object_type_t = 49 IPC_OTYPE_TASK_ID_TOKEN Ipc_info_object_type_t = 50 IPC_OTYPE_TASK_FATAL Ipc_info_object_type_t = 51 IPC_OTYPE_KCDATA Ipc_info_object_type_t = 52 IPC_OTYPE_EXCLAVES_RESOURCE Ipc_info_object_type_t = 53 IPC_OTYPE_THREAD_RESUME Ipc_info_object_type_t = 54 IPC_OTYPE_UNKNOWN Ipc_info_object_type_t = 4294967295 )
func (Ipc_info_object_type_t) String ¶
func (e Ipc_info_object_type_t) String() string
type Launch_data_type_t ¶
type Launch_data_type_t int64
const ( LAUNCH_DATA_DICTIONARY Launch_data_type_t = 1 LAUNCH_DATA_ARRAY Launch_data_type_t = 2 LAUNCH_DATA_FD Launch_data_type_t = 3 LAUNCH_DATA_INTEGER Launch_data_type_t = 4 LAUNCH_DATA_REAL Launch_data_type_t = 5 LAUNCH_DATA_BOOL Launch_data_type_t = 6 LAUNCH_DATA_STRING Launch_data_type_t = 7 LAUNCH_DATA_OPAQUE Launch_data_type_t = 8 LAUNCH_DATA_ERRNO Launch_data_type_t = 9 LAUNCH_DATA_MACHPORT Launch_data_type_t = 10 )
func (Launch_data_type_t) String ¶
func (e Launch_data_type_t) String() string
type Mach_vm_range_flags_t ¶
type Mach_vm_range_flags_t int64
const (
MACH_VM_RANGE_NONE Mach_vm_range_flags_t = 0
)
func (Mach_vm_range_flags_t) String ¶
func (e Mach_vm_range_flags_t) String() string
type Mach_vm_range_flavor_t ¶
type Mach_vm_range_flavor_t int64
const ( MACH_VM_RANGE_FLAVOR_INVALID Mach_vm_range_flavor_t = 0 MACH_VM_RANGE_FLAVOR_V1 Mach_vm_range_flavor_t = 1 )
func (Mach_vm_range_flavor_t) String ¶
func (e Mach_vm_range_flavor_t) String() string
type Mach_vm_range_tag_t ¶
type Mach_vm_range_tag_t int64
const ( MACH_VM_RANGE_DEFAULT Mach_vm_range_tag_t = 0 MACH_VM_RANGE_DATA Mach_vm_range_tag_t = 1 MACH_VM_RANGE_FIXED Mach_vm_range_tag_t = 2 )
func (Mach_vm_range_tag_t) String ¶
func (e Mach_vm_range_tag_t) String() string
type Mpo_flags_t ¶
type Mpo_flags_t int64
const ( MPO_PORT Mpo_flags_t = 0 MPO_SERVICE_PORT Mpo_flags_t = 1024 MPO_CONNECTION_PORT Mpo_flags_t = 2048 MPO_REPLY_PORT Mpo_flags_t = 4096 MPO_WEAK_REPLY_PORT Mpo_flags_t = 16384 MPO_NOTIFICATION_PORT Mpo_flags_t = 17408 MPO_EXCEPTION_PORT Mpo_flags_t = 32768 MPO_CONNECTION_PORT_WITH_PORT_ARRAY Mpo_flags_t = 65536 )
func (Mpo_flags_t) String ¶
func (e Mpo_flags_t) String() string
type OSAction_IOUserClient_KernelCompletion_IVars ¶
type OSAction_IOUserClient_KernelCompletion_IVars struct{}
OSAction_IOUserClient_KernelCompletion_IVars is an opaque type.
type OSAction_IOUserClient_KernelCompletion_LocalIVars ¶
type OSAction_IOUserClient_KernelCompletion_LocalIVars struct{}
OSAction_IOUserClient_KernelCompletion_LocalIVars is an opaque type.
type OSBoolean_LocalIVars ¶
type OSBoolean_LocalIVars struct{}
OSBoolean_LocalIVars is an opaque type.
type OSClassDescription ¶
type OSClassDescription struct {
DescriptionSize uint32
Name [96]int8
SuperName [96]int8
MethodOptionsSize uint32
MethodOptionsOffset uint32
MetaMethodOptionsSize uint32
MetaMethodOptionsOffset uint32
QueueNamesSize uint32
QueueNamesOffset uint32
MethodNamesSize uint32
MethodNamesOffset uint32
MetaMethodNamesSize uint32
MetaMethodNamesOffset uint32
Flags uint64
Resv1 [8]uint64
MethodOptions [0]uint64
MetaMethodOptions [0]uint64
DispatchNames [0]int8
MethodNames [0]int8
MetaMethodNames [0]int8
}
type OSClassLoadInformation ¶
type OSCollection_LocalIVars ¶
type OSCollection_LocalIVars struct{}
OSCollection_LocalIVars is an opaque type.
type OSContainer_LocalIVars ¶
type OSContainer_LocalIVars struct{}
OSContainer_LocalIVars is an opaque type.
type OSDictionary_LocalIVars ¶
type OSDictionary_LocalIVars struct{}
OSDictionary_LocalIVars is an opaque type.
type OSMappedFile_LocalIVars ¶
type OSMappedFile_LocalIVars struct{}
OSMappedFile_LocalIVars is an opaque type.
type OSOrderedSet_LocalIVars ¶
type OSOrderedSet_LocalIVars struct{}
OSOrderedSet_LocalIVars is an opaque type.
type OSSerialization_IVars ¶
type OSSerialization_IVars struct{}
OSSerialization_IVars is an opaque type.
type OSSerialization_LocalIVars ¶
type OSSerialization_LocalIVars struct{}
OSSerialization_LocalIVars is an opaque type.
type OSStringStatic ¶
C struct: __OSStringStatic
type Os_clockid_t ¶
type Os_clockid_t int64
const (
OS_CLOCK_MACH_ABSOLUTE_TIME Os_clockid_t = 32
)
func (Os_clockid_t) String ¶
func (e Os_clockid_t) String() string
type Os_log_type_t ¶
type Os_log_type_t int64
const ( OS_LOG_TYPE_DEFAULT Os_log_type_t = 0 OS_LOG_TYPE_INFO Os_log_type_t = 1 OS_LOG_TYPE_DEBUG Os_log_type_t = 2 OS_LOG_TYPE_ERROR Os_log_type_t = 16 OS_LOG_TYPE_FAULT Os_log_type_t = 17 )
func (Os_log_type_t) String ¶
func (e Os_log_type_t) String() string
type Qos_class_t ¶
type Qos_class_t uint32
const ( QOS_CLASS_USER_INTERACTIVE Qos_class_t = 33 QOS_CLASS_USER_INITIATED Qos_class_t = 25 QOS_CLASS_DEFAULT Qos_class_t = 21 QOS_CLASS_UTILITY Qos_class_t = 17 QOS_CLASS_BACKGROUND Qos_class_t = 9 QOS_CLASS_UNSPECIFIED Qos_class_t = 0 )
func (Qos_class_t) String ¶
func (e Qos_class_t) String() string
type QueueChainT ¶
type QueueChainT = QueueEntry
QueueChainT is an alias for queue_entry (C typedef queue_chain_t).
type QueueEntry ¶
type QueueEntry struct {
Next *QueueEntry
Prev *QueueEntry
}
C struct: queue_entry
func QUEUEELTVALIDATENEXT ¶
func QUEUEELTVALIDATENEXT(elt *QueueEntry) *QueueEntry
C function: __QUEUE_ELT_VALIDATE_NEXT
func QUEUEELTVALIDATEPREV ¶
func QUEUEELTVALIDATEPREV(elt *QueueEntry) *QueueEntry
C function: __QUEUE_ELT_VALIDATE_PREV
type QueueEntryT ¶
type QueueEntryT = *QueueEntry
QueueEntryT is an opaque pointer to queue_entry (C typedef queue_entry_t).
type QueueHeadT ¶
type QueueHeadT = QueueEntry
QueueHeadT is an alias for queue_entry (C typedef queue_head_t).
type QueueT ¶
type QueueT = *QueueEntry
QueueT is an opaque pointer to queue_entry (C typedef queue_t).
type Virtual_memory_guard_exception_code_t ¶
type Virtual_memory_guard_exception_code_t int64
const ( KGUARD_EXC_DEALLOC_GAP Virtual_memory_guard_exception_code_t = 1 KGUARD_EXC_RECLAIM_COPYIO_FAILURE Virtual_memory_guard_exception_code_t = 2 KGUARD_EXC_RECLAIM_INDEX_FAILURE Virtual_memory_guard_exception_code_t = 4 KGUARD_EXC_RECLAIM_DEALLOCATE_FAILURE Virtual_memory_guard_exception_code_t = 8 KGUARD_EXC_RECLAIM_ACCOUNTING_FAILURE Virtual_memory_guard_exception_code_t = 9 KGUARD_EXC_SEC_IOPL_ON_EXEC_PAGE Virtual_memory_guard_exception_code_t = 10 KGUARD_EXC_SEC_EXEC_ON_IOPL_PAGE Virtual_memory_guard_exception_code_t = 11 KGUARD_EXC_SEC_UPL_WRITE_ON_EXEC_REGION Virtual_memory_guard_exception_code_t = 12 KGUARD_EXC_LARGE_ALLOCATION_TELEMETRY Virtual_memory_guard_exception_code_t = 13 KGUARD_EXC_SEC_ACCESS_FAULT Virtual_memory_guard_exception_code_t = 98 KGUARD_EXC_SEC_ASYNC_ACCESS_FAULT Virtual_memory_guard_exception_code_t = 99 KGUARD_EXC_SEC_COPY_DENIED Virtual_memory_guard_exception_code_t = 100 KGUARD_EXC_SEC_SHARING_DENIED Virtual_memory_guard_exception_code_t = 101 KGUARD_EXC_MTE_SYNC_FAULT Virtual_memory_guard_exception_code_t = 200 KGUARD_EXC_MTE_ASYNC_USER_FAULT Virtual_memory_guard_exception_code_t = 201 KGUARD_EXC_MTE_ASYNC_KERN_FAULT Virtual_memory_guard_exception_code_t = 202 KGUARD_EXC_GUARD_OBJECT_ASYNC_USER_FAULT Virtual_memory_guard_exception_code_t = 203 KGUARD_EXC_GUARD_OBJECT_ASYNC_KERN_FAULT Virtual_memory_guard_exception_code_t = 204 )
func (Virtual_memory_guard_exception_code_t) String ¶
func (e Virtual_memory_guard_exception_code_t) String() string
type Xpc_listener_create_flags_t ¶
type Xpc_listener_create_flags_t int64
const ( XPC_LISTENER_CREATE_NONE Xpc_listener_create_flags_t = 0 XPC_LISTENER_CREATE_INACTIVE Xpc_listener_create_flags_t = 1 XPC_LISTENER_CREATE_FORCE_MACH Xpc_listener_create_flags_t = 2 XPC_LISTENER_CREATE_FORCE_XPCSERVICE Xpc_listener_create_flags_t = 4 )
func (Xpc_listener_create_flags_t) String ¶
func (e Xpc_listener_create_flags_t) String() string
type Xpc_session_create_flags_t ¶
type Xpc_session_create_flags_t int64
const ( XPC_SESSION_CREATE_NONE Xpc_session_create_flags_t = 0 XPC_SESSION_CREATE_INACTIVE Xpc_session_create_flags_t = 1 XPC_SESSION_CREATE_MACH_PRIVILEGED Xpc_session_create_flags_t = 2 )
func (Xpc_session_create_flags_t) String ¶
func (e Xpc_session_create_flags_t) String() string