Changes

Jump to navigation Jump to search
302 bytes added ,  01:11, 29 August 2016
no edit summary
Line 9: Line 9:  
!  Type
 
!  Type
 
!  Description
 
!  Description
 +
|-
 +
| 0xF38
 +
| u32[4]
 +
| SVC access control data copied from KThread's owner process
 
|-
 
|-
 
| 0xF50
 
| 0xF50
Line 25: Line 29:  
* Load r4-r11, SP, LR
 
* Load r4-r11, SP, LR
 
* Branch back to r1, preserving the LR which was just reloaded, back to the main scheduling function, but in the context of the newly switched-to thread
 
* Branch back to r1, preserving the LR which was just reloaded, back to the main scheduling function, but in the context of the newly switched-to thread
 +
* Disable Interrupts
 +
* Check if that core's KScheduler object indicates that it needs switching again and exit if it does not
 +
* Otherwise, run the thread scheduler again and repeat all the steps to switch contexts again
374

edits

Navigation menu