[Kernel] Moved kernel memory allocation to proper location.

- Moved few globals to kernel memory range to prevent overuse of SystemHeapAlloc
This commit is contained in:
Gliniak
2026-06-22 21:32:42 +02:00
committed by Radosław Gliński
parent 0f281b6cb6
commit 9c8e34b29e
3 changed files with 45 additions and 45 deletions

View File

@@ -1276,8 +1276,7 @@ XE_COLD
uint32_t KernelState::CreateKeTimestampBundle() {
auto crit = global_critical_region::Acquire();
uint32_t pKeTimeStampBundle =
memory_->SystemHeapAlloc(sizeof(X_TIME_STAMP_BUNDLE));
const uint32_t pKeTimeStampBundle = 0x80240EE0;
X_TIME_STAMP_BUNDLE* lpKeTimeStampBundle =
memory_->TranslateVirtual<X_TIME_STAMP_BUNDLE*>(pKeTimeStampBundle);