59

DriverKit

 5 years ago
source link: https://www.tuicool.com/articles/umy6Fzv
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

Develop device drivers that run in user space.

SDK

  • macOS 10.15+ Beta

On This Page

Overview

Use DriverKit to create device drivers that the user installs on their Mac. Drivers built with DriverKit run in user space, rather than as kernel extensions, for improved system security and stability.

The DriverKit framework provides C++ classes for IO services, device matching, memory descriptors, and dispatch queues. It also defines IO-appropriate types for numbers, collections, strings, and other common types. You use these with family-specific driver frameworks likeUSBDriverKit andHIDDriverKit.

Develop your driver with DriverKit, and package it in an app that uses theSystemExtensions framework to install and upgrade the driver on the user’s Mac.

Topics

Classes

IOBufferMemoryDescriptor

IOBufferMemoryDescriptorInterface

IOBufferMemoryDescriptorMetaClass

IODataQueueDispatchSource

IODataQueueDispatchSourceInterface

IODataQueueDispatchSourceMetaClass

IODispatchQueue

IODispatchQueueInterface

IODispatchQueueMetaClass

IODispatchSource

IODispatchSourceInterface

IODispatchSourceMetaClass

IOInterruptDispatchSource

IOInterruptDispatchSourceInterface

IOInterruptDispatchSourceMetaClass

IOMemoryDescriptor

IOMemoryDescriptorInterface

IOMemoryDescriptorMetaClass

IOMemoryMap

IOMemoryMapInterface

IOMemoryMapMetaClass

IOPCIDevice

IOPCIDeviceInterface

IOPCIDeviceMetaClass

IOService

IOServiceInterface

IOServiceMetaClass

IOTimerDispatchSource

IOTimerDispatchSourceInterface

IOTimerDispatchSourceMetaClass

IOUserServer

IOUserServerInterface

IOUserServerMetaClass

OSAction

OSActionInterface

OSActionMetaClass

OSArray

OSArrayInterface

OSArrayMetaClass

OSBoolean

OSBooleanInterface

OSBooleanMetaClass

OSCollection

OSCollectionInterface

OSCollectionMetaClass

OSContainer

OSContainerInterface

OSContainerMetaClass

OSData

OSDataInterface

OSDataMetaClass

OSDictionary

OSDictionaryInterface

OSDictionaryMetaClass

OSInterface

OSMetaClass

OSMetaClassBase

OSNumber

OSNumberInterface

OSNumberMetaClass

OSObject

OSObjectInterface

OSObjectMetaClass

OSSerialization

OSSerializationInterface

OSSerializationMetaClass

OSString

OSStringInterface

OSStringMetaClass

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK