sandbox: Add a way to write data to the host filesystem
authorSimon Glass <sjg@chromium.org>
Mon, 1 Oct 2018 17:55:08 +0000 (11:55 -0600)
committerSimon Glass <sjg@chromium.org>
Tue, 9 Oct 2018 10:40:26 +0000 (04:40 -0600)
commit056a5cea3139cd41836051114a0f3344ac3d9f58
treee470ad79ba80909ee6c0ea40f104795914bb2d5d
parent50b288aca324649fb5b357ce75972a5261cf94fc
sandbox: Add a way to write data to the host filesystem

For debugging it is sometimes useful to write out data for inspection
using an external tool. Add a function which can write this data to a
given file.

Signed-off-by: Simon Glass <sjg@chromium.org>
arch/sandbox/cpu/os.c
include/os.h