summaryrefslogtreecommitdiff
path: root/grlib.c
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2022-10-26 08:00:42 +0200
committerJiri Gaisler <jiri@gaisler.se>2022-10-26 08:49:36 +0200
commit3229549f42030fd3eceeaaf0a054cf9328f252a1 (patch)
treef06d902534c0323ae3b0fb3c80575831924f264b /grlib.c
parent184980dd70acc1c873411c739877a47e59000b0f (diff)
Add -extirq option to support simulating the UT700
Diffstat (limited to 'grlib.c')
-rw-r--r--grlib.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/grlib.c b/grlib.c
index 1e03d26..c2d2acf 100644
--- a/grlib.c
+++ b/grlib.c
@@ -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)