Changeset 48730 in vbox for trunk/src/VBox/Devices/EFI/Firmware/PcAtChipsetPkg/Bus/Pci/IdeControllerDxe/IdeController.c
- Timestamp:
- Sep 27, 2013 12:28:22 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/EFI/Firmware/PcAtChipsetPkg/Bus/Pci/IdeControllerDxe/IdeController.c
r48674 r48730 90 90 { 91 91 EFI_STATUS Status = EFI_INVALID_PARAMETER; 92 LogFlowFuncEnter();92 VBoxLogFlowFuncEnter(); 93 93 if (!ppPciIo) 94 94 { 95 LogFlowFuncLeaveRC(Status);95 VBoxLogFlowFuncLeaveRC(Status); 96 96 return Status; 97 97 } … … 104 104 EFI_OPEN_PROTOCOL_BY_DRIVER 105 105 ); 106 LogFlowFuncLeaveRC(Status);106 VBoxLogFlowFuncLeaveRC(Status); 107 107 return Status; 108 108 } … … 414 414 // Channel number (0 based, either 0 or 1) 415 415 // 416 LogFlowFuncEnter();417 LogFlowFuncMarkVar(Channel, "%d");416 VBoxLogFlowFuncEnter(); 417 VBoxLogFlowFuncMarkVar(Channel, "%d"); 418 418 *MaxDevices = 0; 419 419 *Enabled = FALSE; … … 430 430 UINT64 u8DH = 0; 431 431 ASSERT(pPciIo); 432 LogFlowFuncMarkVar(u8Device, "%d");432 VBoxLogFlowFuncMarkVar(u8Device, "%d"); 433 433 if (u8Device == 0) 434 434 u8DH = 0xa0; … … 437 437 else 438 438 { 439 LogFlowFuncLeaveRC(EFI_INVALID_PARAMETER);439 VBoxLogFlowFuncLeaveRC(EFI_INVALID_PARAMETER); 440 440 return EFI_INVALID_PARAMETER; 441 441 } … … 452 452 return EFI_INVALID_PARAMETER; 453 453 } 454 LogFlowFuncMarkVar(u8DH, "%x");455 LogFlowFuncMarkVar(u64IoBase, "%llx");454 VBoxLogFlowFuncMarkVar(u8DH, "%x"); 455 VBoxLogFlowFuncMarkVar(u64IoBase, "%llx"); 456 456 pPciIo->Io.Write(pPciIo, EfiPciIoWidthUint8, EFI_PCI_IO_PASS_THROUGH_BAR, u64IoBase + 6, 1, (void *)&u8DH); 457 457 … … 473 473 pPciIo->Io.Read(pPciIo, EfiPciIoWidthUint8, EFI_PCI_IO_PASS_THROUGH_BAR, u64IoBase + 3, 1, (void *)&u8SN); 474 474 475 LogFlowFuncMarkVar(u8CS, "%x");476 LogFlowFuncMarkVar(u8SN, "%x");475 VBoxLogFlowFuncMarkVar(u8CS, "%x"); 476 VBoxLogFlowFuncMarkVar(u8SN, "%x"); 477 477 478 478 fEnabled = (u8CS == 0xaa && u8SN == 0x55); … … 488 488 *MaxDevices = ICH_IDE_MAX_DEVICES; 489 489 #endif /* !VBOX */ 490 LogFlowFuncMarkVar(*MaxDevices, "%d");491 LogFlowFuncMarkVar(*Enabled, "%d");492 LogFlowFuncLeaveRC(EFI_SUCCESS);490 VBoxLogFlowFuncMarkVar(*MaxDevices, "%d"); 491 VBoxLogFlowFuncMarkVar(*Enabled, "%d"); 492 VBoxLogFlowFuncLeaveRC(EFI_SUCCESS); 493 493 return EFI_SUCCESS; 494 494 }
Note:
See TracChangeset
for help on using the changeset viewer.