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