[U-Boot] [PATCH V4] sandbox: Add improved RAM simulation

Simon Glass sjg at chromium.org
Sat Nov 5 16:05:50 CET 2011


On Sat, Nov 5, 2011 at 3:40 AM, Matthias Weisser <weisserm at arcor.de> wrote:
> Using mmap to allocate memory from the OS for RAM simulation we can use
> u-boot own malloc implementation.
>
> Signed-off-by: Matthias Weisser <weisserm at arcor.de>

Thanks for the rebase

Tested-by: Simon Glass <sjg at chromium.org>

> ---
> Changes in V4:
>  Rebased to current HEAD
>
> Changes in V3:
>  Fixed a build warning
>
> Changes in V2:
>  Removed the address hint for mmap
>  Removed the special handling of dlmalloc in common
>  Set gd->bd->bi_dram[0].start to 0 again
>
>  arch/sandbox/cpu/os.c    |    7 +++++++
>  arch/sandbox/lib/board.c |   17 ++++++++++-------
>  common/Makefile          |    3 ---
>  include/os.h             |    8 ++++++++
>  4 files changed, 25 insertions(+), 10 deletions(-)
>


More information about the U-Boot mailing list