Changeset 48747 in vbox for trunk/src/VBox/Devices/EFI
- Timestamp:
- Sep 27, 2013 11:21:48 PM (11 years ago)
- Location:
- trunk/src/VBox/Devices/EFI/Firmware
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/EFI/Firmware/IntelFrameworkModulePkg/Library/GenericBdsLib/BdsBoot.c
r48739 r48747 636 636 // 637 637 PERF_END(NULL, "BDS", NULL, 0); 638 639 DEBUG((DEBUG_INFO, "BdsLibBootViaBootOption: BootCurrent=0x%x OptionName=%s Description=%s StatusString=%s Attribute=0x%x LoadOptionsSize=0x%x\n", 640 Option->BootCurrent, Option->OptionName, Option->Description, Option->StatusString, Option->Attribute, Option->LoadOptionsSize)); 638 641 639 642 *ExitDataSize = 0; -
trunk/src/VBox/Devices/EFI/Firmware/MdePkg/Include/Library/DebugLib.h
r48730 r48747 477 477 CHAR16 *VBoxDebugHandleDevicePath2Str(IN EFI_HANDLE hHandle); 478 478 # endif 479 /** See RT_XSTR */ 480 # define VBOX_XSTR(str) VBOX_STR(str) 481 /** See RT_STR */ 482 # define VBOX_STR(str) #str 479 483 # if defined(EFI_LOG_ENABLED) 480 # define VBoxLogFlowFuncEnter() DEBUG((DEBUG_INFO, "ENTER:%a:%d\n", __FUNCTION__, __LINE__)) 481 # define VBoxLogFlowFuncLeave() DEBUG((DEBUG_INFO, "LEAVE:%a:%d\n", __FUNCTION__, __LINE__)) 482 # define VBoxLogFlowFuncLeaveRC(rc) DEBUG((DEBUG_INFO, "LEAVE:%a:%d rc(%r)\n", __FUNCTION__, __LINE__, (rc))) 483 # define VBoxLogFlowFuncMark() DEBUG((DEBUG_INFO, "%a:%d\n", __FUNCTION__, __LINE__)) 484 # define VBoxLogFlowFuncMarkRC(rc) DEBUG((DEBUG_INFO, "%a:%d " #rc ":%r \n", __FUNCTION__, __LINE__, (rc))) 485 # define VBoxLogFlowFuncMarkVar(var, var_printf_glag) DEBUG((DEBUG_INFO, "%a:%d " #var ": " var_printf_glag " \n", __FUNCTION__, __LINE__, (var))) 486 # define VBoxLogFlowFuncMarkDP(dp) DEBUG((DEBUG_INFO, "%a:%d " #dp ": \n", __FUNCTION__, __LINE__, VBoxDebugDevicePath2Str(dp))) 487 # define VBoxLogFlowFuncMarkHandleDP(dp) DEBUG((DEBUG_INFO, "%a:%d " #dp ": \n", __FUNCTION__, __LINE__, VBoxDebugHandleDevicePath2Str(dp))) 484 # define VBoxLogFlowFuncEnter() DEBUG((DEBUG_INFO, "%a:" VBOX_XSTR(__LINE__) ": ENTER\n", __FUNCTION__)) 485 # define VBoxLogFlowFuncLeave() DEBUG((DEBUG_INFO, "%a:" VBOX_XSTR(__LINE__) ": LEAVE\n", __FUNCTION__)) 486 # define VBoxLogFlowFuncLeaveRC(rc) DEBUG((DEBUG_INFO, "%a:" VBOX_XSTR(__LINE__) ": LEAVE " #rc "=%r\n", \ 487 __FUNCTION__, rc)) 488 # define VBoxLogFlowFuncMark() DEBUG((DEBUG_INFO, "%a:" VBOX_XSTR(__LINE__) "\n", __FUNCTION__)) 489 # define VBoxLogFlowFuncMarkRC(rc) DEBUG((DEBUG_INFO, "%a:" VBOX_XSTR(__LINE__) ": " #rc "=%r\n", __FUNCTION__, rc)) 490 # define VBoxLogFlowFuncMarkVar(var, varfmt) \ 491 DEBUG((DEBUG_INFO, "%a:" VBOX_XSTR(__LINE__) " " #var "=" varfmt "\n", __FUNCTION__, (var))) 492 # define VBoxLogFlowFuncMarkDP(dp) DEBUG((DEBUG_INFO, "%a:" VBOX_XSTR(__LINE__) ": " #dp "=%s\n", \ 493 __FUNCTION__, VBoxDebugDevicePath2Str(dp))) 494 # define VBoxLogFlowFuncMarkHandleDP(dp) DEBUG((DEBUG_INFO, "%a:" VBOX_XSTR(__LINE__) ": " #dp "=%s\n", \ 495 __FUNCTION__, VBoxDebugHandleDevicePath2Str(dp))) 488 496 # else 489 # define VBoxLogFlowFuncEnter() do {} while (0)490 # define VBoxLogFlowFuncLeave() do {} while (0)491 # define VBoxLogFlowFuncLeaveRC(rc) do {} while (0)492 # define VBoxLogFlowFuncMark() do {} while (0)493 # define VBoxLogFlowFuncMarkRC(rc) do {} while (0)494 # define VBoxLogFlowFuncMarkVar(var, var _printf_flag)do {} while (0)495 # define VBoxLogFlowFuncMarkDP(dp) do {} while (0)496 # define VBoxLogLogFlowFuncMarkHandleDP(dp) do {} while (0)497 # define VBoxLogFlowFuncEnter() do {} while (0) 498 # define VBoxLogFlowFuncLeave() do {} while (0) 499 # define VBoxLogFlowFuncLeaveRC(rc) do {} while (0) 500 # define VBoxLogFlowFuncMark() do {} while (0) 501 # define VBoxLogFlowFuncMarkRC(rc) do {} while (0) 502 # define VBoxLogFlowFuncMarkVar(var, varfmt) do {} while (0) 503 # define VBoxLogFlowFuncMarkDP(dp) do {} while (0) 504 # define VBoxLogLogFlowFuncMarkHandleDP(dp) do {} while (0) 497 505 # endif 498 506 #endif
Note:
See TracChangeset
for help on using the changeset viewer.