summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 995e7e5)
raw | patch | inline | side by side (parent: 995e7e5)
author | Alexander Shiryaev <aixp@mail.ru> | |
Fri, 6 Dec 2013 23:07:44 +0000 (03:07 +0400) | ||
committer | Alexander Shiryaev <aixp@mail.ru> | |
Fri, 6 Dec 2013 23:07:44 +0000 (03:07 +0400) |
new/_FreeBSDLinuxOpenBSD_Interp/build | patch | blob | history | |
new/_Linux_/Lin/Mod/Rt.txt | [new file with mode: 0644] | patch | blob |
new/_Linux_/System/Mod/Kernel.odc | patch | blob | history | |
new/_Linux_/libBB.so | patch | blob | history | |
new/_Linux_/libBB0.so | patch | blob | history |
index 6592f024af61bdb1210d803b07678a0478e8ad35..56c17f5b388c43b47375725be17a2608acda2b5c 100755 (executable)
ConsCompiler.Compile('Lin/Mod', 'Dl.txt')
ConsCompiler.Compile('Lin/Mod', 'Libc.txt')
ConsCompiler.Compile('Lin/Mod', 'Iconv.txt')
+
+# Linux only
+ConsCompiler.Compile('Lin/Mod', 'Rt.txt')
+
DevCompiler.CompileThis Kernel
DevCompiler.CompileThis Files Console Math Strings Meta Dialog
diff --git a/new/_Linux_/Lin/Mod/Rt.txt b/new/_Linux_/Lin/Mod/Rt.txt
--- /dev/null
@@ -0,0 +1,26 @@
+MODULE LinRt ["librt.so.1"];
+
+ (*
+ A. V. Shiryaev, 2013.12
+
+ GNU/Linux
+ 32-bit
+ *)
+
+ CONST
+ CLOCK_REALTIME* = 0;
+ CLOCK_MONOTONIC* = 1;
+
+ TYPE
+ time_t* = INTEGER;
+
+ timespec_t* = RECORD [untagged]
+ tv_sec*: time_t; (* seconds *)
+ tv_nsec*: INTEGER (* nanoseconds *)
+ END;
+
+ clockid_t* = INTEGER;
+
+ PROCEDURE [ccall] clock_gettime* (clock_id: clockid_t; VAR tp: timespec_t): INTEGER;
+
+END LinRt.
index 08d2bcc2d9d1f596460b96a5f81c283bf6aa0c86..cc08a871198f5cd1e407240cc3212537a0404e24 100644 (file)
Binary files a/new/_Linux_/System/Mod/Kernel.odc and b/new/_Linux_/System/Mod/Kernel.odc differ
Binary files a/new/_Linux_/System/Mod/Kernel.odc and b/new/_Linux_/System/Mod/Kernel.odc differ
diff --git a/new/_Linux_/libBB.so b/new/_Linux_/libBB.so
index 1f943b19af86f0be45e4bd2b0da35086624ea014..6e4e174d1fadcaa925a204381ee29e9f343c8448 100644 (file)
Binary files a/new/_Linux_/libBB.so and b/new/_Linux_/libBB.so differ
Binary files a/new/_Linux_/libBB.so and b/new/_Linux_/libBB.so differ
diff --git a/new/_Linux_/libBB0.so b/new/_Linux_/libBB0.so
index 1f5910e8a03202382958d6cd38c4c91a4eac489a..b7ed696280b20f8d5eb6f169a4b9dab7055d7d9e 100644 (file)
Binary files a/new/_Linux_/libBB0.so and b/new/_Linux_/libBB0.so differ
Binary files a/new/_Linux_/libBB0.so and b/new/_Linux_/libBB0.so differ