Changeset 21c7e3a in rtems for cpukit

Timestamp:
07/22/20 12:41:51 (4 years ago)
Author:
Jan Sommer <jan.sommer@…>
Branches:
master
Children:
699f465c
Parents:
4444094d
git-author:
Jan Sommer <jan.sommer@…> (07/22/20 12:41:51)
git-committer:
Sebastian Huber <sebastian.huber@…> (07/29/20 09:39:02)
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 #4031

(No files)

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