summaryrefslogtreecommitdiff
path: root/kernel/src/interrupts/mod.rs
diff options
context:
space:
mode:
authornatrixaeria <upezu@student.kit.edu>2019-11-15 21:38:40 +0100
committernatrixaeria <upezu@student.kit.edu>2019-11-15 21:38:40 +0100
commit5e849967177a2ea639e783e847974db00cce2fff (patch)
tree1e4f937a8d733765dd7e896ac18d22cefa138237 /kernel/src/interrupts/mod.rs
parentfb02b294051e28137316225569b81a690e554630 (diff)
parent564dc1d1407055777b400e42f9a86a58b9921473 (diff)
Merge branch 'master' of dennis:/var/repos/uff-os
Diffstat (limited to 'kernel/src/interrupts/mod.rs')
-rw-r--r--kernel/src/interrupts/mod.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/src/interrupts/mod.rs b/kernel/src/interrupts/mod.rs
index 1cab595..b39eb37 100644
--- a/kernel/src/interrupts/mod.rs
+++ b/kernel/src/interrupts/mod.rs
@@ -8,7 +8,7 @@ const INT_OFFSET: u8 = 32;
#[repr(u8)]
#[derive(PartialEq, Clone, Copy)]
-pub enum Interrupts {
+pub enum InterruptType {
None,
PageFault,
DoubleFault,
@@ -20,7 +20,7 @@ pub enum Interrupts {
Keyboard = INT_OFFSET + 1,
}
-impl Interrupts {
+impl InterruptType {
fn as_u8(self) -> u8 {
self as u8
}