u-boot/arch/sandbox/include/asm/main.h
Andrew Scull 001c39a196 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>
2022-06-23 12:58:18 -04:00

18 lines
447 B
C

/* SPDX-License-Identifier: GPL-2.0+ */
/*
* Copyright (c) 2022 Google, Inc.
* Written by Andrew Scull <ascull@google.com>
*/
#ifndef __ASM_SANDBOX_MAIN_H
#define __ASM_SANDBOX_MAIN_H
/**
* sandbox_main() - main entrypoint for sandbox
*
* @argc: the number of arguments passed to the program
* @argv: array of argc+1 pointers, of which the last one is null
*/
int sandbox_main(int argc, char *argv[]);
#endif /* __ASM_SANDBOX_MAIN_H */