hw/intc/sh_intc: Inline and drop sh_intc_source() function
[qemu/rayw.git] / pc-bios / vof / bootmem.c
blob771b9e95f95d208dc1cd765712343bb708688f8a
1 #include "vof.h"
3 void boot_from_memory(uint64_t initrd, uint64_t initrdsize)
5 uint64_t kern[2];
6 phandle chosen = ci_finddevice("/chosen");
8 if (ci_getprop(chosen, "qemu,boot-kernel", kern, sizeof(kern)) !=
9 sizeof(kern)) {
10 return;
13 do_boot(kern[0], initrd, initrdsize);