X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=palacios%2Fsrc%2Fgeekos%2Firq.c;fp=palacios%2Fsrc%2Fgeekos%2Firq.c;h=a98c3adaf422d140bb582424a918fd4090b410f0;hb=28b1d0ae6db40cb3e1f5a9b3596b625d2f2af0e4;hp=24c5104b866b106327c868b810c3512fe455e325;hpb=ace8f0532fa5650c6642a3a7174f3aa19b09095a;p=palacios.releases.git diff --git a/palacios/src/geekos/irq.c b/palacios/src/geekos/irq.c index 24c5104..a98c3ad 100644 --- a/palacios/src/geekos/irq.c +++ b/palacios/src/geekos/irq.c @@ -1,7 +1,7 @@ /* * This is the device-driver interface to the interrupt system. * Copyright (c) 2001,2003 David H. Hovemeyer - * $Revision: 1.1 $ + * $Revision: 1.2 $ * * This is free software. You are permitted to use, * redistribute, and modify it as specified in the file "COPYING". @@ -119,6 +119,11 @@ void Begin_IRQ(struct Interrupt_State* state) void End_IRQ(struct Interrupt_State* state) { int irq = state->intNum - FIRST_EXTERNAL_INT; + End_IRQ_num(irq); +} + + +void End_IRQ_num(int irq) { uchar_t command = 0x60 | (irq & 0x7); if (irq < 8) {