建立工程,成功创建两个虚拟串口
This commit is contained in:
		
							
								
								
									
										19
									
								
								source/OpenAMP/libmetal/lib/system/generic/time.c
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										19
									
								
								source/OpenAMP/libmetal/lib/system/generic/time.c
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,19 @@ | ||||
| /* | ||||
|  * Copyright (c) 2016, Xilinx Inc. and Contributors. All rights reserved. | ||||
|  * | ||||
|  * SPDX-License-Identifier: BSD-3-Clause | ||||
|  */ | ||||
|  | ||||
| /* | ||||
|  * @file	generic/time.c | ||||
|  * @brief	Generic libmetal time handling. | ||||
|  */ | ||||
|  | ||||
| #include <metal/time.h> | ||||
|  | ||||
| unsigned long long metal_get_timestamp(void) | ||||
| { | ||||
| 	/* TODO: Implement timestamp for generic system */ | ||||
| 	return 0; | ||||
| } | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 ranchuan
					ranchuan