Skip to content

Commit

Permalink
try
Browse files Browse the repository at this point in the history
  • Loading branch information
joncampbell123 committed Mar 18, 2018
1 parent fa8881e commit 577c3b2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tool/remctl/serial/remsrv.c
Original file line number Diff line number Diff line change
Expand Up @@ -353,12 +353,13 @@ static void interrupt uart_irq() {
/* clear interrupts, just in case. NTS: the nature of interrupt handlers
* on the x86 platform (IF in EFLAGS) ensures interrupts will be reenabled on exit */
_cli();
irq_uart_handle_iir(uart);

/* ack PIC */
if (uart->irq >= 8) p8259_OCW2(8,P8259_OCW2_NON_SPECIFIC_EOI);
p8259_OCW2(0,P8259_OCW2_NON_SPECIFIC_EOI);

irq_uart_handle_iir(uart);

/* halt here if instructed */
if (halt_system) halt_system_loop();
}
Expand Down

0 comments on commit 577c3b2

Please sign in to comment.