Changeset 87960 in vbox
- Timestamp:
- Mar 4, 2021 8:28:57 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Audio/DevHDA.cpp
r87950 r87960 29 29 #include <VBox/vmm/pdmdev.h> 30 30 #include <VBox/vmm/pdmaudioifs.h> 31 #ifdef HDA_DEBUG_GUEST_RIP 32 # include <VBox/vmm/cpum.h> 33 #endif 31 34 #include <VBox/version.h> 32 35 #include <VBox/AssertGuest.h> … … 2962 2965 unsigned const cbLog = cb; 2963 2966 uint32_t offRegLog = (uint32_t)off; 2967 # ifdef HDA_DEBUG_GUEST_RIP 2968 if (LogIs6Enabled()) 2969 { 2970 PVMCPU pVCpu = (PVMCPU)PDMDevHlpGetVMCPU(pDevIns); 2971 Log6Func(("cs:rip=%04x:%016RX64 rflags=%08RX32\n", CPUMGetGuestCS(pVCpu), CPUMGetGuestRIP(pVCpu), CPUMGetGuestEFlags(pVCpu))); 2972 } 2973 # endif 2964 2974 #endif 2965 2975 … … 3160 3170 #ifdef LOG_ENABLED 3161 3171 uint32_t const u32LogOldValue = idxRegDsc >= 0 ? pThis->au32Regs[idxRegMem] : UINT32_MAX; 3172 # ifdef HDA_DEBUG_GUEST_RIP 3173 if (LogIs6Enabled()) 3174 { 3175 PVMCPU pVCpu = (PVMCPU)PDMDevHlpGetVMCPU(pDevIns); 3176 Log6Func(("cs:rip=%04x:%016RX64 rflags=%08RX32\n", CPUMGetGuestCS(pVCpu), CPUMGetGuestRIP(pVCpu), CPUMGetGuestEFlags(pVCpu))); 3177 } 3178 # endif 3162 3179 #endif 3163 3180
Note:
See TracChangeset
for help on using the changeset viewer.