Skip to content

Commit f099b2b

Browse files
authored
The openkal 0.26 family: openkal 0.26.0, openkal-kit 0.3.2, and its implementations (#836)
* The openkal 0.26 family: openkal 0.26.0, openkal-kit 0.3.2, linux 0.27.0, macos 0.24.0, windows 0.23.0, freebsd 0.2.0, uefi 0.12.0, dos 0.2.0, svr4 0.2.0, posix 0.2.0, emscripten 0.15.0, opensbi 0.10.0 * tests: the openkal-posix test project names openkal 0.26.0 and openkal-posix 0.2.0
1 parent 6f2a976 commit f099b2b

17 files changed

Lines changed: 299 additions & 17 deletions

‎CHANGELOG.md‎

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,15 @@
99

1010
### Added
1111

12+
- **openkal 0.26 一族,一次变更:openkal 0.26.0、openkal-kit 0.3.2、openkal-linux 0.27.0、openkal-macos 0.24.0、
13+
openkal-windows 0.23.0、openkal-freebsd 0.2.0、openkal-uefi 0.12.0、openkal-dos 与 openkal-dos-tools 0.2.0、
14+
openkal-svr4 0.2.0、openkal-posix 0.2.0、openkal-emscripten 0.15.0、openkal-opensbi 0.10.0。** 规范条款 7.6:
15+
启动的参数向量与环境只受环境自身的界限约束,环境因大小拒绝的启动报告 `kal_err_no_space`(条款 11 第 64 条);
16+
各实现删除自己的条数界限(此前 512 项、报告内存不足),内核的 `E2BIG` 与 Windows 的长度拒绝转换为该值。
17+
条款 7.18:单元引用写明系统的启动与进程空间,较早启动的引用与已由另一出生的程序持有的标识回答 `empty`,
18+
另一空间与未保留原生标识的单元由 `kal_process_job_open` 以 `kal_err_not_supported` 拒绝,
19+
`KAL_PROCESS_PROP_JOB_OBSERVE` 只在能建立引用处声明(第 65 条)。一致性套件 0.11.0 增加 2,000 个参数、
20+
2,000 个变量与 1 MiB 参数的启动观察。测试工程的固定版本随之更新(mcpplibs/openkal#69 等)。
1221
- **mcpplibs.os 0.4.5。** 启动因参数与环境的大小被拒绝时报告 `kal_err_no_space`(消息 `spawn-too-large`),上下文写明给出的参数与变量的个数和字节数;
1322
能否声明一个单元是属性 `units_observable()`;`env::kernel_layer()` 回答程序之下 openkal 层的版本;范围接纳 openkal 0.26 一族
1423
(openkal-linux 0.27、openkal-macos 0.24、openkal-windows 0.23、openkal-emscripten 0.15)(mcpplibs/os#25)。

‎pkgs/o/openkal-dos-tools.lua‎

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,13 @@ package = {
1313

1414
xpm = {
1515
linux = {
16+
["0.2.0"] = {
17+
url = {
18+
GLOBAL = "https://github.com/mcpplibs/openkal-dos/archive/refs/tags/0.2.0.tar.gz",
19+
CN = "https://gitcode.com/mcpp-res/openkal-dos/releases/download/0.2.0/openkal-dos-0.2.0.tar.gz",
20+
},
21+
sha256 = "c909dfe41c96b781dba99ab5c04d2a9efd7cb72abe1a6d0079cd5027b664cb31",
22+
},
1623
["0.1.1"] = {
1724
url = {
1825
GLOBAL = "https://github.com/mcpplibs/openkal-dos/archive/refs/tags/0.1.1.tar.gz",
@@ -29,6 +36,13 @@ package = {
2936
},
3037
},
3138
macosx = {
39+
["0.2.0"] = {
40+
url = {
41+
GLOBAL = "https://github.com/mcpplibs/openkal-dos/archive/refs/tags/0.2.0.tar.gz",
42+
CN = "https://gitcode.com/mcpp-res/openkal-dos/releases/download/0.2.0/openkal-dos-0.2.0.tar.gz",
43+
},
44+
sha256 = "c909dfe41c96b781dba99ab5c04d2a9efd7cb72abe1a6d0079cd5027b664cb31",
45+
},
3246
["0.1.1"] = {
3347
url = {
3448
GLOBAL = "https://github.com/mcpplibs/openkal-dos/archive/refs/tags/0.1.1.tar.gz",
@@ -45,6 +59,13 @@ package = {
4559
},
4660
},
4761
windows = {
62+
["0.2.0"] = {
63+
url = {
64+
GLOBAL = "https://github.com/mcpplibs/openkal-dos/archive/refs/tags/0.2.0.tar.gz",
65+
CN = "https://gitcode.com/mcpp-res/openkal-dos/releases/download/0.2.0/openkal-dos-0.2.0.tar.gz",
66+
},
67+
sha256 = "c909dfe41c96b781dba99ab5c04d2a9efd7cb72abe1a6d0079cd5027b664cb31",
68+
},
4869
["0.1.1"] = {
4970
url = {
5071
GLOBAL = "https://github.com/mcpplibs/openkal-dos/archive/refs/tags/0.1.1.tar.gz",

‎pkgs/o/openkal-dos.lua‎

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,13 @@ package = {
1414

1515
xpm = {
1616
linux = {
17+
["0.2.0"] = {
18+
url = {
19+
GLOBAL = "https://github.com/mcpplibs/openkal-dos/archive/refs/tags/0.2.0.tar.gz",
20+
CN = "https://gitcode.com/mcpp-res/openkal-dos/releases/download/0.2.0/openkal-dos-0.2.0.tar.gz",
21+
},
22+
sha256 = "c909dfe41c96b781dba99ab5c04d2a9efd7cb72abe1a6d0079cd5027b664cb31",
23+
},
1724
["0.1.1"] = {
1825
url = {
1926
GLOBAL = "https://github.com/mcpplibs/openkal-dos/archive/refs/tags/0.1.1.tar.gz",
@@ -30,6 +37,13 @@ package = {
3037
},
3138
},
3239
macosx = {
40+
["0.2.0"] = {
41+
url = {
42+
GLOBAL = "https://github.com/mcpplibs/openkal-dos/archive/refs/tags/0.2.0.tar.gz",
43+
CN = "https://gitcode.com/mcpp-res/openkal-dos/releases/download/0.2.0/openkal-dos-0.2.0.tar.gz",
44+
},
45+
sha256 = "c909dfe41c96b781dba99ab5c04d2a9efd7cb72abe1a6d0079cd5027b664cb31",
46+
},
3347
["0.1.1"] = {
3448
url = {
3549
GLOBAL = "https://github.com/mcpplibs/openkal-dos/archive/refs/tags/0.1.1.tar.gz",
@@ -46,6 +60,13 @@ package = {
4660
},
4761
},
4862
windows = {
63+
["0.2.0"] = {
64+
url = {
65+
GLOBAL = "https://github.com/mcpplibs/openkal-dos/archive/refs/tags/0.2.0.tar.gz",
66+
CN = "https://gitcode.com/mcpp-res/openkal-dos/releases/download/0.2.0/openkal-dos-0.2.0.tar.gz",
67+
},
68+
sha256 = "c909dfe41c96b781dba99ab5c04d2a9efd7cb72abe1a6d0079cd5027b664cb31",
69+
},
4970
["0.1.1"] = {
5071
url = {
5172
GLOBAL = "https://github.com/mcpplibs/openkal-dos/archive/refs/tags/0.1.1.tar.gz",

‎pkgs/o/openkal-emscripten.lua‎

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,13 @@ package = {
4646

4747
xpm = {
4848
linux = {
49+
["0.15.0"] = {
50+
url = {
51+
GLOBAL = "https://github.com/mcpplibs/openkal-emscripten/archive/refs/tags/0.15.0.tar.gz",
52+
CN = "https://gitcode.com/mcpp-res/openkal-emscripten/releases/download/0.15.0/openkal-emscripten-0.15.0.tar.gz",
53+
},
54+
sha256 = "a745c9a0d4876473f0cee79837117f89a2c5e4fe9b7f40ea49d879180755dc07",
55+
},
4956
["0.14.3"] = {
5057
url = {
5158
GLOBAL = "https://github.com/mcpplibs/openkal-emscripten/archive/refs/tags/0.14.3.tar.gz",
@@ -174,6 +181,13 @@ package = {
174181
},
175182
},
176183
macosx = {
184+
["0.15.0"] = {
185+
url = {
186+
GLOBAL = "https://github.com/mcpplibs/openkal-emscripten/archive/refs/tags/0.15.0.tar.gz",
187+
CN = "https://gitcode.com/mcpp-res/openkal-emscripten/releases/download/0.15.0/openkal-emscripten-0.15.0.tar.gz",
188+
},
189+
sha256 = "a745c9a0d4876473f0cee79837117f89a2c5e4fe9b7f40ea49d879180755dc07",
190+
},
177191
["0.14.3"] = {
178192
url = {
179193
GLOBAL = "https://github.com/mcpplibs/openkal-emscripten/archive/refs/tags/0.14.3.tar.gz",
@@ -302,6 +316,13 @@ package = {
302316
},
303317
},
304318
windows = {
319+
["0.15.0"] = {
320+
url = {
321+
GLOBAL = "https://github.com/mcpplibs/openkal-emscripten/archive/refs/tags/0.15.0.tar.gz",
322+
CN = "https://gitcode.com/mcpp-res/openkal-emscripten/releases/download/0.15.0/openkal-emscripten-0.15.0.tar.gz",
323+
},
324+
sha256 = "a745c9a0d4876473f0cee79837117f89a2c5e4fe9b7f40ea49d879180755dc07",
325+
},
305326
["0.14.3"] = {
306327
url = {
307328
GLOBAL = "https://github.com/mcpplibs/openkal-emscripten/archive/refs/tags/0.14.3.tar.gz",

‎pkgs/o/openkal-freebsd.lua‎

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,13 @@ package = {
2222

2323
xpm = {
2424
linux = {
25+
["0.2.0"] = {
26+
url = {
27+
GLOBAL = "https://github.com/mcpplibs/openkal-freebsd/archive/refs/tags/0.2.0.tar.gz",
28+
CN = "https://gitcode.com/mcpp-res/openkal-freebsd/releases/download/0.2.0/openkal-freebsd-0.2.0.tar.gz",
29+
},
30+
sha256 = "1bdb647c1c10caf5d4cdedd94d8937131f4b4f8a92f7a2e18cf6b11be2da7157",
31+
},
2532
["0.1.2"] = {
2633
url = {
2734
GLOBAL = "https://github.com/mcpplibs/openkal-freebsd/archive/refs/tags/0.1.2.tar.gz",
@@ -38,6 +45,13 @@ package = {
3845
},
3946
},
4047
macosx = {
48+
["0.2.0"] = {
49+
url = {
50+
GLOBAL = "https://github.com/mcpplibs/openkal-freebsd/archive/refs/tags/0.2.0.tar.gz",
51+
CN = "https://gitcode.com/mcpp-res/openkal-freebsd/releases/download/0.2.0/openkal-freebsd-0.2.0.tar.gz",
52+
},
53+
sha256 = "1bdb647c1c10caf5d4cdedd94d8937131f4b4f8a92f7a2e18cf6b11be2da7157",
54+
},
4155
["0.1.2"] = {
4256
url = {
4357
GLOBAL = "https://github.com/mcpplibs/openkal-freebsd/archive/refs/tags/0.1.2.tar.gz",
@@ -54,6 +68,13 @@ package = {
5468
},
5569
},
5670
windows = {
71+
["0.2.0"] = {
72+
url = {
73+
GLOBAL = "https://github.com/mcpplibs/openkal-freebsd/archive/refs/tags/0.2.0.tar.gz",
74+
CN = "https://gitcode.com/mcpp-res/openkal-freebsd/releases/download/0.2.0/openkal-freebsd-0.2.0.tar.gz",
75+
},
76+
sha256 = "1bdb647c1c10caf5d4cdedd94d8937131f4b4f8a92f7a2e18cf6b11be2da7157",
77+
},
5778
["0.1.2"] = {
5879
url = {
5980
GLOBAL = "https://github.com/mcpplibs/openkal-freebsd/archive/refs/tags/0.1.2.tar.gz",

‎pkgs/o/openkal-kit.lua‎

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,13 @@ package = {
4141

4242
xpm = {
4343
linux = {
44+
["0.3.2"] = {
45+
url = {
46+
GLOBAL = "https://github.com/mcpplibs/openkal/archive/refs/tags/kit-0.3.2.tar.gz",
47+
CN = "https://gitcode.com/mcpp-res/openkal/releases/download/kit-0.3.2/openkal-kit-0.3.2.tar.gz",
48+
},
49+
sha256 = "77215ebecc98763cd39f5f6f479988e86bc5b7d13d0d55ccb22b960f359c24e5",
50+
},
4451
["0.3.1"] = {
4552
url = {
4653
GLOBAL = "https://github.com/mcpplibs/openkal/archive/refs/tags/kit-0.3.1.tar.gz",
@@ -64,6 +71,13 @@ package = {
6471
},
6572
},
6673
macosx = {
74+
["0.3.2"] = {
75+
url = {
76+
GLOBAL = "https://github.com/mcpplibs/openkal/archive/refs/tags/kit-0.3.2.tar.gz",
77+
CN = "https://gitcode.com/mcpp-res/openkal/releases/download/kit-0.3.2/openkal-kit-0.3.2.tar.gz",
78+
},
79+
sha256 = "77215ebecc98763cd39f5f6f479988e86bc5b7d13d0d55ccb22b960f359c24e5",
80+
},
6781
["0.3.1"] = {
6882
url = {
6983
GLOBAL = "https://github.com/mcpplibs/openkal/archive/refs/tags/kit-0.3.1.tar.gz",
@@ -87,6 +101,13 @@ package = {
87101
},
88102
},
89103
windows = {
104+
["0.3.2"] = {
105+
url = {
106+
GLOBAL = "https://github.com/mcpplibs/openkal/archive/refs/tags/kit-0.3.2.tar.gz",
107+
CN = "https://gitcode.com/mcpp-res/openkal/releases/download/kit-0.3.2/openkal-kit-0.3.2.tar.gz",
108+
},
109+
sha256 = "77215ebecc98763cd39f5f6f479988e86bc5b7d13d0d55ccb22b960f359c24e5",
110+
},
90111
["0.3.1"] = {
91112
url = {
92113
GLOBAL = "https://github.com/mcpplibs/openkal/archive/refs/tags/kit-0.3.1.tar.gz",

‎pkgs/o/openkal-linux.lua‎

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,13 @@ package = {
1919

2020
xpm = {
2121
linux = {
22+
["0.27.0"] = {
23+
url = {
24+
GLOBAL = "https://github.com/mcpplibs/openkal-linux/archive/refs/tags/0.27.0.tar.gz",
25+
CN = "https://gitcode.com/mcpp-res/openkal-linux/releases/download/0.27.0/openkal-linux-0.27.0.tar.gz",
26+
},
27+
sha256 = "a8236d133d15f3839547c7e5d49299713428086c1e4917f28d4d4e32373fcbbe",
28+
},
2229
["0.26.3"] = {
2330
url = {
2431
GLOBAL = "https://github.com/mcpplibs/openkal-linux/archive/refs/tags/0.26.3.tar.gz",
@@ -273,6 +280,13 @@ package = {
273280
},
274281
},
275282
macosx = {
283+
["0.27.0"] = {
284+
url = {
285+
GLOBAL = "https://github.com/mcpplibs/openkal-linux/archive/refs/tags/0.27.0.tar.gz",
286+
CN = "https://gitcode.com/mcpp-res/openkal-linux/releases/download/0.27.0/openkal-linux-0.27.0.tar.gz",
287+
},
288+
sha256 = "a8236d133d15f3839547c7e5d49299713428086c1e4917f28d4d4e32373fcbbe",
289+
},
276290
["0.26.3"] = {
277291
url = {
278292
GLOBAL = "https://github.com/mcpplibs/openkal-linux/archive/refs/tags/0.26.3.tar.gz",
@@ -527,6 +541,13 @@ package = {
527541
},
528542
},
529543
windows = {
544+
["0.27.0"] = {
545+
url = {
546+
GLOBAL = "https://github.com/mcpplibs/openkal-linux/archive/refs/tags/0.27.0.tar.gz",
547+
CN = "https://gitcode.com/mcpp-res/openkal-linux/releases/download/0.27.0/openkal-linux-0.27.0.tar.gz",
548+
},
549+
sha256 = "a8236d133d15f3839547c7e5d49299713428086c1e4917f28d4d4e32373fcbbe",
550+
},
530551
["0.26.3"] = {
531552
url = {
532553
GLOBAL = "https://github.com/mcpplibs/openkal-linux/archive/refs/tags/0.26.3.tar.gz",

‎pkgs/o/openkal-macos.lua‎

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,13 @@ package = {
1919

2020
xpm = {
2121
linux = {
22+
["0.24.0"] = {
23+
url = {
24+
GLOBAL = "https://github.com/mcpplibs/openkal-macos/archive/refs/tags/0.24.0.tar.gz",
25+
CN = "https://gitcode.com/mcpp-res/openkal-macos/releases/download/0.24.0/openkal-macos-0.24.0.tar.gz",
26+
},
27+
sha256 = "e4cce945171bce7a1e69f79b19dc27c3ac49a5714873ab9a925191e4c0557517",
28+
},
2229
["0.23.4"] = {
2330
url = {
2431
GLOBAL = "https://github.com/mcpplibs/openkal-macos/archive/refs/tags/0.23.4.tar.gz",
@@ -294,6 +301,13 @@ package = {
294301
},
295302
},
296303
macosx = {
304+
["0.24.0"] = {
305+
url = {
306+
GLOBAL = "https://github.com/mcpplibs/openkal-macos/archive/refs/tags/0.24.0.tar.gz",
307+
CN = "https://gitcode.com/mcpp-res/openkal-macos/releases/download/0.24.0/openkal-macos-0.24.0.tar.gz",
308+
},
309+
sha256 = "e4cce945171bce7a1e69f79b19dc27c3ac49a5714873ab9a925191e4c0557517",
310+
},
297311
["0.23.4"] = {
298312
url = {
299313
GLOBAL = "https://github.com/mcpplibs/openkal-macos/archive/refs/tags/0.23.4.tar.gz",
@@ -569,6 +583,13 @@ package = {
569583
},
570584
},
571585
windows = {
586+
["0.24.0"] = {
587+
url = {
588+
GLOBAL = "https://github.com/mcpplibs/openkal-macos/archive/refs/tags/0.24.0.tar.gz",
589+
CN = "https://gitcode.com/mcpp-res/openkal-macos/releases/download/0.24.0/openkal-macos-0.24.0.tar.gz",
590+
},
591+
sha256 = "e4cce945171bce7a1e69f79b19dc27c3ac49a5714873ab9a925191e4c0557517",
592+
},
572593
["0.23.4"] = {
573594
url = {
574595
GLOBAL = "https://github.com/mcpplibs/openkal-macos/archive/refs/tags/0.23.4.tar.gz",

‎pkgs/o/openkal-opensbi.lua‎

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,13 @@ package = {
2020

2121
xpm = {
2222
linux = {
23+
["0.10.0"] = {
24+
url = {
25+
GLOBAL = "https://github.com/mcpplibs/openkal-opensbi/archive/refs/tags/0.10.0.tar.gz",
26+
CN = "https://gitcode.com/mcpp-res/openkal-opensbi/releases/download/0.10.0/openkal-opensbi-0.10.0.tar.gz",
27+
},
28+
sha256 = "d7a0c6401b225915ed534dcf92dc6afd1d956a43039f86b331f45a1ed73b9b33",
29+
},
2330
["0.9.1"] = {
2431
url = {
2532
GLOBAL = "https://github.com/mcpplibs/openkal-opensbi/archive/refs/tags/0.9.1.tar.gz",
@@ -141,6 +148,13 @@ package = {
141148
},
142149
},
143150
macosx = {
151+
["0.10.0"] = {
152+
url = {
153+
GLOBAL = "https://github.com/mcpplibs/openkal-opensbi/archive/refs/tags/0.10.0.tar.gz",
154+
CN = "https://gitcode.com/mcpp-res/openkal-opensbi/releases/download/0.10.0/openkal-opensbi-0.10.0.tar.gz",
155+
},
156+
sha256 = "d7a0c6401b225915ed534dcf92dc6afd1d956a43039f86b331f45a1ed73b9b33",
157+
},
144158
["0.9.1"] = {
145159
url = {
146160
GLOBAL = "https://github.com/mcpplibs/openkal-opensbi/archive/refs/tags/0.9.1.tar.gz",
@@ -262,6 +276,13 @@ package = {
262276
},
263277
},
264278
windows = {
279+
["0.10.0"] = {
280+
url = {
281+
GLOBAL = "https://github.com/mcpplibs/openkal-opensbi/archive/refs/tags/0.10.0.tar.gz",
282+
CN = "https://gitcode.com/mcpp-res/openkal-opensbi/releases/download/0.10.0/openkal-opensbi-0.10.0.tar.gz",
283+
},
284+
sha256 = "d7a0c6401b225915ed534dcf92dc6afd1d956a43039f86b331f45a1ed73b9b33",
285+
},
265286
["0.9.1"] = {
266287
url = {
267288
GLOBAL = "https://github.com/mcpplibs/openkal-opensbi/archive/refs/tags/0.9.1.tar.gz",

‎pkgs/o/openkal-posix.lua‎

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,13 @@ package = {
2222

2323
xpm = {
2424
linux = {
25+
["0.2.0"] = {
26+
url = {
27+
GLOBAL = "https://github.com/mcpplibs/openkal-posix/archive/refs/tags/0.2.0.tar.gz",
28+
CN = "https://gitcode.com/mcpp-res/openkal-posix/releases/download/0.2.0/openkal-posix-0.2.0.tar.gz",
29+
},
30+
sha256 = "23eb05805a5ef7a10468e6da4e4897bb30b96a3a8718ec42e56601a8f7d0eecc",
31+
},
2532
["0.1.1"] = {
2633
url = {
2734
GLOBAL = "https://github.com/mcpplibs/openkal-posix/archive/refs/tags/0.1.1.tar.gz",
@@ -38,6 +45,13 @@ package = {
3845
},
3946
},
4047
macosx = {
48+
["0.2.0"] = {
49+
url = {
50+
GLOBAL = "https://github.com/mcpplibs/openkal-posix/archive/refs/tags/0.2.0.tar.gz",
51+
CN = "https://gitcode.com/mcpp-res/openkal-posix/releases/download/0.2.0/openkal-posix-0.2.0.tar.gz",
52+
},
53+
sha256 = "23eb05805a5ef7a10468e6da4e4897bb30b96a3a8718ec42e56601a8f7d0eecc",
54+
},
4155
["0.1.1"] = {
4256
url = {
4357
GLOBAL = "https://github.com/mcpplibs/openkal-posix/archive/refs/tags/0.1.1.tar.gz",
@@ -54,6 +68,13 @@ package = {
5468
},
5569
},
5670
windows = {
71+
["0.2.0"] = {
72+
url = {
73+
GLOBAL = "https://github.com/mcpplibs/openkal-posix/archive/refs/tags/0.2.0.tar.gz",
74+
CN = "https://gitcode.com/mcpp-res/openkal-posix/releases/download/0.2.0/openkal-posix-0.2.0.tar.gz",
75+
},
76+
sha256 = "23eb05805a5ef7a10468e6da4e4897bb30b96a3a8718ec42e56601a8f7d0eecc",
77+
},
5778
["0.1.1"] = {
5879
url = {
5980
GLOBAL = "https://github.com/mcpplibs/openkal-posix/archive/refs/tags/0.1.1.tar.gz",

0 commit comments

Comments
 (0)