summaryrefslogtreecommitdiff
path: root/kernel/cpu/idt.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/cpu/idt.h')
-rw-r--r--kernel/cpu/idt.h26
1 files changed, 3 insertions, 23 deletions
diff --git a/kernel/cpu/idt.h b/kernel/cpu/idt.h
index 46ef4a3..7f1d9e6 100644
--- a/kernel/cpu/idt.h
+++ b/kernel/cpu/idt.h
@@ -36,33 +36,13 @@ struct isr_regs {
};
struct rflags {
- uint64_t cf : 1,
- : 1,
- pf : 1,
- : 1,
- af : 1,
- : 1,
- zf : 1,
- sf : 1,
+ uint64_t cf : 1, : 1, pf : 1, : 1, af : 1, : 1, zf : 1, sf : 1,
- tf : 1,
- if_ : 1,
- df : 1,
- of : 1,
- iopl : 2,
- nt : 1,
- md : 1,
+ tf : 1, if_ : 1, df : 1, of : 1, iopl : 2, nt : 1, md : 1,
- rf : 1,
- vm : 1,
- ac : 1,
- vif : 1,
- vip : 1,
- id : 1,
- : 42;
+ rf : 1, vm : 1, ac : 1, vif : 1, vip : 1, id : 1, : 42;
};
void idt_init(void);
#endif /* idt.h */
-