diff options
author | Alexander Graf <agraf@suse.de> | 2011-06-15 23:27:19 +0200 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2011-06-17 02:58:27 +0200 |
commit | b9e17a345382ebb91446fd6cf0bb8f0eb5ba5706 (patch) | |
tree | 718cacaede8d8b12b0f77c6e003cea0c893779b9 /hw/virtio-net.c | |
parent | 826e7b827c5f83e88d5aa84c0bf0b3459f28ec35 (diff) |
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 'hw/virtio-net.c')
0 files changed, 0 insertions, 0 deletions