VirtualBox

Ignore:
Timestamp:
Sep 27, 2013 12:28:22 PM (11 years ago)
Author:
vboxsync
Message:

EFI: Use VBox prefix for our stuff so that it's obvious what's our stuff and what isn't. Also, I do NOT like anyone but iprt/log.h defining LogXXX macros!

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/EFI/Firmware/PcAtChipsetPkg/Bus/Pci/IdeControllerDxe/IdeController.c

    r48674 r48730  
    9090{
    9191    EFI_STATUS Status = EFI_INVALID_PARAMETER;
    92     LogFlowFuncEnter();
     92    VBoxLogFlowFuncEnter();
    9393    if (!ppPciIo)
    9494    {
    95         LogFlowFuncLeaveRC(Status);
     95        VBoxLogFlowFuncLeaveRC(Status);
    9696        return Status;
    9797    }
     
    104104                    EFI_OPEN_PROTOCOL_BY_DRIVER
    105105                    );
    106     LogFlowFuncLeaveRC(Status);
     106    VBoxLogFlowFuncLeaveRC(Status);
    107107    return Status;
    108108}
     
    414414  // Channel number (0 based, either 0 or 1)
    415415  //
    416   LogFlowFuncEnter();
    417   LogFlowFuncMarkVar(Channel, "%d");
     416  VBoxLogFlowFuncEnter();
     417  VBoxLogFlowFuncMarkVar(Channel, "%d");
    418418  *MaxDevices = 0;
    419419  *Enabled = FALSE;
     
    430430        UINT64  u8DH = 0;
    431431        ASSERT(pPciIo);
    432         LogFlowFuncMarkVar(u8Device, "%d");
     432        VBoxLogFlowFuncMarkVar(u8Device, "%d");
    433433        if (u8Device == 0)
    434434            u8DH = 0xa0;
     
    437437        else
    438438        {
    439             LogFlowFuncLeaveRC(EFI_INVALID_PARAMETER);
     439            VBoxLogFlowFuncLeaveRC(EFI_INVALID_PARAMETER);
    440440            return EFI_INVALID_PARAMETER;
    441441        }
     
    452452                return EFI_INVALID_PARAMETER;
    453453        }
    454         LogFlowFuncMarkVar(u8DH, "%x");
    455         LogFlowFuncMarkVar(u64IoBase, "%llx");
     454        VBoxLogFlowFuncMarkVar(u8DH, "%x");
     455        VBoxLogFlowFuncMarkVar(u64IoBase, "%llx");
    456456        pPciIo->Io.Write(pPciIo, EfiPciIoWidthUint8, EFI_PCI_IO_PASS_THROUGH_BAR, u64IoBase + 6, 1, (void *)&u8DH);
    457457
     
    473473        pPciIo->Io.Read(pPciIo, EfiPciIoWidthUint8, EFI_PCI_IO_PASS_THROUGH_BAR, u64IoBase + 3, 1, (void *)&u8SN);
    474474
    475         LogFlowFuncMarkVar(u8CS, "%x");
    476         LogFlowFuncMarkVar(u8SN, "%x");
     475        VBoxLogFlowFuncMarkVar(u8CS, "%x");
     476        VBoxLogFlowFuncMarkVar(u8SN, "%x");
    477477
    478478        fEnabled = (u8CS == 0xaa && u8SN == 0x55);
     
    488488    *MaxDevices = ICH_IDE_MAX_DEVICES;
    489489#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);
    493493    return EFI_SUCCESS;
    494494  }
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette