MemoryAllocationFlags.cs 750 B

12345678910111213141516171819202122232425262728
  1. using System;
  2. namespace Ryujinx.Memory
  3. {
  4. /// <summary>
  5. /// Flags that controls allocation and other properties of the memory block memory.
  6. /// </summary>
  7. [Flags]
  8. public enum MemoryAllocationFlags
  9. {
  10. /// <summary>
  11. /// No special allocation settings.
  12. /// </summary>
  13. None = 0,
  14. /// <summary>
  15. /// Reserve a region of memory on the process address space,
  16. /// without actually allocation any backing memory.
  17. /// </summary>
  18. Reserve = 1 << 0,
  19. /// <summary>
  20. /// Enables read and write tracking of the memory block.
  21. /// This currently does nothing and is reserved for future use.
  22. /// </summary>
  23. Tracked = 1 << 1
  24. }
  25. }