summaryrefslogtreecommitdiffstats
path: root/zpu/hdl/zpu4/test/interrupt
diff options
context:
space:
mode:
Diffstat (limited to 'zpu/hdl/zpu4/test/interrupt')
-rw-r--r--zpu/hdl/zpu4/test/interrupt/int.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/zpu/hdl/zpu4/test/interrupt/int.c b/zpu/hdl/zpu4/test/interrupt/int.c
index 2be6483..1b6ec01 100644
--- a/zpu/hdl/zpu4/test/interrupt/int.c
+++ b/zpu/hdl/zpu4/test/interrupt/int.c
@@ -6,7 +6,10 @@
int counter;
-/* Example of single, fixed interval non-maskable, nested interrupt */
+/* Example of single, fixed interval non-maskable, nested interrupt. The interrupt signal is
+ * held high for enough cycles to guarantee that it will be noticed, i.e. longer than
+ * any io access + 4 cycles roughly.
+ */
void _zpu_interrupt(void)
{
/* interrupts are enabled so we need to finish up quickly,
OpenPOWER on IntegriCloud