xref: /DragonOS/kernel/src/arch/x86_64/driver/apic/hw_irq.rs (revision e28411791f090c421fe4b6fa5956fb1bd362a8d9)
1 use crate::{exception::HardwareIrqNumber, int_like};
2 
3 int_like!(ApicId, u32);
4 
5 #[derive(Debug)]
6 pub(super) struct HardwareIrqConfig {
7     pub apic_id: ApicId,
8     pub vector: HardwareIrqNumber,
9 }
10