KEventInfo: Difference between revisions

No edit summary
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 35: Line 35:
|-
|-
| 0xE
| 0xE
| u8
| bool
| "Other" flag for ATTACH PROCESS events, 0 in all observed cases
| Ignore continue
|-
|-
| 0xF
| 0xF
Line 105: Line 105:
|}
|}


For UNDEFINED INSTRUCTION/PREFETCH ABORT/DATA ABORT/UNALIGNED DATA ACCESS/UNDEFINED SYSCALL/STOP POINT:
==== UNDEFINED INSTRUCTION/PREFETCH ABORT/DATA ABORT/UNALIGNED DATA ACCESS/UNDEFINED SYSCALL/STOP POINT events ====
{| class="wikitable" border="1"
{| class="wikitable" border="1"
!  Type
!  Type
Line 118: Line 118:
|}
|}


For USER BREAK:
==== USER BREAK event ====
{| class="wikitable" border="1"
{| class="wikitable" border="1"
!  Type
!  Type
Line 130: Line 130:
|}
|}


For DEBUGGER BREAK:
==== DEBUGGER BREAK event ====
{| class="wikitable" border="1"
{| class="wikitable" border="1"
!  Type
!  Type
!  Field
!  Field
|-
|-
| [[KThread]]*[nbCores]
| s32[4]
| Pointers to the current threads at the time svcBreakDebugProcess was called
| IDs of the attached process's threads that were running on each core at the time of the @ref svcBreakDebugProcess call, or -1 (only the first 2 values are meaningful on O3DS).
|}
|}


=== SCHEDULE/SYSCALL IN/OUT events ===
=== SCHEDULE IN/OUT events ===


{| class="wikitable" border="1"
{| class="wikitable" border="1"
Line 149: Line 149:
|-
|-
| u32
| u32
| CPU ID (SCHEDULE events) / syscall (SYSCALL events)
| CPU ID
|-
|-
| u32[5]
| u32[5]
Line 156: Line 156:
| u32 (?)
| u32 (?)
| Event info, apparently 0
| Event info, apparently 0
|}
=== SYSCALL IN/OUT events ===
{| class="wikitable" border="1"
!  Type
!  Field
|-
| u64
| Clock tick
|-
| u32
| Syscall ID
|}
|}