aboutsummaryrefslogtreecommitdiff
path: root/src/machine/interrupt.rs
diff options
context:
space:
mode:
authorTianhao Wang <shrik3@mailbox.org>2024-04-18 03:11:41 +0200
committerTianhao Wang <shrik3@mailbox.org>2024-06-11 15:16:34 +0200
commit6f236a7dfbbd74284fec216361f30813998397d3 (patch)
treed76a5621c42f53a7bb5b96ef7b36fdac5779c93f /src/machine/interrupt.rs
parent35d1a6ef41fa716503925226837cf0f0b8894a90 (diff)
chore
Diffstat (limited to 'src/machine/interrupt.rs')
-rw-r--r--src/machine/interrupt.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/machine/interrupt.rs b/src/machine/interrupt.rs
index 1cd3234..c764eb4 100644
--- a/src/machine/interrupt.rs
+++ b/src/machine/interrupt.rs
@@ -1,2 +1,6 @@
+// a "machine" level interrupt controlling interface: so that the kernel could
+// enable and disable the interrupt without differentiate the architectures
+// currently not in use because we are not so complicated yet. Perhaps this
+// helper will deem unnecessary in the future ...
#[cfg(target_arch = "x86_64")]
pub use crate::arch::x86_64::interrupt::*;