RTKit

From The Apple Wiki
RTKit
DeveloperApple Inc.
Written in
Working stateCurrent
Source modelClosed source
LicenseProprietary

RTKit is a real-time operating system developed by Apple for embedded use cases, where a Darwin-based operating system would not be appropriate due to performance or power concerns.

Much of what is known about RTKit is through research the Asahi Linux project has undertaken to implement Linux drivers for the coprocessors of the Apple M-series systems-on-a-chip.

RTKit coprocessors share a basic remote procedure call protocol based on shared memory and mailboxes, allowing the kernel to share a single base implementation amongst the many coprocessors involved.[1] It appears that each firmware can mix and match RTKit components as needed for their tasks, and the business code of the firmware tends to be written in C++. In at least one case, code previously found in a Darwin kext was partly relocated to an RTKit coprocessor.[2]

RTKit-based Products

Perhaps notable is that the Lightning Digital AV Adapter is not based on RTKit, but rather Darwin, as it predates the existence of RTKit.

External Links

References