dostunnel
diff src/timer.c @ 4:ba868d348de8
stuff
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Sat, 16 Mar 2013 06:39:52 +0200 |
parents | a8024271c662 |
children |
line diff
1.1 --- a/src/timer.c Sat Mar 16 03:35:08 2013 +0200 1.2 +++ b/src/timer.c Sat Mar 16 06:39:52 2013 +0200 1.3 @@ -122,9 +122,10 @@ 1.4 * do it if I am to call the previous function 1.5 */ 1.6 dos_ticks = 0; 1.7 - _chain_intr(prev_timer_intr); /* DOES NOT RETURN */ 1.8 - } else { 1.9 - /* send EOI to the PIC */ 1.10 - outp(PIC1_CMD, OCW2_EOI); 1.11 + _chain_intr(prev_timer_intr); /* XXX DOES NOT RETURN */ 1.12 + return; /* just for clarity */ 1.13 } 1.14 + 1.15 + /* send EOI to the PIC */ 1.16 + outp(PIC1_CMD, OCW2_EOI); 1.17 }