diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2022-10-26 08:00:42 +0200 |
---|---|---|
committer | Jiri Gaisler <jiri@gaisler.se> | 2022-10-26 08:49:36 +0200 |
commit | 3229549f42030fd3eceeaaf0a054cf9328f252a1 (patch) | |
tree | f06d902534c0323ae3b0fb3c80575831924f264b /grlib.c | |
parent | 184980dd70acc1c873411c739877a47e59000b0f (diff) |
Add -extirq option to support simulating the UT700
Diffstat (limited to 'grlib.c')
-rw-r--r-- | grlib.c | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -409,8 +409,11 @@ static uint32 irqmp_pextack[NCPU]; /* Mask with the supported interrupts */ static uint32 irqmp_mask; -/* The extended interrupt line (a zero value disables the feature) */ -int irqmp_extirq; +/* + * This is the extended interrupt line (a zero value disables the feature; + * if -1 use the default value of the CPU). + */ +int irqmp_extirq = -1; static void irqmp_init (void) |