By entering this site you need to consent to the use of cookies and their functional use according to this privacy policy. Cookies help us to provide the functional services of the website. Kindly read the below message of use and consent to the use.
The following cookies are stored and shared when accessing this website:
- Internal cookies for the MediaWiki site. This is used for user authentication and article modifications.
- Third-party cookies from Google providing services for Google AdSense and Google Analytics
We will never use data collected outside of the above scope.
| Pointer to interrupt data object for interrupt number
+
| Pointer to the InterruptEvent object for that interrupt
|-
|-
| 0x4
| 0x4
| u8
| u8
−
| Interrupt is pending
+
| Interrupt will be masked by the IRQ handler as soon as it is acknowledged
|-
|-
| 0x5
| 0x5
| u8
| u8
−
| Interrupt is enabled, about to execute
+
| Interrupt is masked
|-
|-
| 0x6
| 0x6
Line 301:
Line 301:
| Unused, alignment
| Unused, alignment
|}
|}
−
−
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 (New3DS) =
= Interrupt Table (New3DS) =
Line 313:
Line 311:
|-
|-
| 0x0
| 0x0
−
| InterruptEvent[224]
+
| InterruptData[224]
−
| Table of interrupt event objects for all hardware and software interrupts
+
| Data for all hardware and software interrupts
|-
|-
| 0x700
| 0x700
Line 331:
Line 329:
= InterruptEvent =
= InterruptEvent =
−
{| class="wikitable" border="1"
+
−
|-
+
Base class for interrupt events.
−
! Offset
+
−
! Type
+
The kernel uses the [[KInterruptEvent|KInterruptEvent]] field of a [[KEvent|KEvent]] when binding public interrupts per svcBindInterrupt request, whereas it internally uses a static object of another subclass to bind interrupt 0x0F (FIQ abstraction).
−
! Description
+
−
|-
+
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.