Changeset 83032 in vbox for trunk/src/VBox/Devices
- Timestamp:
- Feb 10, 2020 10:11:30 AM (5 years ago)
- svn:sync-xref-src-repo-rev:
- 136053
- Location:
- trunk/src/VBox/Devices
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/EFI/DevEFI.cpp
r82968 r83032 2639 2639 */ 2640 2640 rc = FwCommonPlantDMITable(pDevIns, pThisCC->au8DMIPage, VBOX_DMI_TABLE_SIZE, &pThisCC->aUuid, 2641 pDevIns->pCfg, pThisCC->cCpus, &pThisCC->cbDmiTables, &pThisCC->cNumDmiTables); 2641 pDevIns->pCfg, pThisCC->cCpus, &pThisCC->cbDmiTables, &pThisCC->cNumDmiTables, 2642 true /*fUefi*/); 2642 2643 AssertRCReturn(rc, rc); 2643 2644 -
trunk/src/VBox/Devices/PC/DevFwCommon.cpp
r82968 r83032 434 434 * @param pcbDmiTables Size of DMI data in bytes. 435 435 * @param pcDmiTables Number of DMI tables. 436 * @param fUefi Flag whether the UEFI specification is supported. 436 437 */ 437 438 int FwCommonPlantDMITable(PPDMDEVINS pDevIns, uint8_t *pTable, unsigned cbMax, PCRTUUID pUuid, PCFGMNODE pCfg, uint16_t cCpus, 438 uint16_t *pcbDmiTables, uint16_t *pcDmiTables )439 uint16_t *pcbDmiTables, uint16_t *pcDmiTables, bool fUefi) 439 440 { 440 441 PCPDMDEVHLPR3 pHlp = pDevIns->pHlpR3; … … 651 652 /* any more?? */ 652 653 ; 653 pBIOSInf->u8CharacteristicsByte2 = 0654 pBIOSInf->u8CharacteristicsByte2 = fUefi ? RT_BIT(3) : 0 654 655 /* any more?? */ 655 656 ; -
trunk/src/VBox/Devices/PC/DevFwCommon.h
r82968 r83032 26 26 /* Plant DMI table */ 27 27 int FwCommonPlantDMITable(PPDMDEVINS pDevIns, uint8_t *pTable, unsigned cbMax, PCRTUUID pUuid, PCFGMNODE pCfg, uint16_t cCpus, 28 uint16_t *pcbDmiTables, uint16_t *pcDmiTables );28 uint16_t *pcbDmiTables, uint16_t *pcDmiTables, bool fUefi); 29 29 void FwCommonPlantSmbiosAndDmiHdrs(PPDMDEVINS pDevIns, uint8_t *pHdr, uint16_t cbDmiTables, uint16_t cNumDmiTables); 30 30 -
trunk/src/VBox/Devices/PC/DevPcBios.cpp
r82968 r83032 1612 1612 uint16_t cDmiTables = 0; 1613 1613 rc = FwCommonPlantDMITable(pDevIns, pThis->au8DMIPage, VBOX_DMI_TABLE_SIZE, 1614 &uuid, pCfg, pThis->cCpus, &cbDmiTables, &cDmiTables); 1614 &uuid, pCfg, pThis->cCpus, &cbDmiTables, &cDmiTables, 1615 false /*fUefi*/); 1615 1616 if (RT_FAILURE(rc)) 1616 1617 return rc;
Note:
See TracChangeset
for help on using the changeset viewer.