Changes

Jump to navigation Jump to search
253 bytes added ,  22:23, 27 December 2015
no edit summary
Line 294: Line 294:  
The interrupt data pointer is a pointer to the object that handles that interrupt.  The first first word in the object is a pointer to the object's vtable and the first function in the vtable is the interrupt handler for that interrupt number.  When an interrupt runs, the function is passed its object in r0 and the interrupt number in r1.
 
The interrupt data pointer is a pointer to the object that handles that interrupt.  The first first word in the object is a pointer to the object's vtable and the first function in the vtable is the interrupt handler for that interrupt number.  When an interrupt runs, the function is passed its object in r0 and the interrupt number in r1.
   −
= Interrupt Table =
+
= Interrupt Table (New3DS) =
(0xFFF308EC in 10.x)
+
(0xFFF318F4 in 10.3)
 
      
{| class="wikitable" border="1"
 
{| class="wikitable" border="1"
Line 303: Line 302:  
!  Description
 
!  Description
 
|-
 
|-
|  
+
| 0x0
|  
+
| InterruptEvent[224]
|  
+
| Table of interrupt event objects for all hardware and software interrupts
 +
|-
 +
| 0x700
 +
| KThread*
 +
| Thread currently acting on the interrupt table
 +
|-
 +
| 0x704
 +
| s16
 +
| Error tracker for thread above
 +
|-
 +
| 0x706
 +
| u16
 +
| Alignment
 
|}
 
|}
374

edits

Navigation menu