Changeset 105042 in vbox for trunk/src/VBox/Devices/EFI
- Timestamp:
- Jun 27, 2024 8:53:11 AM (10 months ago)
- svn:sync-xref-src-repo-rev:
- 163660
- Location:
- trunk/src/VBox/Devices/EFI
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/EFI/DevEFI.cpp
r104587 r105042 191 191 /** Length of PCI config space MMIO region */ 192 192 uint64_t cbMcfgLength; 193 /** Physical address of the TPM PPI area. */ 194 uint64_t u64TpmPpiBase; 193 195 /** Size of the configured NVRAM device. */ 194 196 uint32_t cbNvram; … … 321 323 case EFI_INFO_INDEX_MCFG_BASE: 322 324 case EFI_INFO_INDEX_MCFG_SIZE: 325 case EFI_INFO_INDEX_TPM_PPI_BASE: 323 326 return 8; 324 327 case EFI_INFO_INDEX_APIC_MODE: … … 423 426 case EFI_INFO_INDEX_MCFG_SIZE: return efiInfoNextByteU64(pThisCC, pThisCC->cbMcfgLength); 424 427 case EFI_INFO_INDEX_APIC_MODE: return efiInfoNextByteU8(pThisCC, pThisCC->u8APIC); 428 case EFI_INFO_INDEX_TPM_PPI_BASE: return efiInfoNextByteU64(pThisCC, pThisCC->u64TpmPpiBase); 425 429 426 430 default: … … 1560 1564 "UgaVerticalResolution|" // legacy 1561 1565 "GraphicsResolution|" 1562 "NvramFile", ""); 1566 "NvramFile|" 1567 "TpmPpiBase", ""); 1563 1568 1564 1569 /* CPU count (optional). */ … … 1757 1762 return PDMDEV_SET_ERROR(pDevIns, rc, 1758 1763 N_("Configuration error: Querying \"NvramFile\" as a string failed")); 1764 1765 rc = pHlp->pfnCFGMQueryU64Def(pCfg, "TpmPpiBase", &pThisCC->u64TpmPpiBase, 0); 1766 if (RT_FAILURE(rc)) 1767 return PDMDEV_SET_ERROR(pDevIns, rc, 1768 N_("Configuration error: Querying \"TpmPpiBase\" as integer failed")); 1759 1769 1760 1770 /* -
trunk/src/VBox/Devices/EFI/DevEFI.h
r98131 r105042 85 85 EFI_INFO_INDEX_CPU_COUNT_CURRENT, 86 86 EFI_INFO_INDEX_CPU_COUNT_MAX, 87 EFI_INFO_INDEX_TPM_PPI_BASE, 87 88 EFI_INFO_INDEX_END 88 89 } EfiInfoIndex;
Note:
See TracChangeset
for help on using the changeset viewer.