microsoft/mu_feature_ffa

Public

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

CodeCommitsIssuesPull requestsActionsInsightsSecurity
v0.1.7

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 aarch64_haf::{haf_interrupt_handler_impl, HafInterruptHandler};
2
3pub struct QemuInterruptHandler;
4
5impl HafInterruptHandler for QemuInterruptHandler {
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: QemuInterruptHandler = QemuInterruptHandler);