URL
https://opencores.org/ocsvn/open8_urisc/open8_urisc/trunk
Subversion Repositories open8_urisc
Compare Revisions
- This comparison shows the changes necessary to convert path
/open8_urisc
- from Rev 305 to Rev 306
- ↔ Reverse comparison
Rev 305 → Rev 306
/trunk/taskmgr/taskmgr_const.s
342,6 → 342,8
; simulates an RTI by loading an initial flag and return address, then resets |
; all registers to 0 |
.MACRO INITIALIZE_TASK_STACK |
REINIT_TASK_TABLE_PTR ; Use This_Task to initialize R3:R2 |
|
; Get the task's starting stack address from the table and load |
; it into the CPU SP |
LDO R2, PARAM_STACK_ADDR_HIGH |
419,7 → 421,6
LDI R0, #\@ |
STA R0, TaskMgr.This_Task ; Write This_Task |
|
REINIT_TASK_TABLE_PTR ; Use This_Task to initialize R3:R2 |
INITIALIZE_TASK_STACK ; Setup the new task's stack area |
SUSPEND_THIS_TASK ; Suspend the task to store setup |
.ENDM |