Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

vanir2020

macrumors newbie
Original poster
Oct 26, 2020
3
1
Apple requires drivers to migrate from iokit to driverkit, and many types of iokit driver are no longer supported.

I checked the interface of driverkit. The functions available to developers have been reduced a lot.
Especially for some drivers that provide high-speed IO, such as raid drivers, can driverkit meet the requirements?
 

ondioline

macrumors 6502
May 5, 2020
297
299
Eventually it will be mandatory, so 'yes'

Moving the drivers and such from the kernel to userspace is ironically closer to the original microkernel OS design Mach was intended for, rather than how they employed it in XNU
 

guzhogi

macrumors 68040
Aug 31, 2003
3,766
1,885
Wherever my feet take me…
I really hope, but doubt, that companies make drivers for older hardware like printers. My school district has a bunch of HP printers that only work with drivers Apple provided years ago. The latest drivers on the HP website for some of our printers are for Mac OS 9. :rolleyes: Plus, generic drivers might not fully support all features, if generic drivers exist at all.

This could cause problems for a lot of reasons. Schools often need paper copies of documentation, and don't have the funding for new, supported hardware. Plus, on the individual level, some people can't afford new hardware, either.
 

peter34

macrumors member
Jun 5, 2019
44
16
normally printers are not using kext drivers, so it should not be problem.
More problematic will be network devices or some proprietary audio devices. USB-C hubs with ethernet are working on Big Sur out of box, only thing is that they use lot of CPU.
 

leman

macrumors Core
Oct 14, 2008
19,494
19,632
I’m very curious to see how SCSI devices will perform with the new user space drivers... the cost of crossing between kernel and user space have been the long-term reason why these drivers were kernel extensions in the first place. I have a suspicion that Intel systems might take a hit but the new Apple Silicon Macs will be specifically optimized for this.
 

ondioline

macrumors 6502
May 5, 2020
297
299
I’m very curious to see how SCSI devices will perform with the new user space drivers... the cost of crossing between kernel and user space have been the long-term reason why these drivers were kernel extensions in the first place. I have a suspicion that Intel systems might take a hit but the new Apple Silicon Macs will be specifically optimized for this.
It really just depends on what kind of framework APIs end up being developed for System Extensions. This isn't a strict microkernel setup involving userland servers and IPC, the driverkit frameworks and such directly interface with the capabilities that have been exposed from the kernel. It's functionally just sandboxing the drivers from the kernel space. You can see a graphical description of what I mean here:

rendered2x-1585937445.png
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.