1 .globl _core_LeaveInterrupt
3 # Note that we first get all the values from struct LeaveInterruptContext
4 # and only then enable interrupts. After enabling interrupts our structure
5 # can be reused by another process.
6 # We are already out of Windows exception and running on task's stack,
7 # so it's okay to play with stack here.
10 pushl
0(%eax
) # Push real return address
11 movl
4(%eax
), %eax
# Restore real eax contents
12 movl $
1, _Ints_Enabled
# Now enable interrupts