aboutsummaryrefslogtreecommitdiff
path: root/kernel/interrupt_descriptor_table.h
diff options
context:
space:
mode:
authorJames Barnett <noreply@jamesbarnett.xyz>2019-05-25 20:11:52 +0100
committerJames Barnett <noreply@jamesbarnett.xyz>2019-05-25 20:11:52 +0100
commit506f1691f1ca7b562d82ab6f2280b87d0e4af84c (patch)
treebdb403c000cd15ab29cbce8b3bcec5077d6f9655 /kernel/interrupt_descriptor_table.h
parentc1d948ce1973d9be37a43718f548776a0061807b (diff)
downloadtinyOS-506f1691f1ca7b562d82ab6f2280b87d0e4af84c.tar.xz
tinyOS-506f1691f1ca7b562d82ab6f2280b87d0e4af84c.zip
Add keyboard support
Diffstat (limited to 'kernel/interrupt_descriptor_table.h')
-rw-r--r--kernel/interrupt_descriptor_table.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/kernel/interrupt_descriptor_table.h b/kernel/interrupt_descriptor_table.h
new file mode 100644
index 0000000..1d0216b
--- /dev/null
+++ b/kernel/interrupt_descriptor_table.h
@@ -0,0 +1,8 @@
+struct idt_entry
+{
+ unsigned short int offset_lowerbits;
+ unsigned short int selector;
+ unsigned char zero;
+ unsigned char type_attr;
+ unsigned short int offset_higherbits;
+} __attribute__((packed)); \ No newline at end of file