xref: /DragonOS/kernel/src/arch/x86_64/driver/apic/hw_irq.rs (revision 1ea2daad8121b77ed704e6d7c3a09f478147441d)
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