DriverKit example

Hi. Does it exist anywhere any examples or tutorials how to use the DriverKit ?

Start w/the WWDC 2019 video:https://developer.apple.com/videos/play/wwdc2019/702/


System Extensions and DriverKit


As well, feel free to file requests for any additional resources you'd like to see, via the bug reporter link below, being sure to add your report # to your thread for ref., thanks and good luck.

There are so may errors/issues still there in below example.

https://github.com/knightsc/USBApp


1. Class declared in .iig is not refered by .cpp file. (I declared this class in cpp only then I got errors in SDK's header files. unknown types and Semantic issues.)

2. IMPL is giving error.

3. TYPE is not creating Message ID constant for custom


If anyone compiled above example successfully then kindly let me know your XCode Version alongwith SDK version.


Thanks in Advance..

Hi,

We are working in Test / Measurement & Simulation in industrial domain. We are manufacturing PCIe based hardware. Understood that now in 2022 we must build macOS PCI-Express driver using PCI DriverKit instead of PCI Kernel extension. We need to build PCI-Express driver that will detect / access our PCIe resources and use DMA.

Browsing the WWDC videos and developer forums since 2019 results only in sparse information must often related DriverKit usage only for Audio or USB devices.

My question is: Where are examples and documentation for guiding us in PCIe driver development using DriverKit.

Thanks !

We are now in 2023, still looking for PCI and USB driver kit complete examples we can try on macOS and iPadOS. Is there new advancements to share ? Can we expect complete DriverKit support (documentation, code examples) for upcoming WWDC 2023 ?

Thanks.

DriverKit example
 
 
Q