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
325 B
Raw Blame
#ifndef _LX_LINUX_OF_RESERVED_MEM_H
#define _LX_LINUX_OF_RESERVED_MEM_H

#include <linux/of.h>
#include <linux/ioport.h>

/* the reserved region that entry INDEX of the node's "memory-region" names */
int of_reserved_mem_region_to_resource(const struct device_node *np, unsigned int index,
    struct resource *res);

#endif