mirror of
https://github.com/genodelabs/genode.git
synced 2025-01-19 11:16:57 +00:00
hw: clrex during context switch (Fixes #1196)
This commit is contained in:
parent
eedddeced1
commit
0ffc89ee30
@ -369,6 +369,13 @@
|
||||
add sp, sp, #PSR_OFFSET
|
||||
stm sp, {r0, r1}
|
||||
|
||||
/*
|
||||
* Clear exclusive access in local monitor,
|
||||
* as we use strex/ldrex in our cmpxchg method, we've to do this during
|
||||
* a context switch (ARM Reference Manual paragraph 3.4.4.)
|
||||
*/
|
||||
clrex
|
||||
|
||||
/*********************************************************
|
||||
** Kernel-entry code that is common for all exceptions **
|
||||
*********************************************************/
|
||||
|
Loading…
Reference in New Issue
Block a user