summaryrefslogtreecommitdiff
path: root/testsuites
diff options
context:
space:
mode:
authorJan Sommer <jan.sommer@dlr.de>2020-07-22 14:41:51 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2020-07-29 11:39:02 +0200
commit21c7e3a41f1590b18c2c3f883e2b63e36cc409aa (patch)
treeb3f6fcb2afb0dc622316e53a0ef41e2177cab335 /testsuites
parent4444094d0281488f28d9a58d6f3fad1eb6ef49f8 (diff)
i386: Fix possible race condition on first context restore
Make sure that the esp is restored before the eflags register. When the init task is initially restored, system interrupts are activated when the eflags register is loaded. If the esp register still points to an address in the interrupt stack area (from early system initlization) the ISR might overwrite its own stack. Closes #4031
Diffstat (limited to 'testsuites')
0 files changed, 0 insertions, 0 deletions