KMemoryInfo.cs 1.1 KB

123456789101112131415161718192021222324252627282930313233
  1. namespace Ryujinx.HLE.HOS.Kernel
  2. {
  3. class KMemoryInfo
  4. {
  5. public long Position { get; private set; }
  6. public long Size { get; private set; }
  7. public MemoryState State { get; private set; }
  8. public MemoryPermission Permission { get; private set; }
  9. public MemoryAttribute Attribute { get; private set; }
  10. public int IpcRefCount { get; private set; }
  11. public int DeviceRefCount { get; private set; }
  12. public KMemoryInfo(
  13. long Position,
  14. long Size,
  15. MemoryState State,
  16. MemoryPermission Permission,
  17. MemoryAttribute Attribute,
  18. int IpcRefCount,
  19. int DeviceRefCount)
  20. {
  21. this.Position = Position;
  22. this.Size = Size;
  23. this.State = State;
  24. this.Attribute = Attribute;
  25. this.Permission = Permission;
  26. this.IpcRefCount = IpcRefCount;
  27. this.DeviceRefCount = DeviceRefCount;
  28. }
  29. }
  30. }