建立工程,成功创建两个虚拟串口
This commit is contained in:
		
							
								
								
									
										4
									
								
								source/OpenAMP/libmetal/lib/processor/arm/CMakeLists.txt
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										4
									
								
								source/OpenAMP/libmetal/lib/processor/arm/CMakeLists.txt
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,4 @@ | ||||
| collect (PROJECT_LIB_HEADERS atomic.h) | ||||
| collect (PROJECT_LIB_HEADERS cpu.h) | ||||
|  | ||||
| # vim: expandtab:ts=2:sw=2:smartindent | ||||
							
								
								
									
										15
									
								
								source/OpenAMP/libmetal/lib/processor/arm/atomic.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										15
									
								
								source/OpenAMP/libmetal/lib/processor/arm/atomic.h
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,15 @@ | ||||
| /* | ||||
|  * Copyright (c) 2015, Xilinx Inc. and Contributors. All rights reserved. | ||||
|  * | ||||
|  * SPDX-License-Identifier: BSD-3-Clause | ||||
|  */ | ||||
|  | ||||
| /* | ||||
|  * @file	arm/atomic.h | ||||
|  * @brief	ARM specific atomic primitives for libmetal. | ||||
|  */ | ||||
|  | ||||
| #ifndef __METAL_ARM_ATOMIC__H__ | ||||
| #define __METAL_ARM_ATOMIC__H__ | ||||
|  | ||||
| #endif /* __METAL_ARM_ATOMIC__H__ */ | ||||
							
								
								
									
										17
									
								
								source/OpenAMP/libmetal/lib/processor/arm/cpu.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										17
									
								
								source/OpenAMP/libmetal/lib/processor/arm/cpu.h
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,17 @@ | ||||
| /* | ||||
|  * Copyright (c) 2015, Xilinx Inc. and Contributors. All rights reserved. | ||||
|  * | ||||
|  * SPDX-License-Identifier: BSD-3-Clause | ||||
|  */ | ||||
|  | ||||
| /* | ||||
|  * @file	cpu.h | ||||
|  * @brief	CPU specific primatives | ||||
|  */ | ||||
|  | ||||
| #ifndef __METAL_ARM_CPU__H__ | ||||
| #define __METAL_ARM_CPU__H__ | ||||
|  | ||||
| #define metal_cpu_yield() | ||||
|  | ||||
| #endif /* __METAL_ARM_CPU__H__ */ | ||||
		Reference in New Issue
	
	Block a user
	 ranchuan
					ranchuan