A demo for pure rust based td-shim.
It is derived from https://github.com/jyao1/edk2-staging/tree/TdShim/TdShimPkg.
This package is only the sample code to show the concept. It does not have a full validation such as robustness functional test and fuzzing test. It does not meet the production quality yet. Any codes including the API definition, the libary and the drivers are subject to change.
see build.md
tdx-tdcall impl two ways:
you can edit Cargo.toml -> features -> default to enable or disable. See
- tdx call
default = []
- tdx emulate
default = ["use_tdx_emulation"]
REF: https://github.com/tianocore/edk2-staging/tree/TDVF
./launch-rust-td.sh
- install pre-commit
- run
pre-commit install
- when you run
git commit
, pre-commit will do check-code things.
This package is only the sample code to show the concept. It does not have a full validation such as robustness functional test and fuzzing test. It does not meet the production quality yet. Any codes including the API definition, the libary and the drivers are subject to change.