aboutsummaryrefslogtreecommitdiff
path: root/ARMeilleure/Memory/IJitMemoryBlock.cs
blob: 670f2862da1452c9411293606e0a010376ebd35b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
using System;

namespace ARMeilleure.Memory
{
    public interface IJitMemoryBlock : IDisposable
    {
        IntPtr Pointer { get; }

        bool Commit(ulong offset, ulong size);

        void MapAsRx(ulong offset, ulong size);
        void MapAsRwx(ulong offset, ulong size);
    }
}