Architecture dependent routines for virtual memory. More...
#include "./api.h"
#include <cstddef>
Go to the source code of this file.
Namespaces | |
namespace | pxr |
Enumerations | |
enum | pxr::ArchMemoryProtection { pxr::ArchProtectNoAccess , pxr::ArchProtectReadOnly , pxr::ArchProtectReadWrite , pxr::ArchProtectReadWriteCopy } |
Memory protection options, see ArchSetMemoryProtection(). More... | |
Functions | |
ARCH_API void * | pxr::ArchReserveVirtualMemory (size_t numBytes) |
Reserve numBytes bytes of virtual memory. | |
ARCH_API bool | pxr::ArchCommitVirtualMemoryRange (void *start, size_t numBytes) |
Make the range of numBytes bytes starting at start available for reading and writing. | |
ARCH_API bool | pxr::ArchFreeVirtualMemory (void *start, size_t numBytes) |
Return memory obtained with ArchReserveVirtualMemory() to the system. | |
ARCH_API bool | pxr::ArchSetMemoryProtection (void const *start, size_t numBytes, ArchMemoryProtection protection) |
Change the memory protection on the pages containing start and start + numBytes to protection . | |
Architecture dependent routines for virtual memory.