diff options
author | Jan Sommer <jan.sommer@dlr.de> | 2020-07-22 14:41:51 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2020-07-29 11:39:35 +0200 |
commit | 849d741832cd61c31c438b9b15c2cb43235719fe (patch) | |
tree | 4f5aab3870ebeffc6c1bc69fd1495b5a9cd50112 /bsps/shared | |
parent | bsps/pc386: Fix IPI for non-consecutive APICIDs (diff) | |
download | rtems-849d741832cd61c31c438b9b15c2cb43235719fe.tar.bz2 |
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 #4030
Diffstat (limited to 'bsps/shared')
0 files changed, 0 insertions, 0 deletions