diff options
author | grehan <grehan@FreeBSD.org> | 2013-01-07 07:33:48 +0000 |
---|---|---|
committer | grehan <grehan@FreeBSD.org> | 2013-01-07 07:33:48 +0000 |
commit | 6b4735f33a04654288e66e77e13b9ec13c620488 (patch) | |
tree | fbf26081eca0dc491cca8ed1bed8fcbd81013abb /lib/libc/sys | |
parent | 89556fd0ba3250c2723106cab75be15a87b0d650 (diff) | |
download | FreeBSD-src-6b4735f33a04654288e66e77e13b9ec13c620488.zip FreeBSD-src-6b4735f33a04654288e66e77e13b9ec13c620488.tar.gz |
Don't completely drain the read file descriptor. Instead, only
fill up to the uart's rx fifo size, and leave any remaining input
for when the rx fifo is read. This allows cut'n'paste of long lines
to be done into the bhyve console without truncation.
Also, introduce a mutex since the file input will run in the mevent
thread context and may corrupt state accessed by a vCPU thread.
Reviewed by: neel
Approved by: NetApp
Diffstat (limited to 'lib/libc/sys')
0 files changed, 0 insertions, 0 deletions