summaryrefslogtreecommitdiffstats
path: root/private/mvdm/inc/memapi.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--private/mvdm/inc/memapi.h82
1 files changed, 82 insertions, 0 deletions
diff --git a/private/mvdm/inc/memapi.h b/private/mvdm/inc/memapi.h
new file mode 100644
index 000000000..62b01cac9
--- /dev/null
+++ b/private/mvdm/inc/memapi.h
@@ -0,0 +1,82 @@
+/*++
+
+Copyright (c) 1992 Microsoft Corporation
+
+Module Name:
+
+ memapi.h
+
+Abstract:
+
+ This header defines the function prototypes for the memory
+ manipulation routines in the 486 emulator.
+
+Author:
+
+ Neil Sandlin (neilsa)
+
+Notes:
+
+
+Revision History:
+
+
+--*/
+
+NTSTATUS
+VdmAllocateVirtualMemory(
+ PULONG Address,
+ ULONG Size,
+ BOOLEAN Commit
+ );
+
+NTSTATUS
+VdmFreeVirtualMemory(
+ ULONG Address
+ );
+
+NTSTATUS
+VdmCommitVirtualMemory(
+ ULONG Address,
+ ULONG Size
+ );
+
+NTSTATUS
+VdmDeCommitVirtualMemory(
+ ULONG Address,
+ ULONG Size
+ );
+
+NTSTATUS
+VdmQueryFreeVirtualMemory(
+ PULONG FreeBytes,
+ PULONG LargestFreeBlock
+ );
+
+NTSTATUS
+VdmReallocateVirtualMemory(
+ ULONG OldAddress,
+ PULONG NewAddress,
+ ULONG NewSize
+ );
+
+NTSTATUS
+VdmAddVirtualMemory(
+ ULONG HostAddress,
+ ULONG Size,
+ PULONG IntelAddress
+ );
+
+NTSTATUS
+VdmRemoveVirtualMemory(
+ ULONG IntelAddress
+ );
+
+
+BOOL
+VdmAddDescriptorMapping(
+ USHORT SelectorStart,
+ USHORT SelectorCount,
+ ULONG LdtBase,
+ ULONG Flat
+ );