Go to the documentation of this file.
24 #define EPAPR_SMAGIC 0x65504150
25 #define EPAPR_EMAGIC 0x45504150
27 static unsigned epapr_magic;
28 static unsigned long ima_size;
29 static unsigned long fdt_addr;
31 static void platform_fixups(
void)
35 fatal(
"r6 contained 0x%08x instead of ePAPR magic number\n",
38 if (ima_size < (
unsigned long)
_end)
39 printf(
"WARNING: Image loaded outside IMA!"
40 " (_end=%p, ima_size=0x%lx)\n", _end, ima_size);
41 if (ima_size < fdt_addr)
42 printf(
"WARNING: Device tree address is outside IMA!"
43 "(fdt_addr=0x%lx, ima_size=0x%lx)\n", fdt_addr,
46 printf(
"WARNING: Device tree extends outside IMA!"
47 " (fdt_addr=0x%lx, size=0x%x, ima_size=0x%lx\n",
52 unsigned long r6,
unsigned long r7)