aboutsummaryrefslogtreecommitdiff
path: root/ChocolArm64/Memory/AMemoryMapInfo.cs
diff options
context:
space:
mode:
Diffstat (limited to 'ChocolArm64/Memory/AMemoryMapInfo.cs')
-rw-r--r--ChocolArm64/Memory/AMemoryMapInfo.cs21
1 files changed, 21 insertions, 0 deletions
diff --git a/ChocolArm64/Memory/AMemoryMapInfo.cs b/ChocolArm64/Memory/AMemoryMapInfo.cs
new file mode 100644
index 00000000..44b2cc07
--- /dev/null
+++ b/ChocolArm64/Memory/AMemoryMapInfo.cs
@@ -0,0 +1,21 @@
+namespace ChocolArm64.Memory
+{
+ public struct AMemoryMapInfo
+ {
+ public long Position { get; private set; }
+ public long Size { get; private set; }
+ public int Type { get; private set; }
+ public int Attr { get; private set; }
+
+ public AMemoryPerm Perm { get; private set; }
+
+ public AMemoryMapInfo(long Position, long Size, int Type, int Attr, AMemoryPerm Perm)
+ {
+ this.Position = Position;
+ this.Size = Size;
+ this.Type = Type;
+ this.Attr = Attr;
+ this.Perm = Perm;
+ }
+ }
+} \ No newline at end of file