Difference between revisions of "KTLBOperationsInterruptEvent"

From 3dbrew
Jump to navigation Jump to search
(Created page with "Category:Kernel objects class KTLBOperationsInterruptEvent extends InterruptEvent; There is one instance of this object per core....")
 
m
Line 40: Line 40:
 
|-
 
|-
 
| 1
 
| 1
| Invalidate unified TLB on context ID match
+
| Invalidate unified TLB entries on context ID match
 
|-
 
|-
 
| 2
 
| 2
Line 46: Line 46:
 
|-
 
|-
 
| 3
 
| 3
| Invalidate unified TLB on VA match
+
| Invalidate unified TLB entries on VA match
 
|-
 
|-
 
| 4
 
| 4
 
| Reset context: sets the context ID to 0 and TTB0 to <end of userland memory>
 
| Reset context: sets the context ID to 0 and TTB0 to <end of userland memory>
 
|}
 
|}

Revision as of 19:40, 20 November 2016

class KTLBOperationsInterruptEvent extends InterruptEvent;

There is one instance of this object per core.

Size : 0x10 bytes

Offset Type Description
0x0 void ** Pointer to vtable
0x4 KProcessHwInfo* Context info (for operation 1)
0x8 void * Virtual address (for operation 2)
0xC u32 Current operation

Possible operations (any other value leads to a kernel panic):

Operation Description
0 No operation (when an operation is completed, the interrupt handler sets this value)
1 Invalidate unified TLB entries on context ID match
2 Invalidate entire unified TLB
3 Invalidate unified TLB entries on VA match
4 Reset context: sets the context ID to 0 and TTB0 to <end of userland memory>