From cff32b0c1d70b3d5802e33723ba07745411e5ea1 Mon Sep 17 00:00:00 2001 From: Alexander Shiryaev Date: Mon, 12 Nov 2012 15:17:10 +0400 Subject: [PATCH] OpenBSD CommV24 fixed --- Trurl-based/_OpenBSD_/Comm/Mod/V24.odc | Bin 9471 -> 9858 bytes Trurl-based/_OpenBSD_/Lin/Mod/Ioctl.txt | 4 +--- Trurl-based/_OpenBSD_/Lin/Mod/Termios.txt | 7 +++++-- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/Trurl-based/_OpenBSD_/Comm/Mod/V24.odc b/Trurl-based/_OpenBSD_/Comm/Mod/V24.odc index 722ff08f523af4a2fb63cb041592da89c62f0a8e..3d7ae49283b6b97af58748e0f066f834c5a06841 100644 GIT binary patch delta 604 zcmX|7L2nX46yBMI-LeRzT?mR|#};&H7Q$93O2{-}gRJSc>M5kJUx9&H>1nrTVCLaE{ z&coA~KZI!a5!1xD=s~t^CJI^Z6y38FKEuMHP(TWN6UuNRj6>Et4_Ce8F!auk-AE9% zy0Yj4L%1HuBo=)hk5(eRzPYPpV9zUE9FS@9WFV8-x&KUuFl*z&faFGa);jVUESSOt zGyuh)aO<^O1!8>&G}v_4=#hmS(T(nd9kZ9}H@Dgkd)v}hOLk^@QLB|Icj{%^1N@qZ z!Z~pcKqMX-)FL$o`{J~wSq7BQS~Q zwTgj|%FR8#|In3K1HWK$gW(O2!oCnvOr8ibA7mL?!h~FRD2AS}Mn^D@L`OTh80?q+ z*%bm)Y>*CyThYLIcoGwkmVF>gRVB+?l5>R8a3NhPnxmahC;~*g@yG?UxP(0-G~V||lF{RIJ@14)oHgKcUl%sztK1X4yA eDtdz5>vv=zyO7J9mOagyV_g@#(jK#-8{`+=#96rj diff --git a/Trurl-based/_OpenBSD_/Lin/Mod/Ioctl.txt b/Trurl-based/_OpenBSD_/Lin/Mod/Ioctl.txt index e961329..e7bf697 100644 --- a/Trurl-based/_OpenBSD_/Lin/Mod/Ioctl.txt +++ b/Trurl-based/_OpenBSD_/Lin/Mod/Ioctl.txt @@ -7,8 +7,6 @@ MODULE LinIoctl ["libc.so.66.0"]; 32-bit *) - IMPORT Libc := LinLibc; - CONST (* /usr/include/sys/ttycom.h *) TIOCM_LE* = 1; (* line enable *) @@ -43,6 +41,6 @@ MODULE LinIoctl ["libc.so.66.0"]; TIOCMBIC* = -2147191701; PROCEDURE [ccall] ioctl0* ["ioctl"] (d: INTEGER; req: INTEGER): INTEGER; - PROCEDURE [ccall] ioctl1* ["ioctl"] (d: INTEGER; req: INTEGER; data: Libc.PtrVoid): INTEGER; + PROCEDURE [ccall] ioctl1* ["ioctl"] (d: INTEGER; req: INTEGER; VAR arg: INTEGER): INTEGER; END LinIoctl. diff --git a/Trurl-based/_OpenBSD_/Lin/Mod/Termios.txt b/Trurl-based/_OpenBSD_/Lin/Mod/Termios.txt index e4e729b..d8f2fd2 100644 --- a/Trurl-based/_OpenBSD_/Lin/Mod/Termios.txt +++ b/Trurl-based/_OpenBSD_/Lin/Mod/Termios.txt @@ -7,8 +7,6 @@ MODULE LinTermios ["libc.so.66.0"]; 32-bit *) - IMPORT SYSTEM; - CONST VEOF* = 0; (* ICANON *) VEOL* = 1; (* ICANON *) @@ -144,6 +142,11 @@ MODULE LinTermios ["libc.so.66.0"]; PROCEDURE [ccall] tcgetattr* (fd: INTEGER; VAR tp: termios): INTEGER; PROCEDURE [ccall] tcsetattr* (fd: INTEGER; action: INTEGER; VAR tp: termios): INTEGER; + PROCEDURE [ccall] tcdrain* (fd: INTEGER): INTEGER; + PROCEDURE [ccall] tcflow* (fd: INTEGER; action: INTEGER): INTEGER; + PROCEDURE [ccall] tcflush* (fd: INTEGER; action: INTEGER): INTEGER; + PROCEDURE [ccall] tcsendbreak* (fd: INTEGER; len: INTEGER): INTEGER; + (* extensions *) (* PROCEDURE [ccall] cfsetspeed* (VAR tp: termios; speed: speed_t): INTEGER; -- 2.29.2