mirror of
https://github.com/mmueller41/genode.git
synced 2026-01-21 20:42:56 +01:00
hw: clrex during context switch (Fixes #1196)
This commit is contained in:
committed by
Christian Helmuth
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 **
|
||||
*********************************************************/
|
||||
|
||||
Reference in New Issue
Block a user