瀏覽代碼

Update interrupts-5.md

0xAX 9 年之前
父節點
當前提交
349aa9792b
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      interrupts/interrupts-5.md

+ 1 - 1
interrupts/interrupts-5.md

@@ -299,7 +299,7 @@ static const char str[] = "double fault";
 struct task_struct *tsk = current;
 ```
 
-The handler of the double fault exception splitted on two parts. The first part is the check which checks that a fault is a `non-IST` fault on the `espfix64` stack. Actually the `iret` instruction restores only the bottom `16` bits when returning to a `16` bit segment. The `espfix` feature solves this problem. So if the `non-IST` fault on the espfix64 stack we modify the stack to make it look like `General Protection Fault`:
+The handler of the double fault exception split on two parts. The first part is the check which checks that a fault is a `non-IST` fault on the `espfix64` stack. Actually the `iret` instruction restores only the bottom `16` bits when returning to a `16` bit segment. The `espfix` feature solves this problem. So if the `non-IST` fault on the espfix64 stack we modify the stack to make it look like `General Protection Fault`:
 
 ```C
 struct pt_regs *normal_regs = task_pt_regs(current);