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
# drivers/net/conf: the network interfaces.
# CONFIG_HAKIOS_<NAME>=y in a defconfig builds a driver into the kernel; "standard" files are always built.
# tools/hakios-config.py reads this file; docs/drivers-config.md says what each word means and how it reaches XNU.
standard bsd/dev/hakios.net.c
help en0, an interface that is Ethernet to the rest of the kernel, for whatever link carries its frames
driver VIRTIO_NET
file bsd/dev/hakios.virtio_net.c
help QEMU's virtio network device as the link behind en0 (virtio_net=1). QEMU only