aboutsummaryrefslogtreecommitdiff
path: root/src/ARMeilleure/Memory/IJitMemoryBlock.cs
blob: cd49f314a2f001f3b633afa1d5e0450907e5ac31 (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; }

        void Commit(ulong offset, ulong size);

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