m1n1.hw.uat: Document attribute indexes

Signed-off-by: Asahi Lina <lina@asahilina.net>
This commit is contained in:
Asahi Lina 2022-10-15 21:36:37 +09:00 committed by Hector Martin
parent 6a0008884d
commit b04cc0c7c8

View file

@ -18,13 +18,21 @@ import traceback
__all__ = []
class MemoryAttr(IntEnum):
# ff = Normal, Outer Writeback RW, Inner Writeback RW
Normal = 0 # Only accessed by the gfx-asc coprocessor
# 00 = Device nGnRnE
Device = 1
# f4 = Normal, Outer Writeback RW, Inner NC
Shared = 2 # Probally Outer-shareable. Shared with either the main cpu or AGX hardware
# 4f = Normal, Outer NC, Inner Writeback RW
UNK3 = 3
# 00 = Device nGnRnE
UNK4 = 4
# ff = Normal, Outer Writeback RW, Inner Writeback RW
UNK5 = 5
# 00 = Device nGnRnE
UNK6 = 6
# 00 = Device nGnRnE
UNK7 = 7