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
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
[[Category:Kernel objects]]
+
[[Category:Kernel interrupt events]]
class [[KTLBOperationsInterruptEvent]] extends [[ARM11_Interrupts#InterruptEvent|InterruptEvent]];
+
class [[KTLBOperationsInterruptEvent]] extends [[KBaseInterruptEvent]]
  
 
There is one instance of this object per core.
 
There is one instance of this object per core.
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>
 
|}
 
|}

Latest revision as of 01:30, 5 December 2016

class KTLBOperationsInterruptEvent extends KBaseInterruptEvent

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>