aboutsummaryrefslogtreecommitdiff
path: root/src/arch/x86_64/interrupt/pic_8259.rs
diff options
context:
space:
mode:
authorTianhao Wang <shrik3@mailbox.org>2024-04-18 02:29:44 +0200
committerTianhao Wang <shrik3@mailbox.org>2024-06-11 15:16:34 +0200
commit4c7dec80c02db70d9592bbe91f00145c0eb7a40e (patch)
tree6889539f2bb88aafe22fe076e83fcf67afc66b67 /src/arch/x86_64/interrupt/pic_8259.rs
parent9ffe5da010790ca8751e132841352c9543d06c5c (diff)
interrupt: add rust binding for idt
Diffstat (limited to 'src/arch/x86_64/interrupt/pic_8259.rs')
-rw-r--r--src/arch/x86_64/interrupt/pic_8259.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/x86_64/interrupt/pic_8259.rs b/src/arch/x86_64/interrupt/pic_8259.rs
index 969e8d1..d40d5ba 100644
--- a/src/arch/x86_64/interrupt/pic_8259.rs
+++ b/src/arch/x86_64/interrupt/pic_8259.rs
@@ -15,7 +15,7 @@ impl PicDeviceInt {
// init must be called before interrupt is enabled.
// TODO: turn pic into a singleton struct
-pub fn init() {
+pub fn _init() {
outb(0x20, 0x11);
outb(0xa0, 0x11);
outb(0x21, 0x20);