intc: add definition for SCIF interrupt

This commit is contained in:
Lephe 2024-04-14 18:21:14 +02:00
parent 7ac2ae25f2
commit 5c3dc3220a
No known key found for this signature in database
GPG key ID: 1BBA026E13FC0495
2 changed files with 4 additions and 0 deletions

View file

@ -41,6 +41,8 @@ enum {
INTC_DMA_DEI4,
INTC_DMA_DEI5,
INTC_DMA_DADERR,
/* Serial Communication Interface with FIFO (SCIF0) */
INTC_SCIF0,
/* Real-Time Clock [RTC]; a single IPR covers all 3 interrupts */
INTC_RTC_ATI,
INTC_RTC_PRI,

View file

@ -60,6 +60,8 @@ static struct info {
{ IPRF, 0x0f00, IMR5, 0x10, _ },
{ IPRF, 0x0f00, IMR5, 0x20, _ },
{ IPRF, 0x0f00, IMR5, 0x40, _ },
/* SCIF */
{ IPRG, 0xf000, IMR5, 0x01, _ /* Driver not SH3-compatible yet */ },
/* RTC */
{ IPRK, 0xf000, IMR10, 0x04, IPRA, 0x000f },
{ IPRK, 0xf000, IMR10, 0x02, IPRA, 0x000f },