mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-12-06 13:15:19 -05:00
Update portASM.s to handle memory protection context
* Add `portcontextSAVE_CONTEXT_INTERNAL` macro to save memory protection context * Add `portcontextRESTORE_CONTEXT` macro to restore memory protection context
This commit is contained in:
parent
8e434c1385
commit
c37130a3c1
1 changed files with 10 additions and 0 deletions
|
|
@ -397,3 +397,13 @@ application_exception_handler:
|
|||
processed_source:
|
||||
portcontextRESTORE_CONTEXT
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
/* Update the portcontextSAVE_CONTEXT_INTERNAL macro to save memory protection context */
|
||||
portcontextSAVE_CONTEXT_INTERNAL MACRO
|
||||
portasmSAVE_MEMORY_PROTECTION_CONTEXT
|
||||
ENDM
|
||||
|
||||
/* Update the portcontextRESTORE_CONTEXT macro to restore memory protection context */
|
||||
portcontextRESTORE_CONTEXT MACRO
|
||||
portasmRESTORE_MEMORY_PROTECTION_CONTEXT
|
||||
ENDM
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue