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