Skip to content

Commit 3d45383

Browse files
authored
Merge pull request #613 from Scrut1ny/patch-1
Add debug logging for missing PIT/AT timer
2 parents 7b8f664 + b87f8bf commit 3d45383

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

src/vmaware.hpp

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11184,9 +11184,14 @@ struct VM {
1118411184
if (found) break;
1118511185
}
1118611186

11187-
free(buffer);
11188-
SetupDiDestroyDeviceInfoList(devs);
11189-
return !found;
11187+
free(buffer);
11188+
SetupDiDestroyDeviceInfoList(devs);
11189+
11190+
if (!found) {
11191+
debug("CLOCK: PIT/AT (PNP0100) timer not found");
11192+
}
11193+
11194+
return !found;
1119011195
}
1119111196
// ADD NEW TECHNIQUE FUNCTION HERE
1119211197
#endif

0 commit comments

Comments
 (0)