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