aboutsummaryrefslogtreecommitdiff
path: root/src/ARMeilleure/Memory/IJitMemoryAllocator.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/ARMeilleure/Memory/IJitMemoryAllocator.cs')
-rw-r--r--src/ARMeilleure/Memory/IJitMemoryAllocator.cs10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/ARMeilleure/Memory/IJitMemoryAllocator.cs b/src/ARMeilleure/Memory/IJitMemoryAllocator.cs
new file mode 100644
index 00000000..19b696b0
--- /dev/null
+++ b/src/ARMeilleure/Memory/IJitMemoryAllocator.cs
@@ -0,0 +1,10 @@
+namespace ARMeilleure.Memory
+{
+ public interface IJitMemoryAllocator
+ {
+ IJitMemoryBlock Allocate(ulong size);
+ IJitMemoryBlock Reserve(ulong size);
+
+ ulong GetPageSize();
+ }
+}