Changeset 48730 in vbox for trunk/src/VBox/Devices/EFI/Firmware/OvmfPkg
- Timestamp:
- Sep 27, 2013 12:28:22 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/EFI/Firmware/OvmfPkg/Library/PlatformBdsLib/BdsPlatform.c
r48674 r48730 971 971 HandleCount = 0; 972 972 HandleBuffer = NULL; 973 LogFlowFuncEnter();973 VBoxLogFlowFuncEnter(); 974 974 975 975 VisitAllPciInstances (ConnectRecursivelyIfPciMassStorage); … … 989 989 &HandleBuffer 990 990 ); 991 LogFlowFuncMarkRC(Status);992 993 LogFlowFuncLeave();991 VBoxLogFlowFuncMarkRC(Status); 992 993 VBoxLogFlowFuncLeave(); 994 994 } 995 995 … … 1171 1171 EFI_BOOT_MODE BootMode; 1172 1172 1173 LogFlowFuncEnter();1173 VBoxLogFlowFuncEnter(); 1174 1174 1175 1175 ConnectRootBridge (); … … 1260 1260 &cFileSystem, 1261 1261 &phFileSystem); 1262 LogFlowFuncMarkRC(rc);1263 LogFlowFuncMarkVar(cFileSystem, "%d");1262 VBoxLogFlowFuncMarkRC(rc); 1263 VBoxLogFlowFuncMarkVar(cFileSystem, "%d"); 1264 1264 if ( rc == EFI_SUCCESS 1265 1265 && cFileSystem > 0) … … 1280 1280 &gEfiSimpleFileSystemProtocolGuid, 1281 1281 (VOID *) &pFSVolume); 1282 LogFlowFuncMarkVar(iFileSystem, "%d");1283 LogFlowFuncMarkRC(rc);1282 VBoxLogFlowFuncMarkVar(iFileSystem, "%d"); 1283 VBoxLogFlowFuncMarkRC(rc); 1284 1284 if (EFI_ERROR(rc)) 1285 1285 continue; 1286 1286 1287 1287 rc = pFSVolume->OpenVolume(pFSVolume, &hFSRoot); 1288 LogFlowFuncMarkRC(rc);1288 VBoxLogFlowFuncMarkRC(rc); 1289 1289 if (EFI_ERROR(rc)) 1290 1290 continue; 1291 1291 1292 1292 rc = hFSRoot->Open(hFSRoot, &hBootEfiFile, L"\\System\\Library\\CoreServices\\boot.efi", EFI_FILE_MODE_READ, 0); 1293 LogFlowFuncMarkRC(rc);1293 VBoxLogFlowFuncMarkRC(rc); 1294 1294 if (EFI_ERROR(rc)) 1295 1295 continue; 1296 1296 /* nice file is found and we have to register it */ 1297 1297 pDevicePath = FileDevicePath(phFileSystem[iFileSystem], L"\\System\\Library\\CoreServices\\boot.efi"); 1298 LogFlowFuncMarkVar(pDevicePath,"%p");1298 VBoxLogFlowFuncMarkVar(pDevicePath,"%p"); 1299 1299 if (!pDevicePath) 1300 1300 continue; 1301 1301 rc = BdsLibRegisterNewOption (BootOptionList, pDevicePath, L"Mac Boot", L"BootOrder"); 1302 LogFlowFuncMarkRC(rc);1302 VBoxLogFlowFuncMarkRC(rc); 1303 1303 } 1304 1304 } … … 1306 1306 else 1307 1307 { 1308 LogFlowFuncMarkVar(BootOption0080->LoadOptionsSize, "%d");1308 VBoxLogFlowFuncMarkVar(BootOption0080->LoadOptionsSize, "%d"); 1309 1309 if (BootOption0080->LoadOptionsSize) 1310 LogFlowFuncMarkVar(BootOption0080->LoadOptions, "%s");1310 VBoxLogFlowFuncMarkVar(BootOption0080->LoadOptions, "%s"); 1311 1311 #if 0 1312 1312 /* Boot0080 option is found */ … … 1352 1352 // 1353 1353 Status = BdsLibBuildOptionFromVar (BootOptionList, L"BootOrder"); 1354 LogFlowFuncMarkRC(Status);1354 VBoxLogFlowFuncMarkRC(Status); 1355 1355 if (EFI_ERROR(Status)) { 1356 1356 // … … 1407 1407 } 1408 1408 1409 LogFlowFuncLeave();1409 VBoxLogFlowFuncLeave(); 1410 1410 return ; 1411 1411 } … … 1700 1700 UINT32 InitializationSize; 1701 1701 1702 LogFlowFuncEnter();1702 VBoxLogFlowFuncEnter(); 1703 1703 FileName = L"PciRomInMemory"; 1704 1704 … … 1841 1841 1842 1842 1843 LogFlowFuncLeaveRC(retStatus);1843 VBoxLogFlowFuncLeaveRC(retStatus); 1844 1844 return retStatus; 1845 1845 }
Note:
See TracChangeset
for help on using the changeset viewer.