[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 3/5] uImage: return base load address

From: Hollis Blanchard
Subject: Re: [Qemu-devel] [PATCH 3/5] uImage: return base load address
Date: Thu, 20 Nov 2008 16:13:15 -0600

On Thu, 2008-11-20 at 16:05 -0600, Anthony Liguori wrote:
> Hollis Blanchard wrote:
> > Return the base address at which the image was loaded so that
> callers may keep
> > track of currently occupied guest memory.
> >   
> Why is it that you need this information if no other callers have needed 
> it before?

As far as I can see, other users are making assumptions about maximum
kernel size and simply hardcoding some addresses.

For example arm_load_kernel() seems to always load the initrd at 8MB,
regardless of where the ELF or uImage kernel was loaded. (In the case of
a "flat" kernel, that's loaded at 0x1000, and probably isn't bigger than

Hollis Blanchard
IBM Linux Technology Center

reply via email to

[Prev in Thread] Current Thread [Next in Thread]