]> git.ozlabs.org Git - tonyb-yaboot.git/commit
Add prom_claim_chunk_top
authorAnton Blanchard <anton@samba.org>
Thu, 8 Jul 2010 19:03:40 +0000 (19:03 +0000)
committerTony Breeds <tony@bakeyournoodle.com>
Fri, 16 Jul 2010 05:51:57 +0000 (15:51 +1000)
commit86a488e2f3078a2a4e9942f1ec9d0fb1a3a632ad
treee0976453bc6ecaf00f69bca50d428a80cbb7d2c0
parent5429399eef8152cb3b2a29bc6ee426a214afc701
Add prom_claim_chunk_top

We want temporary allocations to be taken from the top of our address
space so the kernel and initrd can be loaded as low as possible. The
very early kernel code uses the top of the initrd as the low watermark
for memory allocations so the lower this is the better.

We currently see a number of fails where a large initrd causes us
to run out of space in a 128MB RMO region. Allocating the temporary
areas up high and therefore the initrd lower fixes it.

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Tony Breeds <tony@bakeyournoodle.com>
include/prom.h
second/prom.c