mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-04-19 21:11:57 -04:00
Fix kexcept function
This commit is contained in:
parent
0c79e74eaa
commit
47e47e7670
6
portable/ThirdParty/xClang/XCOREAI/portasm.S
vendored
6
portable/ThirdParty/xClang/XCOREAI/portasm.S
vendored
|
@ -14,11 +14,7 @@ rest of the ISR callback functions. */
|
|||
.issue_mode dual
|
||||
.cc_top kexcept.function, kexcept
|
||||
kexcept:
|
||||
ldc r11, 0x0008
|
||||
shl r11, r11, 16
|
||||
ldc r9, 0x0080
|
||||
or r11, r11, r9
|
||||
bau r11 //_TrapHandler is at 0x00080080. TODO: Is it always? Why can't I access the symbol _TrapHandler?
|
||||
bu _DoException
|
||||
|
||||
_yield:
|
||||
{set sp, r4 /* Restore the task's SP to save the rest of its context. */
|
||||
|
|
Loading…
Reference in a new issue