microsoft/mu_feature_ffa

Public

mirrored fromhttps://github.com/microsoft/mu_feature_ffaAvailable

CodeCommitsIssuesPull requestsActionsInsightsSecurity
3d4b142bc3f2df66be0148459e45a92d4a1edf2c

Branches

Tags

  • No tags available.
0Branches0Tags
Go to file
Add file
Code

Clone

HTTPS

Download ZIP

FfaFeaturePkg/SecurePartitions/MsSecurePartitionRust/src/baremetal/interrupt.rs

10lines · modecode

1use embassy_aarch64_haf::{haf_interrupt_handler_impl, HafInterruptHandler};
2
3pub struct QemuInterriptHandler;
4
5impl HafInterruptHandler for QemuInterriptHandler {
6 fn handle(&self, haf_interrupt_id: hafnium::InterruptId) {
7 log::info!("QEMU Interrupt: {:?}", haf_interrupt_id);
8 }
9}
10haf_interrupt_handler_impl!(static IRQ_HANDLER: QemuInterriptHandler = QemuInterriptHandler);
11