Revision 80f515e6 hw/sh7750_regs.h

b/hw/sh7750_regs.h
1241 1241
#define SH7750_ICR_IRLM_RAW   0x0080	/*   IRL\ pins used as a four independent
1242 1242
					   interrupt requests */
1243 1243

  
1244
/* Interrupt Priority Register A - IPRA (half) */
1245
#define SH7750_IPRA_REGOFS    0xD00004	/* offset */
1246
#define SH7750_IPRA           SH7750_P4_REG32(SH7750_IPRA_REGOFS)
1247
#define SH7750_IPRA_A7        SH7750_A7_REG32(SH7750_IPRA_REGOFS)
1248

  
1249
#define SH7750_IPRA_TMU0      0xF000	/* TMU0 interrupt priority */
1250
#define SH7750_IPRA_TMU0_S    12
1251
#define SH7750_IPRA_TMU1      0x0F00	/* TMU1 interrupt priority */
1252
#define SH7750_IPRA_TMU1_S    8
1253
#define SH7750_IPRA_TMU2      0x00F0	/* TMU2 interrupt priority */
1254
#define SH7750_IPRA_TMU2_S    4
1255
#define SH7750_IPRA_RTC       0x000F	/* RTC interrupt priority */
1256
#define SH7750_IPRA_RTC_S     0
1257

  
1258
/* Interrupt Priority Register B - IPRB (half) */
1259
#define SH7750_IPRB_REGOFS    0xD00008	/* offset */
1260
#define SH7750_IPRB           SH7750_P4_REG32(SH7750_IPRB_REGOFS)
1261
#define SH7750_IPRB_A7        SH7750_A7_REG32(SH7750_IPRB_REGOFS)
1262

  
1263
#define SH7750_IPRB_WDT       0xF000	/* WDT interrupt priority */
1264
#define SH7750_IPRB_WDT_S     12
1265
#define SH7750_IPRB_REF       0x0F00	/* Memory Refresh unit interrupt
1266
					   priority */
1267
#define SH7750_IPRB_REF_S     8
1268
#define SH7750_IPRB_SCI1      0x00F0	/* SCI1 interrupt priority */
1269
#define SH7750_IPRB_SCI1_S    4
1270

  
1271
/* Interrupt Priority Register ? - IPR? (half) */
1272
#define SH7750_IPRC_REGOFS    0xD00004	/* offset */
1273
#define SH7750_IPRC           SH7750_P4_REG32(SH7750_IPRC_REGOFS)
1274
#define SH7750_IPRC_A7        SH7750_A7_REG32(SH7750_IPRC_REGOFS)
1275

  
1276
#define SH7750_IPRC_GPIO      0xF000	/* GPIO interrupt priority */
1277
#define SH7750_IPRC_GPIO_S    12
1278
#define SH7750_IPRC_DMAC      0x0F00	/* DMAC interrupt priority */
1279
#define SH7750_IPRC_DMAC_S    8
1280
#define SH7750_IPRC_SCIF      0x00F0	/* SCIF interrupt priority */
1281
#define SH7750_IPRC_SCIF_S    4
1282
#define SH7750_IPRC_HUDI      0x000F	/* H-UDI interrupt priority */
1283
#define SH7750_IPRC_HUDI_S    0
1284

  
1285

  
1286 1244
/*
1287 1245
 * User Break Controller registers
1288 1246
 */

Also available in: Unified diff