Skip to content

Commit

Permalink
libplatsupport: clear RX interrupt after RX irq callback (Exynos, ser…
Browse files Browse the repository at this point in the history
…ial)

This fixes issue seL4#3
  • Loading branch information
agacek committed Jul 27, 2016
1 parent 808f1a0 commit 05d0ae8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions libplatsupport/src/mach/exynos/serial.c
Original file line number Diff line number Diff line change
Expand Up @@ -324,6 +324,8 @@ uart_handle_rx_irq(ps_chardevice_t* d)
d->read_descriptor.bytes_transfered,
d->read_descriptor.token);
}
/* Clear the pending flag */
*REG_PTR(d->vaddr, UINTP) = INT_RX;
}

static void uart_flush(ps_chardevice_t *d)
Expand Down

0 comments on commit 05d0ae8

Please sign in to comment.