1
0
mirror of https://github.com/0xAX/linux-insides.git synced 2024-12-22 22:58:08 +00:00

Update interrupts-3.md

This commit is contained in:
0xAX 2015-06-14 20:11:35 +06:00
parent 4948ec3f74
commit 011f330c05

View File

@ -390,7 +390,7 @@ static inline void preempt_conditional_sti(struct pt_regs *regs)
} }
``` ```
more about `local_irq_enabled` and related stuff you can read in the second parts about [interrupts handling in the Linux kernel](http://0xax.gitbooks.io/linux-insides/content/interrupts/interrupts-2.html). In the next step we check the previous mode was [virtual 8086](https://en.wikipedia.org/wiki/Virtual_8086_mode) and handle the trap: more about `local_irq_enabled` and related stuff you can read in the second part about [interrupts handling in the Linux kernel](http://0xax.gitbooks.io/linux-insides/content/interrupts/interrupts-2.html). In the next step we check the previous mode was [virtual 8086](https://en.wikipedia.org/wiki/Virtual_8086_mode) and handle the trap:
```C ```C
if (regs->flags & X86_VM_MASK) { if (regs->flags & X86_VM_MASK) {