Revert earlier rdtsc changes, implement fixes

This commit is contained in:
CarlTSpeak
2025-10-24 10:59:28 +01:00
parent 96169a01a8
commit 064df5b6ef
6 changed files with 14 additions and 30 deletions

View File

@@ -20,6 +20,13 @@ namespace syscalls
return STATUS_NOT_SUPPORTED;
}
if (base_address < MIN_ALLOCATION_ADDRESS || base_address >= MAX_ALLOCATION_END_EXCL)
{
if (return_length)
return_length.write(0);
return STATUS_INVALID_PARAMETER;
}
if (info_class == MemoryBasicInformation)
{
if (return_length)