Apple's open-source XNU kernel on Android phones: its own loader and drivers, Metal on the Adreno. Runs from RAM; a reboot gives the phone back to Android.
C
/*
* What the driver's object asks of the kernel it is linked into. The kernel describes that
* itself (bsd/sys/hakios.lx.h of the kernel tree, which tools/mk-ath11k.sh names here): there
* is one description, and both sides are compiled against it.
*/
#ifndef _LX_OS_H_
#define _LX_OS_H_
#include LX_HAKIOS_LX_H
#endif