History | View | Annotate | Download (9.7 kB)
elf-loader: add more return codes
The existing load_elf() just returns -1 if it fails to load ELF. Howeverit could be smarter than this and tell more about the failure such aswrong endianness or incompatible platform.
This adds additional return codes for wrong architecture, wrong...
hw: move headers to include/
Many of these should be cleaned up with proper qdev-/QOM-ification.Right now there are many catch-all headers in include/hw/ARCH dependingon cpu.h, and this makes it necessary to compile these files per-target.However, fixing this does not belong in these patches....