- Timestamp:
- Oct 5, 2020 5:25:53 PM (4 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/vmm/vmm.h
r85121 r86452 470 470 VMMR0_INT_DECL(void) VMMR0ThreadCtxHookDisable(PVMCPUCC pVCpu); 471 471 VMMR0_INT_DECL(bool) VMMR0ThreadCtxHookIsEnabled(PVMCPUCC pVCpu); 472 VMMR0_INT_DECL(PRTLOGGER) VMMR0GetReleaseLogger(PVMCPUCC pVCpu); 472 473 473 474 # ifdef LOG_ENABLED -
trunk/src/VBox/VMM/VMMR0/VMMR0.cpp
r85187 r86452 1058 1058 1059 1059 1060 /** 1061 * Returns the ring-0 release logger instance. 1062 * 1063 * @returns Pointer to release logger, NULL if not configured. 1064 * @param pVCpu The cross context virtual CPU structure of the caller. 1065 * @thread EMT(pVCpu) 1066 */ 1067 VMMR0_INT_DECL(PRTLOGGER) VMMR0GetReleaseLogger(PVMCPUCC pVCpu) 1068 { 1069 PVMMR0LOGGER pLogger = pVCpu->vmm.s.pR0RelLoggerR0; 1070 if (pLogger) 1071 return &pLogger->Logger; 1072 return NULL; 1073 } 1074 1075 1060 1076 #ifdef VBOX_WITH_STATISTICS 1061 1077 /**
Note:
See TracChangeset
for help on using the changeset viewer.