RegionFlags.cs 608 B

123456789101112131415161718192021
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. namespace Ryujinx.Memory.Tracking
  7. {
  8. [Flags]
  9. public enum RegionFlags
  10. {
  11. None = 0,
  12. /// <summary>
  13. /// Access to the resource is expected to occasionally be unaligned.
  14. /// With some memory managers, guest protection must extend into the previous page to cover unaligned access.
  15. /// If this is not expected, protection is not altered, which can avoid unintended resource dirty/flush.
  16. /// </summary>
  17. UnalignedAccess = 1,
  18. }
  19. }