mirror of
https://github.com/daeken/Zookeeper.git
synced 2025-04-02 10:52:54 -04:00
36 lines
898 B
C++
36 lines
898 B
C++
#pragma once
|
|
#include "Kernel.hpp"
|
|
|
|
void NTAPI kernel_MmPersistContiguousMemory(
|
|
IN PVOID BaseAddress,
|
|
IN ULONG NumberOfBytes,
|
|
IN BOOLEAN Persist
|
|
);
|
|
void * NTAPI kernel_MmAllocateContiguousMemory(uint32_t NumberOfBytes);
|
|
void * NTAPI kernel_MmAllocateContiguousMemoryEx(
|
|
uint32_t NumberOfBytes,
|
|
uint32_t low, uint32_t high,
|
|
uint32_t unk, uint32_t flags
|
|
);
|
|
|
|
NTSTATUS NTAPI kernel_NtAllocateVirtualMemory(
|
|
void **BaseAddress,
|
|
uint32_t *ZeroBits,
|
|
size_t *RegionSize,
|
|
uint32_t AllocationType,
|
|
uint32_t Protect
|
|
);
|
|
|
|
NTSTATUS NTAPI kernel_NtFreeVirtualMemory(
|
|
void **BaseAddress,
|
|
uint32_t *FreeSize,
|
|
uint32_t FreeType
|
|
);
|
|
|
|
uint32_t NTAPI kernel_MmQueryAllocationSize(void *base);
|
|
uint32_t NTAPI kernel_MmQueryAddressProtect(void *base);
|
|
|
|
uint32_t NTAPI kernel_MmClaimGpuInstanceMemory(
|
|
uint32_t NumberOfBytes,
|
|
uint32_t *NumberOfPaddingBytes
|
|
);
|