FreeCalypso > hg > fc-sim-tools
comparison serial/serport.c @ 39:61a8ac93764f
serial/serport.c: add important explanatory comment
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sat, 20 Mar 2021 20:03:29 +0000 |
parents | 1d96f3b4f155 |
children | fbedb67d234f |
comparison
equal
deleted
inserted
replaced
38:1d96f3b4f155 | 39:61a8ac93764f |
---|---|
1 /* | |
2 * This module implements the guts of OS-specific serial port handling | |
3 * for our fc-sim-tools serial back end. The present version is very | |
4 * Linux-specific, using Linux-specific <asm/...> header files, | |
5 * struct termios2 and BOTHER to request arbitrary serial baud rates | |
6 * outside of POSIX Bxxx rigid set. | |
7 */ | |
8 | |
1 #include <sys/types.h> | 9 #include <sys/types.h> |
2 #include <sys/file.h> | 10 #include <sys/file.h> |
3 #include <sys/ioctl.h> | 11 #include <sys/ioctl.h> |
4 #include <asm/ioctls.h> | 12 #include <asm/ioctls.h> |
5 #include <asm/termbits.h> | 13 #include <asm/termbits.h> |