nuttx/drivers/serial
dongjiuzhu d452a05910 pollnotify: we should send poll events before semaphore incrementes.
There is a good case on sim platform:
When we input some cmd and click enter key to start application in terminal,
this context will change to application from IDLE loop. Althrough entey key '\r'
has been received to recv buffer and complete post semaphore of reader, but
pollnotify may not be called because context change. So when application run
poll function, because no events happend and poll enter wait, context will
again change to IDLE loop, this pollnotify of IDLE loop will run to send poll
events, poll function of applicaton will wake up. It's wrong!

Change-Id: I812a889f2e90781a9c3cb4b0251cccc4d32bebd1
Signed-off-by: dongjiuzhu <dongjiuzhu1@xiaomi.com>
2020-10-26 08:27:09 -03:00
..
Kconfig drivers/serial: Remove the nonexistent CMSDK_UART option 2020-02-24 08:47:36 -06:00
Kconfig-16550 Squashed commit of the following: 2018-08-26 11:37:16 -06:00
Kconfig-lpuart drivers/serial/Kconfig: Split serial Rx/Tx DMA. 2019-12-03 07:06:30 -06:00
Kconfig-sci We have ported NuttX on Renesas RX65N Micro-controller. This port includes following interfaces 2019-10-11 23:36:57 +08:00
Kconfig-uart drivers/serial/Kconfig: Split serial Rx/Tx DMA. 2019-12-03 07:06:30 -06:00
Kconfig-usart drivers/serial/Kconfig: Split serial Rx/Tx DMA. 2019-12-03 07:06:30 -06:00
Make.defs drivers/serial: Remove the lowconsole driver 2020-02-18 12:51:09 -06:00
ptmx.c Check return from nxsem_wait_initialize() 2020-04-01 14:20:04 -03:00
pty.c libs/libc/unistd: Implement pipe2(2) syscall 2020-09-18 20:01:26 -07:00
pty.h PTY: Add ioctls to support locking and unlocking of the slave. LIBC: Add implementation of unlockpt() 2016-07-15 09:39:33 -06:00
serial_dma.c serial: Shouldn't mangle pid when ISIG is changed 2020-09-25 06:48:26 -07:00
serial_io.c serial: Shouldn't mangle pid when ISIG is changed 2020-09-25 06:48:26 -07:00
serial.c pollnotify: we should send poll events before semaphore incrementes. 2020-10-26 08:27:09 -03:00
tcdrain.c z20x: Improve usability of bootloader 2020-03-14 14:07:45 -03:00
uart_16550.c Replace #include <semaphore.h> to #include <nuttx/semaphore.h> 2020-02-01 08:27:30 -06:00
uart_rpmsg.c Fix nxstyle warning 2020-08-22 17:37:21 -06:00