From 23ec0f61a7a115753148e3688e81567867f65c70 Mon Sep 17 00:00:00 2001 From: Tianhao Wang Date: Tue, 4 Jun 2024 19:32:32 +0200 Subject: chore: add v2p and p2v conversion wrt. id mapping Also renamed a few symbols to avoid confusion. --- src/arch/x86_64/interrupt/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/arch') diff --git a/src/arch/x86_64/interrupt/mod.rs b/src/arch/x86_64/interrupt/mod.rs index ae2847a..6591bde 100644 --- a/src/arch/x86_64/interrupt/mod.rs +++ b/src/arch/x86_64/interrupt/mod.rs @@ -3,7 +3,7 @@ pub mod pit; use crate::io::*; use core::arch::asm; use core::slice; - +// TODO use P2V for extern symbol addresses // number of entries in IDT pub const IDT_CAPACITY: usize = 256; // size of interrupt handler wrapper routine (vector) -- cgit v1.2.3-70-g09d2