Changeset 0dc2fec in mainline for kernel/genarch/src/drivers/grlib/uart.c
- Timestamp:
- 2016-05-22T19:19:43Z (9 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- b272c67a
- Parents:
- 153c7a29 (diff), af2254ec (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/genarch/src/drivers/grlib/uart.c
r153c7a29 r0dc2fec 52 52 grlib_uart_status_t *status; 53 53 grlib_uart_t *uart = (grlib_uart_t *) dev->data; 54 uint32_t reg; 54 55 55 56 /* Wait for space becoming available in Tx FIFO. */ 56 57 do { 57 uint32_treg = pio_read_32(&uart->io->status);58 reg = pio_read_32(&uart->io->status); 58 59 status = (grlib_uart_status_t *) ® 59 60 } while (status->tf != 0);
Note:
See TracChangeset
for help on using the changeset viewer.