mirror of
				https://source.denx.de/u-boot/u-boot.git
				synced 2025-11-04 10:21:25 +01:00 
			
		
		
		
	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>
		
			
				
	
	
		
			19 lines
		
	
	
		
			447 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			19 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 */
 |