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
c37130a3c1
commit
45622ddc58
1 changed files with 10 additions and 0 deletions
|
|
@ -382,3 +382,13 @@ application_exception_handler:
|
|||
processed_source:
|
||||
portcontextRESTORE_CONTEXT
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
/* Update the portcontextSAVE_CONTEXT_INTERNAL macro to save memory protection context */
|
||||
.macro portcontextSAVE_CONTEXT_INTERNAL
|
||||
portasmSAVE_MEMORY_PROTECTION_CONTEXT
|
||||
.endm
|
||||
|
||||
/* Update the portcontextRESTORE_CONTEXT macro to restore memory protection context */
|
||||
.macro portcontextRESTORE_CONTEXT
|
||||
portasmRESTORE_MEMORY_PROTECTION_CONTEXT
|
||||
.endm
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue