summaryrefslogtreecommitdiff
path: root/arch/sandbox/cpu/start.c
diff options
context:
space:
mode:
authorAndrew Scull <ascull@google.com>2022-05-30 10:00:10 +0000
committerTom Rini <trini@konsulko.com>2022-06-23 12:58:18 -0400
commit001c39a196c2f4414ddab8713fa113dd06a028eb (patch)
tree657e0e6aac951a08364ef2c85ac83bdf601725f0 /arch/sandbox/cpu/start.c
parent36f641c54e1ad7f08552fe51f9826c1a27b662f9 (diff)
sandbox: Decouple program entry from sandbox init
Move the program's entry point to os.c, in preparation for a separate fuzzing entry point to be added. Signed-off-by: Andrew Scull <ascull@google.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/sandbox/cpu/start.c')
-rw-r--r--arch/sandbox/cpu/start.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sandbox/cpu/start.c b/arch/sandbox/cpu/start.c
index 0f5a87309d2..90a84e93c79 100644
--- a/arch/sandbox/cpu/start.c
+++ b/arch/sandbox/cpu/start.c
@@ -453,7 +453,7 @@ void sandbox_reset(void)
os_relaunch(os_argv);
}
-int main(int argc, char *argv[])
+int sandbox_main(int argc, char *argv[])
{
struct sandbox_state *state;
void * text_base;