Changeset 849d7418 in rtems

Timestamp:
07/22/20 12:41:51 (4 years ago)
Author:
Jan Sommer <jan.sommer@…>
Branches:
5
Children:
5eb07731
Parents:
a1f9265c
git-author:
Jan Sommer <jan.sommer@…> (07/22/20 12:41:51)
git-committer:
Sebastian Huber <sebastian.huber@…> (07/29/20 09:39:35)
Message:

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

(No files)

Note: See TracChangeset for help on using the changeset viewer.