aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2024-12-23 01:27:19 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2024-12-23 01:28:30 +0100
commit7cf6081e2e7db2ff84a8f4dd6f11f32dadb1665d (patch)
tree51c41e6e65b391b9c15a92b17fd900a8c7c0f02b
parentf19dd2c6953fa2a59ab53936fc2734eb53fc8c1e (diff)
downloadgnumach-7cf6081e2e7db2ff84a8f4dd6f11f32dadb1665d.tar.gz
gnumach-7cf6081e2e7db2ff84a8f4dd6f11f32dadb1665d.tar.bz2
gnumach-7cf6081e2e7db2ff84a8f4dd6f11f32dadb1665d.zip
intr: Note which interrupt is being refused to userland
-rw-r--r--device/intr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/device/intr.c b/device/intr.c
index 0ba008c8..27dfa8ec 100644
--- a/device/intr.c
+++ b/device/intr.c
@@ -215,7 +215,7 @@ install_user_intr_handler (struct irqdev *dev, int id, unsigned long flags,
/* Don't allow overriding hardclock/kdintr etc */
if ((ivect[irq] != user_irq_handler) && (ivect[irq] != intnull))
{
- printf("You can't have this interrupt\n");
+ printf("You can't have this interrupt %d:%d\n", id, irq);
return D_ALREADY_OPEN;
}