#include <windows.h>
#include "hyport.h"
#include "portpriv.h"
#include "hyportpg.h"
#include "ut_hyprt.h"
Functions | |
void *VMCALL | hyvmem_commit_memory (struct HyPortLibrary *portLibrary, void *address, UDATA byteAmount, struct HyPortVmemIdentifier *identifier) |
Commit memory in virtual address space. | |
IDATA VMCALL | hyvmem_decommit_memory (struct HyPortLibrary *portLibrary, void *address, UDATA byteAmount, struct HyPortVmemIdentifier *identifier) |
Decommit memory in virtual address space. | |
I_32 VMCALL | hyvmem_free_memory (struct HyPortLibrary *portLibrary, void *address, UDATA byteAmount, struct HyPortVmemIdentifier *identifier) |
Free memory in virtual address space. | |
void *VMCALL | hyvmem_reserve_memory (struct HyPortLibrary *portLibrary, void *address, UDATA byteAmount, struct HyPortVmemIdentifier *identifier, UDATA mode, UDATA pageSize) |
Reserve memory in virtual address space. | |
void VMCALL | hyvmem_shutdown (struct HyPortLibrary *portLibrary) |
PortLibrary shutdown. | |
I_32 VMCALL | hyvmem_startup (struct HyPortLibrary *portLibrary) |
PortLibrary startup. | |
UDATA *VMCALL | hyvmem_supported_page_sizes (struct HyPortLibrary *portLibrary) |
Determine the page sizes supported. |
|
Commit memory in virtual address space.
|
|
Decommit memory in virtual address space. Decommits physical storage of the size specified starting at the address specified.
|
|
Free memory in virtual address space. Frees physical storage of the size specified starting at the address specified.
|
|
Reserve memory in virtual address space. Reserves a range of virtual address space without allocating any actual physical storage. The memory is not available for use until committed hyvmem_commit_memory. The memory may not be used by other memory allocation routines until it is explicitly released.
|
|
PortLibrary shutdown. This function is called during shutdown of the portLibrary. Any resources that were created by hyvmem_startup should be destroyed here.
|
|
PortLibrary startup. This function is called during startup of the portLibrary. Any resources that are required for the virtual memory operations may be created here. All resources created here should be destroyed in hyvmem_shutdown.
|
|
Determine the page sizes supported.
|