History | View | Annotate | Download (12.2 kB)
multiboot: Calculate upper_mem in the ROM
The upper_mem field of the Multiboot information struct doesn't reallycontain the RAM size - 1 MB like we used to calculate it, but only thememory from 1 MB up to the first (upper) memory hole.
In order to correctly retrieve this information, the multiboot ROM now...
refer to FWCfgState explicitly
Currently some places use pointer-to-void even though they meanpointer-to-FWCfgState. Clean them up.
Signed-off-by: Laszlo Ersek <lersek@redhat.com>Reviewed-by: Anthony Liguori <aliguori@us.ibm.com>Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw: move private headers to hw/ subdirectories.
Many headers are used only in a single directory. These can bekept in hw/.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
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....
hw: move boards and other isolated files to hw/ARCH