Changeset c3e1401 in rtems
- Timestamp:
- 10/24/22 13:37:16 (3 months ago)
- Branches:
- master
- Children:
- e012671
- Parents:
- 24098722
- git-author:
- Alex White <alex.white@…> (10/24/22 13:37:16)
- git-committer:
- Joel Sherrill <joel@…> (11/29/22 22:59:26)
- Location:
- bsps/microblaze
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
bsps/microblaze/include/dev/serial/uartlite.h
r24098722 rc3e1401 37 37 #define LIBBSP_MICROBLAZE_SHARED_UARTLITE_H 38 38 39 #include <bspopts.h> 39 40 #include <rtems/termiostypes.h> 40 41 -
bsps/microblaze/include/dev/serial/uartlite_l.h
r24098722 rc3e1401 235 235 XUL_SR_RX_FIFO_VALID_DATA) 236 236 237 #ifdef __rtems__ 238 /****************************************************************************/ 239 /** 240 * 241 * Check to see if the transmitter is empty. 242 * 243 * @param BaseAddress is the base address of the device 244 * 245 * @return TRUE if the transmitter is empty, FALSE otherwise. 246 * 247 * @note C-style Signature: 248 * int XUartLite_IsTransmitEmpty(u32 BaseAddress); 249 * 250 *****************************************************************************/ 251 #define XUartLite_IsTransmitEmpty(BaseAddress) \ 252 ((XUartLite_GetStatusReg((BaseAddress)) & XUL_SR_TX_FIFO_EMPTY) == \ 253 XUL_SR_TX_FIFO_EMPTY) 254 #endif /* __rtems__ */ 237 255 238 256 /****************************************************************************/ -
bsps/microblaze/shared/dev/serial/uartlite.c
r24098722 rc3e1401 36 36 #include <bsp/irq.h> 37 37 #include <dev/serial/uartlite.h> 38 #include <bspopts.h> 38 39 39 40 #ifdef BSP_MICROBLAZE_FPGA_CONSOLE_INTERRUPTS … … 48 49 } 49 50 50 while ( ctx->transmitting && !XUartLite_IsTransmitEmpty( ctx ) ) {51 while ( ctx->transmitting && !XUartLite_IsTransmitEmpty( ctx->address ) ) { 51 52 rtems_termios_dequeue_characters( tty, 1 ); 52 53 }
Note: See TracChangeset
for help on using the changeset viewer.