mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-25 06:00:43 +00:00
001c39a196
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>
18 lines
447 B
C
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 */
|