MemoryMapFlags.cs 642 B

1234567891011121314151617181920212223
  1. using System;
  2. namespace Ryujinx.Memory
  3. {
  4. /// <summary>
  5. /// Flags that indicate how the host memory should be mapped.
  6. /// </summary>
  7. [Flags]
  8. public enum MemoryMapFlags
  9. {
  10. /// <summary>
  11. /// No mapping flags.
  12. /// </summary>
  13. None = 0,
  14. /// <summary>
  15. /// Indicates that the implementation is free to ignore the specified backing memory offset
  16. /// and allocate its own private storage for the mapping.
  17. /// This allows some mappings that would otherwise fail due to host platform restrictions to succeed.
  18. /// </summary>
  19. Private = 1 << 0
  20. }
  21. }