Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@

### Added

- **openkal-ld、openkal-run、openkal-tools、openkal-bind 0.1.5。** okrun 以 `openkal.map`(私有、可写)映射它运行的映像
或 okb,而不是整体读入内存,映像结束时释放;映像绑定 `openkal.map` 的三个函数。四个成员钉 openkal 0.18.0、
openkal-linux 0.19.0、openkal-macos 0.16.0、openkal-windows 0.14.0。测试成员 `openkal-tools`、`openkal-bind`
随之移动。GLOBAL 为 GitHub 标签归档,CN 为 GitCode `mcpp-res` 镜像,sha256 两处一致。
- **openkal 0.18.0、openkal-linux 0.19.0、openkal-macos 0.16.0、openkal-windows 0.14.0。** 新的可选接口
`openkal.map`(`KAL_IFACE_MAP`):`kal_map_file` 把文件的一部分映射到地址空间(偏移为 `KAL_MAP_ALIGNMENT`,即
64 KiB 的倍数;读或写、私有或共享),`kal_map_sync` 使共享区域的写入对文件读取可见,`kal_map_release` 按地址与长度
Expand Down
21 changes: 21 additions & 0 deletions pkgs/o/openkal-bind.lua
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,13 @@ package = {

xpm = {
linux = {
["0.1.5"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/openkal-image/archive/refs/tags/0.1.5.tar.gz",
CN = "https://gitcode.com/mcpp-res/openkal-image/releases/download/0.1.5/openkal-image-0.1.5.tar.gz",
},
sha256 = "5cd28c5bcebf7c4f0b9f69ea01e1e5d8f595ed148d485404ad367631c083aef8",
},
["0.1.4"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/openkal-image/archive/refs/tags/0.1.4.tar.gz",
Expand All @@ -48,6 +55,13 @@ package = {
},
},
macosx = {
["0.1.5"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/openkal-image/archive/refs/tags/0.1.5.tar.gz",
CN = "https://gitcode.com/mcpp-res/openkal-image/releases/download/0.1.5/openkal-image-0.1.5.tar.gz",
},
sha256 = "5cd28c5bcebf7c4f0b9f69ea01e1e5d8f595ed148d485404ad367631c083aef8",
},
["0.1.4"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/openkal-image/archive/refs/tags/0.1.4.tar.gz",
Expand All @@ -71,6 +85,13 @@ package = {
},
},
windows = {
["0.1.5"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/openkal-image/archive/refs/tags/0.1.5.tar.gz",
CN = "https://gitcode.com/mcpp-res/openkal-image/releases/download/0.1.5/openkal-image-0.1.5.tar.gz",
},
sha256 = "5cd28c5bcebf7c4f0b9f69ea01e1e5d8f595ed148d485404ad367631c083aef8",
},
["0.1.4"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/openkal-image/archive/refs/tags/0.1.4.tar.gz",
Expand Down
21 changes: 21 additions & 0 deletions pkgs/o/openkal-ld.lua
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,13 @@ package = {

xpm = {
linux = {
["0.1.5"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/openkal-image/archive/refs/tags/0.1.5.tar.gz",
CN = "https://gitcode.com/mcpp-res/openkal-image/releases/download/0.1.5/openkal-image-0.1.5.tar.gz",
},
sha256 = "5cd28c5bcebf7c4f0b9f69ea01e1e5d8f595ed148d485404ad367631c083aef8",
},
["0.1.4"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/openkal-image/archive/refs/tags/0.1.4.tar.gz",
Expand Down Expand Up @@ -55,6 +62,13 @@ package = {
},
},
macosx = {
["0.1.5"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/openkal-image/archive/refs/tags/0.1.5.tar.gz",
CN = "https://gitcode.com/mcpp-res/openkal-image/releases/download/0.1.5/openkal-image-0.1.5.tar.gz",
},
sha256 = "5cd28c5bcebf7c4f0b9f69ea01e1e5d8f595ed148d485404ad367631c083aef8",
},
["0.1.4"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/openkal-image/archive/refs/tags/0.1.4.tar.gz",
Expand Down Expand Up @@ -92,6 +106,13 @@ package = {
},
},
windows = {
["0.1.5"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/openkal-image/archive/refs/tags/0.1.5.tar.gz",
CN = "https://gitcode.com/mcpp-res/openkal-image/releases/download/0.1.5/openkal-image-0.1.5.tar.gz",
},
sha256 = "5cd28c5bcebf7c4f0b9f69ea01e1e5d8f595ed148d485404ad367631c083aef8",
},
["0.1.4"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/openkal-image/archive/refs/tags/0.1.4.tar.gz",
Expand Down
21 changes: 21 additions & 0 deletions pkgs/o/openkal-run.lua
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,13 @@ package = {

xpm = {
linux = {
["0.1.5"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/openkal-image/archive/refs/tags/0.1.5.tar.gz",
CN = "https://gitcode.com/mcpp-res/openkal-image/releases/download/0.1.5/openkal-image-0.1.5.tar.gz",
},
sha256 = "5cd28c5bcebf7c4f0b9f69ea01e1e5d8f595ed148d485404ad367631c083aef8",
},
["0.1.4"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/openkal-image/archive/refs/tags/0.1.4.tar.gz",
Expand Down Expand Up @@ -55,6 +62,13 @@ package = {
},
},
macosx = {
["0.1.5"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/openkal-image/archive/refs/tags/0.1.5.tar.gz",
CN = "https://gitcode.com/mcpp-res/openkal-image/releases/download/0.1.5/openkal-image-0.1.5.tar.gz",
},
sha256 = "5cd28c5bcebf7c4f0b9f69ea01e1e5d8f595ed148d485404ad367631c083aef8",
},
["0.1.4"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/openkal-image/archive/refs/tags/0.1.4.tar.gz",
Expand Down Expand Up @@ -92,6 +106,13 @@ package = {
},
},
windows = {
["0.1.5"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/openkal-image/archive/refs/tags/0.1.5.tar.gz",
CN = "https://gitcode.com/mcpp-res/openkal-image/releases/download/0.1.5/openkal-image-0.1.5.tar.gz",
},
sha256 = "5cd28c5bcebf7c4f0b9f69ea01e1e5d8f595ed148d485404ad367631c083aef8",
},
["0.1.4"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/openkal-image/archive/refs/tags/0.1.4.tar.gz",
Expand Down
21 changes: 21 additions & 0 deletions pkgs/o/openkal-tools.lua
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,13 @@ package = {

xpm = {
linux = {
["0.1.5"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/openkal-image/archive/refs/tags/0.1.5.tar.gz",
CN = "https://gitcode.com/mcpp-res/openkal-image/releases/download/0.1.5/openkal-image-0.1.5.tar.gz",
},
sha256 = "5cd28c5bcebf7c4f0b9f69ea01e1e5d8f595ed148d485404ad367631c083aef8",
},
["0.1.4"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/openkal-image/archive/refs/tags/0.1.4.tar.gz",
Expand Down Expand Up @@ -57,6 +64,13 @@ package = {
},
},
macosx = {
["0.1.5"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/openkal-image/archive/refs/tags/0.1.5.tar.gz",
CN = "https://gitcode.com/mcpp-res/openkal-image/releases/download/0.1.5/openkal-image-0.1.5.tar.gz",
},
sha256 = "5cd28c5bcebf7c4f0b9f69ea01e1e5d8f595ed148d485404ad367631c083aef8",
},
["0.1.4"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/openkal-image/archive/refs/tags/0.1.4.tar.gz",
Expand Down Expand Up @@ -94,6 +108,13 @@ package = {
},
},
windows = {
["0.1.5"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/openkal-image/archive/refs/tags/0.1.5.tar.gz",
CN = "https://gitcode.com/mcpp-res/openkal-image/releases/download/0.1.5/openkal-image-0.1.5.tar.gz",
},
sha256 = "5cd28c5bcebf7c4f0b9f69ea01e1e5d8f595ed148d485404ad367631c083aef8",
},
["0.1.4"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/openkal-image/archive/refs/tags/0.1.4.tar.gz",
Expand Down
6 changes: 3 additions & 3 deletions tests/examples/openkal-bind/mcpp.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ sources = []
include_dirs = ["include"]

[dependencies.mcpplibs]
openkal-run = "0.1.4"
openkal-run = "0.1.5"

[build-dependencies.mcpplibs]
openkal-bind = "0.1.4"
openkal-tools = { version = "0.1.4", tools = ["okld"] }
openkal-bind = "0.1.5"
openkal-tools = { version = "0.1.5", tools = ["okld"] }

[xlings.workspace]
"xim:llvm" = "23.1.3"
Expand Down
2 changes: 1 addition & 1 deletion tests/examples/openkal-tools/mcpp.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ name = "openkal-tools-tests"
version = "0.1.0"

[build-dependencies.mcpplibs]
openkal-tools = { version = "0.1.4", tools = ["okld", "okrun"] }
openkal-tools = { version = "0.1.5", tools = ["okld", "okrun"] }

[indices]
mcpplibs = { path = "../../.." }
Loading