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
409 B
Raw Blame
/*
 * A block device over an image holding only some of its blocks: how the real Darwin root
 * volume is read on the phone, which cannot hold all of it.  Only with boot-arg
 * apfs_sparse=<offset in md0>.  See drivers/storage/hakios.sparse.c.
 */
#ifndef _SYS_HAKIOS_SPARSE_H_
#define _SYS_HAKIOS_SPARSE_H_

void hakios_sparse_init(void);
void hakios_sparse_report(void);

#endif /* _SYS_HAKIOS_SPARSE_H_ */