microsoft/mu_feature_ffa

Public

mirrored from https://github.com/microsoft/mu_feature_ffaAvailable

CodeCommitsIssuesPull requestsActionsInsightsSecurity
main

Branches

Tags

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

Clone

HTTPS

Download ZIP

FfaFeaturePkg/SecurePartitions/MsSecurePartitionRust/README.md

27lines · modecode

1# QEMU Inter-Partition Secure Partition
2
3An implementation of Inter-Partition secure partition based on QEMU haf-ec-service.
4
5- `aarch64-rt` for the entry point and exception handling.
6
7## Cargo features
8
9- `tpm` — enable the TPM service and use the TPM CRB addresses for the selected target.
10
11The four supported combinations produce one binary each: TPM-on / TPM-off.
12
13## Building
14
15Default build (ARM Virt, no TPM):
16
17```bash
18cargo build --target=aarch64-unknown-none
19cargo objcopy --target=aarch64-unknown-none -- -O binary target/aarch64-unknown-none/debug/msft-sp-virt.bin
20```
21
22Other variants — add the relevant features:
23
24```bash
25cargo build --target=aarch64-unknown-none --features tpm
26cargo objcopy --target=aarch64-unknown-none --features tpm -- -O binary target/aarch64-unknown-none/debug/msft-sp-virt-tpm.bin
27```
28