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

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

        void Commit(ulong offset, ulong size);

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