ソースを参照

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 16年前
コミット
9aec835541
1個のファイルの変更2行の追加0行の削除
  1. 2
    0
      src/arch/i386/drivers/net/undiisr.S

+ 2
- 0
src/arch/i386/drivers/net/undiisr.S ファイルの表示

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

読み込み中…
キャンセル
保存