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
477 B
Raw Blame
/*
 * FreeBSD's <sys/cdefs.h>, for objects that are linked into a Mach-O kernel: a section there is named
 * "segment,section" with at most sixteen characters each, so the ELF section names of FreeBSD's
 * headers cannot be used. The placement attributes (__read_mostly and the like) are dropped; linker
 * sets are made in <sys/linker_set.h>, ours.
 */
#ifndef _LX_SYS_CDEFS_H_
#define _LX_SYS_CDEFS_H_
#include_next <sys/cdefs.h>
#undef __section
#define __section(x)
#endif