KMemoryInfo.cs 1.1 KB

123456789101112131415161718192021222324252627282930313233
  1. namespace Ryujinx.HLE.HOS.Kernel.Memory
  2. {
  3. class KMemoryInfo
  4. {
  5. public ulong Address { get; private set; }
  6. public ulong 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. ulong address,
  14. ulong size,
  15. MemoryState state,
  16. MemoryPermission permission,
  17. MemoryAttribute attribute,
  18. int ipcRefCount,
  19. int deviceRefCount)
  20. {
  21. Address = address;
  22. Size = size;
  23. State = state;
  24. Attribute = attribute;
  25. Permission = permission;
  26. IpcRefCount = ipcRefCount;
  27. DeviceRefCount = deviceRefCount;
  28. }
  29. }
  30. }