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