Changeset View
Changeset View
Standalone View
Standalone View
emulators/virtualbox-ose/files/patch-src_VBox_VMM_VMMR0_GVMMR0.cpp
--- src/VBox/VMM/VMMR0/GVMMR0.cpp.orig 2018-01-15 14:56:33.000000000 +0000 | --- src/VBox/VMM/VMMR0/GVMMR0.cpp.orig 2020-05-13 19:44:47 UTC | ||||
+++ src/VBox/VMM/VMMR0/GVMMR0.cpp 2018-01-17 01:13:24.832105000 +0000 | +++ src/VBox/VMM/VMMR0/GVMMR0.cpp | ||||
@@ -1243,7 +1243,7 @@ static void gvmmR0CleanupVM(PGVM pGVM) | @@ -1243,7 +1243,7 @@ static void gvmmR0CleanupVM(PGVM pGVM) | ||||
GMMR0CleanupVM(pGVM); | GMMR0CleanupVM(pGVM); | ||||
- AssertCompile((uintptr_t)NIL_RTTHREADCTXHOOK == 0); /* Depends on zero initialized memory working for NIL at the moment. */ | - AssertCompile((uintptr_t)NIL_RTTHREADCTXHOOK == 0); /* Depends on zero initialized memory working for NIL at the moment. */ | ||||
+ AssertCompile(NIL_RTTHREADCTXHOOK == (RTTHREADCTXHOOK)0); /* Depends on zero initialized memory working for NIL at the moment. */ | + AssertCompile(NIL_RTTHREADCTXHOOK == (RTTHREADCTXHOOK)0); /* Depends on zero initialized memory working for NIL at the moment. */ | ||||
for (VMCPUID idCpu = 0; idCpu < pGVM->cCpus; idCpu++) | for (VMCPUID idCpu = 0; idCpu < pGVM->cCpus; idCpu++) | ||||
{ | { | ||||
/** @todo Can we busy wait here for all thread-context hooks to be | /** @todo Can we busy wait here for all thread-context hooks to be |