8#ifndef PXR_ARCH_VIRTUAL_MEMORY_H
9#define PXR_ARCH_VIRTUAL_MEMORY_H
ARCH_API bool ArchCommitVirtualMemoryRange(void *start, size_t numBytes)
Make the range of numBytes bytes starting at start available for reading and writing.
ARCH_API void * ArchReserveVirtualMemory(size_t numBytes)
Reserve numBytes bytes of virtual memory.
ARCH_API bool ArchFreeVirtualMemory(void *start, size_t numBytes)
Return memory obtained with ArchReserveVirtualMemory() to the system.
ARCH_API bool ArchSetMemoryProtection(void const *start, size_t numBytes, ArchMemoryProtection protection)
Change the memory protection on the pages containing start and start + numBytes to protection.
ArchMemoryProtection
Memory protection options, see ArchSetMemoryProtection().
Definition virtualMemory.h:43
@ ArchProtectNoAccess
Definition virtualMemory.h:44
@ ArchProtectReadOnly
Definition virtualMemory.h:45
@ ArchProtectReadWriteCopy
Definition virtualMemory.h:47
@ ArchProtectReadWrite
Definition virtualMemory.h:46