diff options
author | klu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524> | 2007-05-30 07:22:41 +0000 |
---|---|---|
committer | klu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524> | 2007-05-30 07:22:41 +0000 |
commit | b19cfa69e7c2da5bb1a976ef0ca5c9d21a287695 (patch) | |
tree | fc18932d4fa561da545efdf52d44c8d18c767209 /EdkUnixPkg/Sec | |
parent | d756d2e73917d24208200d342c4705d6dcfae09d (diff) | |
download | edk2-platforms-b19cfa69e7c2da5bb1a976ef0ca5c9d21a287695.tar.xz |
Add emulated serialIo device driver for EdkUnixPkg
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2605 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'EdkUnixPkg/Sec')
-rw-r--r-- | EdkUnixPkg/Sec/UnixThunk.c | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/EdkUnixPkg/Sec/UnixThunk.c b/EdkUnixPkg/Sec/UnixThunk.c index c1988faf59..9d74b5b8c3 100644 --- a/EdkUnixPkg/Sec/UnixThunk.c +++ b/EdkUnixPkg/Sec/UnixThunk.c @@ -37,7 +37,8 @@ Abstract: #include <time.h> #include <signal.h> #include <string.h> -#include <stdlib.h> +#include <stdlib.h>
+#include <termio.h> static int settimer_initialized; static struct timeval settimer_timeval; @@ -187,8 +188,16 @@ EFI_UNIX_THUNK_PROTOCOL mUnixThunkTable = { fsync, chmod, utime, - - UgaCreate, + tcflush, + UgaCreate,
+ perror,
+ printf,
+ ioctl,
+ fcntl,
+ cfsetispeed,
+ cfsetospeed,
+ tcgetattr,
+ tcsetattr };
|