Changeset 48730 in vbox for trunk/src/VBox/Devices/EFI/Firmware/VBoxPkg/PartitionDxe
- Timestamp:
- Sep 27, 2013 12:28:22 PM (11 years ago)
- Location:
- trunk/src/VBox/Devices/EFI/Firmware/VBoxPkg/PartitionDxe
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/EFI/Firmware/VBoxPkg/PartitionDxe/Apple.c
r48674 r48730 106 106 UINT32 BlkPerSec; 107 107 108 LogFlowFuncMarkDP(DevicePath);108 VBoxLogFlowFuncMarkDP(DevicePath); 109 109 Found = EFI_NOT_FOUND; 110 110 Media = BlockIo->Media; -
trunk/src/VBox/Devices/EFI/Firmware/VBoxPkg/PartitionDxe/ElTorito.c
r48674 r48730 86 86 UINT32 VolSpaceSize; 87 87 88 LogFlowFuncMarkDP(DevicePath);88 VBoxLogFlowFuncMarkDP(DevicePath); 89 89 Found = EFI_NOT_FOUND; 90 90 Media = BlockIo->Media; -
trunk/src/VBox/Devices/EFI/Firmware/VBoxPkg/PartitionDxe/Gpt.c
r48674 r48730 221 221 UINT32 MediaId; 222 222 223 LogFlowFuncMarkDP(DevicePath);223 VBoxLogFlowFuncMarkDP(DevicePath); 224 224 ProtectiveMbr = NULL; 225 225 PrimaryHeader = NULL; -
trunk/src/VBox/Devices/EFI/Firmware/VBoxPkg/PartitionDxe/Mbr.c
r48674 r48730 170 170 LastBlock = BlockIo->Media->LastBlock; 171 171 172 LogFlowFuncMarkDP(DevicePath);172 VBoxLogFlowFuncMarkDP(DevicePath); 173 173 Mbr = AllocatePool (BlockSize); 174 174 if (Mbr == NULL) { -
trunk/src/VBox/Devices/EFI/Firmware/VBoxPkg/PartitionDxe/Partition.c
r48674 r48730 103 103 EFI_DISK_IO_PROTOCOL *DiskIo; 104 104 EFI_DEV_PATH *Node; 105 LogFlowFuncEnter();105 VBoxLogFlowFuncEnter(); 106 106 107 107 // … … 113 113 // if yes, go on checking other conditions 114 114 // 115 LogFlowFuncMarkDP(RemainingDevicePath);115 VBoxLogFlowFuncMarkDP(RemainingDevicePath); 116 116 if (!IsDevicePathEnd (RemainingDevicePath)) { 117 117 // … … 125 125 || Node->DevPath.Type != MESSAGING_DEVICE_PATH 126 126 || Node->DevPath.SubType != MSG_SATA_DP) { 127 LogFlowFuncLeaveRC(EFI_UNSUPPORTED);127 VBoxLogFlowFuncLeaveRC(EFI_UNSUPPORTED); 128 128 return EFI_UNSUPPORTED; 129 129 } … … 143 143 ); 144 144 if (Status == EFI_ALREADY_STARTED) { 145 LogFlowFuncLeaveRC(EFI_SUCCESS);145 VBoxLogFlowFuncLeaveRC(EFI_SUCCESS); 146 146 return EFI_SUCCESS; 147 147 } 148 148 if (EFI_ERROR (Status)) { 149 LogFlowFuncLeaveRC(Status);149 VBoxLogFlowFuncLeaveRC(Status); 150 150 return Status; 151 151 } … … 171 171 EFI_OPEN_PROTOCOL_BY_DRIVER 172 172 ); 173 LogFlowFuncMarkDP(ParentDevicePath);173 VBoxLogFlowFuncMarkDP(ParentDevicePath); 174 174 if (Status == EFI_ALREADY_STARTED) { 175 LogFlowFuncLeaveRC(EFI_SUCCESS);175 VBoxLogFlowFuncLeaveRC(EFI_SUCCESS); 176 176 return EFI_SUCCESS; 177 177 } 178 178 179 179 if (EFI_ERROR (Status)) { 180 LogFlowFuncLeaveRC(Status);180 VBoxLogFlowFuncLeaveRC(Status); 181 181 return Status; 182 182 } … … 204 204 ); 205 205 if (EFI_ERROR (Status)) { 206 LogFlowFuncLeaveRC(Status);206 VBoxLogFlowFuncLeaveRC(Status); 207 207 return Status; 208 208 } 209 209 210 LogFlowFuncLeaveRC(EFI_SUCCESS);210 VBoxLogFlowFuncLeaveRC(EFI_SUCCESS); 211 211 return EFI_SUCCESS; 212 212 } … … 246 246 int idxRoutine = 0; 247 247 248 LogFlowFuncEnter();248 VBoxLogFlowFuncEnter(); 249 249 BlockIo2 = NULL; 250 250 OldTpl = gBS->RaiseTPL (TPL_CALLBACK); … … 276 276 ); 277 277 if (EFI_ERROR (Status)) { 278 LogFlowFuncMarkRC(Status);278 VBoxLogFlowFuncMarkRC(Status); 279 279 goto Exit; 280 280 } … … 301 301 ); 302 302 if (EFI_ERROR (Status) && Status != EFI_ALREADY_STARTED) { 303 LogFlowFuncMarkRC(Status);303 VBoxLogFlowFuncMarkRC(Status); 304 304 goto Exit; 305 305 } … … 320 320 ControllerHandle 321 321 ); 322 LogFlowFuncMarkRC(Status);322 VBoxLogFlowFuncMarkRC(Status); 323 323 goto Exit; 324 324 } … … 348 348 ParentDevicePath 349 349 ); 350 LogFlowFuncMarkRC(Status);350 VBoxLogFlowFuncMarkRC(Status); 351 351 if (!EFI_ERROR (Status) || Status == EFI_MEDIA_CHANGED || Status == EFI_NO_MEDIA) { 352 LogFlowFuncMarkVar(idxRoutine, "%d");352 VBoxLogFlowFuncMarkVar(idxRoutine, "%d"); 353 353 break; 354 354 } … … 399 399 Exit: 400 400 gBS->RestoreTPL (OldTpl); 401 LogFlowFuncLeaveRC(Status);401 VBoxLogFlowFuncLeaveRC(Status); 402 402 return Status; 403 403 }
Note:
See TracChangeset
for help on using the changeset viewer.