AArch64 EL2 hypervisor for QEMU virt that boots at EL2
1

Configure Feed

Select the types of activity you want to include in your feed.

ariel / include / hv / fdt.h
628 B 23 lines
1#ifndef HV_FDT_H 2#define HV_FDT_H 3 4#include "hv/types.h" 5 6struct fdt_platform_info { 7 bool valid; 8 uint64_t fdt_pa; 9 uint64_t size; 10 uint64_t memory_base; 11 uint64_t memory_size; 12 uint64_t initrd_start; 13 uint64_t initrd_end; 14 const char *bootargs; 15}; 16 17bool fdt_probe(uint64_t fdt_pa, struct fdt_platform_info *info); 18bool fdt_patch_memory(uint64_t fdt_pa, uint64_t base, uint64_t size); 19bool fdt_patch_linux_guest(uint64_t fdt_pa, uint64_t max_size, const char *bootargs, 20 uint64_t initrd_start, uint64_t initrd_end); 21void fdt_dump(const struct fdt_platform_info *info); 22 23#endif