mirror of
				https://github.com/espressif/esp-idf.git
				synced 2025-10-30 04:42:19 +00:00 
			
		
		
		
	 55acc5e5e7
			
		
	
	55acc5e5e7
	
	
	
		
			
			FreeRTOS tasks may now freely use the PIE coprocessor and HWLP feature. Just like the FPU, usiing these coprocessors result in the task being pinned to the core it is currently running on.
		
			
				
	
	
		
			22 lines
		
	
	
		
			355 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			22 lines
		
	
	
		
			355 B
		
	
	
	
		
			C
		
	
	
	
	
	
| /*
 | |
|  * SPDX-FileCopyrightText: 2024 Espressif Systems (Shanghai) CO LTD
 | |
|  *
 | |
|  * SPDX-License-Identifier: Apache-2.0
 | |
|  */
 | |
| 
 | |
| #pragma once
 | |
| 
 | |
| #include "soc/soc_caps.h"
 | |
| 
 | |
| #if SOC_CPU_HAS_PIE
 | |
| 
 | |
| /* CSR lowest 2 bits describe the following states:
 | |
|  * 00: OFF
 | |
|  * 01: Initial
 | |
|  * 10: Clean
 | |
|  * 11: Dirty
 | |
|  */
 | |
| #define CSR_PIE_STATE_REG      0x7F2
 | |
| 
 | |
| #endif /* SOC_CPU_HAS_PIE */
 |