summaryrefslogtreecommitdiffstats
path: root/pc-bios
diff options
context:
space:
mode:
authorAlexander Graf2011-06-15 23:27:19 +0200
committerAlexander Graf2011-06-17 02:58:27 +0200
commitb9e17a345382ebb91446fd6cf0bb8f0eb5ba5706 (patch)
tree718cacaede8d8b12b0f77c6e003cea0c893779b9 /pc-bios
parenttarget-ppc: Handle memory-forced I/O controller access (diff)
downloadqemu-b9e17a345382ebb91446fd6cf0bb8f0eb5ba5706.tar.gz
qemu-b9e17a345382ebb91446fd6cf0bb8f0eb5ba5706.tar.xz
qemu-b9e17a345382ebb91446fd6cf0bb8f0eb5ba5706.zip
PPC: calculate kernel,initrd,cmdline locations dynamically
During testing, I was generating a vmlinux binary that easily occupied more than 20MB of RAM. Since the current -kernel code loads the initrd at a fixed address behind the kernel, we were overwriting kernel data when the kernel got too big. To finally get rid of the issue, let's calculate the initrd and cmdline addresses relative to the kernel size, so we can have kernels and initrds that are as big as they want to - as long as they fit in RAM. Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'pc-bios')
0 files changed, 0 insertions, 0 deletions