microsoft/mu_feature_ffa
Publicmirrored fromhttps://github.com/microsoft/mu_feature_ffaAvailable
FfaFeaturePkg/SecurePartitions/MsSecurePartitionRust/src/baremetal/interrupt.rs
10lines · modecode
| 1 | use embassy_aarch64_haf::{haf_interrupt_handler_impl, HafInterruptHandler}; |
| 2 | |
| 3 | pub struct QemuInterriptHandler; |
| 4 | |
| 5 | impl HafInterruptHandler for QemuInterriptHandler { |
| 6 | fn handle(&self, haf_interrupt_id: hafnium::InterruptId) { |
| 7 | log::info!("QEMU Interrupt: {:?}", haf_interrupt_id); |
| 8 | } |
| 9 | } |
| 10 | haf_interrupt_handler_impl!(static IRQ_HANDLER: QemuInterriptHandler = QemuInterriptHandler); |
| 11 | |