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