Skip to content

Commit

Permalink
libplatsupport: Annotate interrupts
Browse files Browse the repository at this point in the history
Signed-off-by: Felix Schladt <felix.schladt@hensoldt.net>
  • Loading branch information
FelixSchladt committed Sep 1, 2023
1 parent b525ccc commit 3c0db13
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions libplatsupport/src/mach/bcm/pl011_uart.c
Original file line number Diff line number Diff line change
Expand Up @@ -101,9 +101,9 @@ static inline void pl011_uart_disable_fifo(ps_chardevice_t *dev)
static inline void pl011_uart_enable_irqs(ps_chardevice_t *dev)
{
pl011_regs_t *r = pl011_uart_get_priv(dev);
r->imsc |= IMSC_RXIM;
r->imsc |= IMSC_RTIM;
r->imsc |= IMSC_OEIM;
r->imsc |= IMSC_RXIM; // Receive interrupt mask
r->imsc |= IMSC_RTIM; // Receive timeout interrupt mask
r->imsc |= IMSC_OEIM; // Overrun error interrupt mask
}

static inline void pl011_uart_disable_irqs(ps_chardevice_t *dev)
Expand Down

0 comments on commit 3c0db13

Please sign in to comment.