microsoft/mu_feature_ffa
Publicmirrored fromhttps://github.com/microsoft/mu_feature_ffaAvailable
FfaFeaturePkg/SecurePartitions/MsSecurePartitionRust/src/baremetal/mod.rs
13lines · modecode
| 1 | mod interrupt; |
| 2 | mod panic; |
| 3 | |
| 4 | use aarch64_rt::entry; |
| 5 | use ec_service_lib::SpLogger; |
| 6 | |
| 7 | entry!(aarch64_rt_main); |
| 8 | fn aarch64_rt_main(_arg0: u64, _arg1: u64, _arg2: u64, _arg3: u64) -> ! { |
| 9 | // loop here to prevent the compiler from optimizing away the entry point |
| 10 | log::set_logger(&SpLogger).unwrap(); |
| 11 | log::set_max_level(log::LevelFilter::Info); |
| 12 | crate::main(); |
| 13 | } |
| 14 | |