Skip to content

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
436 B
Raw Blame
/*
 * A virtio block device for QEMU: a disk image on the host becomes /dev/rvblk0 in the
 * guest.  Only with boot-arg virtio_blk=1.  See drivers/storage/hakios.virtio_blk.c.
 */
#ifndef _SYS_HAKIOS_VIRTIO_BLK_H_
#define _SYS_HAKIOS_VIRTIO_BLK_H_

#include <stdbool.h>
#include <sys/types.h>

void hakios_virtio_blk_init(void);
bool hakios_virtio_blk_dev(dev_t dev);    /* one of its devices */

#endif /* _SYS_HAKIOS_VIRTIO_BLK_H_ */