Skip to content

Commit

Permalink
[FF-A][TPM] Add the Internal TPM CRB Address to the .dec (#361)
Browse files Browse the repository at this point in the history
## Description

The TPM Service running in the secure partition will need to know the
address of the internal CRB buffer for copying TPM data to/from the
actual MMIO CRB. Added the address as a PCD in the .dec for SecurityPkg.

For details on how to complete these options and their meaning refer to
[CONTRIBUTING.md](https://github.com/microsoft/mu/blob/HEAD/CONTRIBUTING.md).

- [ ] Impacts functionality?
- [ ] Impacts security?
- [ ] Breaking change?
- [ ] Includes tests?
- [ ] Includes documentation?
- [ ] Backport to release branch?

## How This Was Tested

Verified by enabling TPM support through the TPM defines and running the
TPM service.

## Integration Instructions

N/A
  • Loading branch information
Raymond-MS authored Dec 18, 2024
1 parent a2cc780 commit 64ba950
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions SecurityPkg/SecurityPkg.dec
Original file line number Diff line number Diff line change
Expand Up @@ -507,6 +507,10 @@
# @Prompt TPM device base address.
gEfiSecurityPkgTokenSpaceGuid.PcdTpmBaseAddress|0xFED40000|UINT64|0x00010012

## This PCD indicates internal TPM base address.<BR><BR>
# @Prompt TPM device base address.
gEfiSecurityPkgTokenSpaceGuid.PcdTpmInternalBaseAddress|0x10000010000|UINT64|0x0001002A

## This PCD indicates TPM max address.<BR><BR>
# @Prompt TPM device max address.
gEfiSecurityPkgTokenSpaceGuid.PcdTpmMaxAddress|0xFED44FFF|UINT64|0x00010029
Expand Down

0 comments on commit 64ba950

Please sign in to comment.