Changeset 75275 in vbox
- Timestamp:
- Nov 6, 2018 11:17:30 AM (6 years ago)
- svn:sync-xref-src-repo-rev:
- 126377
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r0drv/nt/dbgkrnlinfo-r0drv-nt.cpp
r73097 r75275 144 144 /** Pointer to MmGetSystemRoutineAddress. 145 145 * @note Added in NT v5.0. */ 146 #ifdef IPRT_TARGET_NT4147 146 static decltype(MmGetSystemRoutineAddress) *g_pfnMmGetSystemRoutineAddress = NULL; 148 #else149 static decltype(MmGetSystemRoutineAddress) *g_pfnMmGetSystemRoutineAddress = MmGetSystemRoutineAddress;150 #endif151 147 /** Info about the ntoskrnl.exe mapping. */ 152 148 static RTDBGNTKRNLMODINFO g_NtOsKrnlInfo = { "ntoskrnl.exe", NULL, NULL, false, 0, 0, 0, 0, 0, NULL, 0, 0, NULL, NULL }; … … 348 344 { 349 345 RTR0DBG_NT_DEBUG_LOG(("rtR0DbgKrnlNtInit: pModInfo=%p\n", pModInfo)); 346 347 #ifndef IPRT_TARGET_NT4 348 /* 349 * Must manually initialize g_pfnMmGetSystemRoutineAddress, otherwise compiler 350 * generates its own dynamic init code that might not necessarily be called. 351 */ 352 g_pfnMmGetSystemRoutineAddress = MmGetSystemRoutineAddress; 353 #endif 350 354 351 355 /*
Note:
See TracChangeset
for help on using the changeset viewer.