Pārlūkot izejas kodu

undiisr.S: save/restore upper half of %eflags

Since we don't know what the UNDI code does, it is safest to
save/restore %eflags even though the lower half of %eflags is
automatically saved by the interrupt itself.
tags/v0.9.3
H. Peter Anvin 17 gadus atpakaļ
vecāks
revīzija
9aec835541
1 mainītis faili ar 2 papildinājumiem un 0 dzēšanām
  1. 2
    0
      src/arch/i386/drivers/net/undiisr.S

+ 2
- 0
src/arch/i386/drivers/net/undiisr.S Parādīt failu

23
 	pushw	%es
23
 	pushw	%es
24
 	pushw	%fs
24
 	pushw	%fs
25
 	pushw	%gs
25
 	pushw	%gs
26
+	pushfl
26
 	pushal
27
 	pushal
27
 
28
 
28
 	/* Set up our segment registers */
29
 	/* Set up our segment registers */
64
 	
65
 	
65
 exit:	/* Restore registers and return */
66
 exit:	/* Restore registers and return */
66
 	popal
67
 	popal
68
+	popfl
67
 	popw	%gs
69
 	popw	%gs
68
 	popw	%fs
70
 	popw	%fs
69
 	popw	%es
71
 	popw	%es

Notiek ielāde…
Atcelt
Saglabāt