SVC: Difference between revisions
Page cleanup - the end |
|||
Line 324: | Line 324: | ||
| (In) X1 || uint64_t || Size | | (In) X1 || uint64_t || Size | ||
|- | |- | ||
| (In) W2 || uint32_t || | | (In) W2 || uint32_t || Mask | ||
|- | |- | ||
| (In) W3 || uint32_t || | | (In) W3 || uint32_t || Value | ||
|- | |- | ||
| (Out) W0 || [[#Result]] || Result | | (Out) W0 || [[#Result]] || Result | ||
Line 332: | Line 332: | ||
</div> | </div> | ||
Changes attribute of page-aligned memory region. | Changes attribute of page-aligned memory region. The only allowed combination of Value and Mask is 0x8, which means only bit3 in [[#MemoryAttribute]] can be set or cleared. | ||
This is used to turn on/off caching for a given memory area. Useful when talking to devices such as the GPU. | This is used to turn on/off caching for a given memory area. Useful when talking to devices such as the GPU. | ||
What happens "under the hood" is the "Memory Attribute Indirection Register" index is changed from 2 to 3 in the MMU descriptor. | What happens "under the hood" is the "Memory Attribute Indirection Register" index is changed from 2 to 3 in the MMU descriptor. | ||
== MapMemory == | == MapMemory == |