Changeset 25219 in vbox for trunk/src/VBox/Devices/PC
- Timestamp:
- Dec 7, 2009 6:04:10 PM (15 years ago)
- Location:
- trunk/src/VBox/Devices/PC
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/PC/DevFwCommon.cpp
r25191 r25219 493 493 ; 494 494 *pszStr++ = '\0'; 495 495 496 496 /*********************************** 497 497 * DMI system information (Type 1) * … … 508 508 READCFGSTR(pSystemInf->u8Version, DmiSystemVersion); 509 509 READCFGSTR(pSystemInf->u8SerialNumber, DmiSystemSerial); 510 510 511 511 RTUUID uuid; 512 512 if (pszDmiSystemUuid) … … 529 529 } 530 530 memcpy(pSystemInf->au8Uuid, pUuid, sizeof(RTUUID)); 531 531 532 532 pSystemInf->u8WakeupType = 6; /* Power Switch */ 533 533 pSystemInf->u8SKUNumber = 0; 534 534 READCFGSTR(pSystemInf->u8Family, DmiSystemFamily); 535 535 *pszStr++ = '\0'; 536 536 537 537 /******************************************** 538 538 * DMI System Enclosure or Chassis (Type 3) * … … 567 567 # endif 568 568 *pszStr++ = '\0'; 569 569 570 570 /***************************** 571 571 * DMI OEM strings (Type 11) * … … 583 583 pOEMStrings->header.u16Handle = 0x0002; 584 584 pOEMStrings->u8Count = 2; 585 585 586 586 char szTmp[64]; 587 587 RTStrPrintf(szTmp, sizeof(szTmp), "vboxVer_%u.%u.%u", … … 591 591 READCFGSTRDEF(pOEMStrings->u8VBoxRevision, "DmiOEMVBoxRev", szTmp); 592 592 *pszStr++ = '\0'; 593 593 594 594 /* End-of-table marker - includes padding to account for fixed table size. */ 595 595 PDMIHDR pEndOfTable = (PDMIHDR)pszStr; … … 597 597 pEndOfTable->u8Length = cbMax - ((char *)pszStr - (char *)pTable) - 2; 598 598 pEndOfTable->u16Handle = 0xFEFF; 599 599 600 600 /* If more fields are added here, fix the size check in READCFGSTR */ 601 601 … … 777 777 PDMDevHlpPhysWrite (pDevIns, 0x9fff0, &floatPtr, 16); 778 778 } 779 -
trunk/src/VBox/Devices/PC/DevPcBios.cpp
r25048 r25219 1364 1364 PDM_DEVREG_VERSION 1365 1365 }; 1366
Note:
See TracChangeset
for help on using the changeset viewer.