[U-Boot] [PATCH v6 13/20] sandbox: Add OS dependent layer
Wolfgang Denk
wd at denx.de
Mon Oct 17 22:50:09 CEST 2011
Dear Simon Glass,
In message <1318270953-32482-14-git-send-email-sjg at chromium.org> you wrote:
> We want to keep all OS-dependent code in once place, with a simple interface
> to U-Boot. For now, this is that place.
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
> Changes in v2:
> - Move os layer into arch/sandbox
> - Remove clean and dist-clean targets from Makefile
> - Try and fail to remove the global -I/usr/include
>
> Changes in v3:
> - Add os_exit() which always exits with success for now
> - Add function comments to header file
> - Call os_exit() in do_reset()
> - Move cpu files into arch/sandbox/cpu
>
> Changes in v4:
> - Allow os_exit() to exit with a non-zero return code
>
> arch/sandbox/cpu/Makefile | 5 ++-
> arch/sandbox/cpu/cpu.c | 7 ++--
> arch/sandbox/cpu/os.c | 55 ++++++++++++++++++++++++++++++++++
> include/os.h | 73 +++++++++++++++++++++++++++++++++++++++++++++
> 4 files changed, 135 insertions(+), 5 deletions(-)
> create mode 100644 arch/sandbox/cpu/os.c
> create mode 100644 include/os.h
Applied, thanks.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
A UNIX saleslady, Lenore,
Enjoys work, but she likes the beach more.
She found a good way
To combine work and play:
She sells C shells by the seashore.
More information about the U-Boot
mailing list