diff options
author | Freya Murphy <freya@freyacat.org> | 2025-04-03 23:04:38 -0400 |
---|---|---|
committer | Freya Murphy <freya@freyacat.org> | 2025-04-03 23:04:38 -0400 |
commit | d0854aa095421f225f7004cdcca0b8ad074303c5 (patch) | |
tree | d7c52aee6c0aa574e1b4230b5f28d49342470862 /kernel/cpu/idt.h | |
parent | load multiboot memory map, heap is done!!! (diff) | |
download | comus-d0854aa095421f225f7004cdcca0b8ad074303c5.tar.gz comus-d0854aa095421f225f7004cdcca0b8ad074303c5.tar.bz2 comus-d0854aa095421f225f7004cdcca0b8ad074303c5.zip |
fmt
Diffstat (limited to 'kernel/cpu/idt.h')
-rw-r--r-- | kernel/cpu/idt.h | 26 |
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 */ - |