Skip to content

0.12.0 and 0.13.0: openkal 0.26; openkal.process through LoadImage and StartImage - #22

Merged
Sunrisepeak merged 2 commits into
mainfrom
openkal-0.26.0
Nov 22, 2026
Merged

Sunrisepeak merged 2 commits into
mainfrom
openkal-0.26.0

Conversation

@Sunrisepeak

@Sunrisepeak Sunrisepeak commented Nov 19, 2026 •

Copy link
Copy Markdown
Member

openkal-uefi 0.12.0 and 0.13.0, the releases of openkal 0.26.

0.12.0 names the specification openkal 0.26; nothing else changes.

0.13.0 provides openkal.process. A program found through openkal.fs is loaded by LoadImage from the volume's device path with a media file path node, and run by StartImage, which returns when the started image has ended: KAL_PROCESS_PROP_RUNS_TO_END (clause 7.19), with EXIT_STATUS, ONE_STRING and BOUND_LIFETIME.

  • The vector is the started image's load options, each element quoted so that the division the implementation makes recovers it; the variables and the directory the program runs in travel in a start record installed on the started image's handle.
  • A program returns its pool, its pages and its open files at its end. The firmware frees only an application's image, and measured with 1 GiB a starter whose copies each reserved 128 MiB could start six; twenty now succeed.
  • The board's exit applies to a program the firmware or the Shell started, and a started program ends into its starter.
  • A program for whose arguments there is no memory ends with that reason instead of running without them.

The examples name openkal-platform 0.31.2, whose group holds openkal 0.26 (under 0.28.0 the build refused the specification's version), and CI installs mcpp 2026.11.22.1. CI adds examples/starts, which runs without a C library and checks 1208 arguments, 1200 variables, an abort, a directory, a preference, twenty starts and the refusals, and examples/spawn, which runs posix_spawn and waitpid beneath openkal-musl.

- openkal ^0.26.0, in the manifest and in the examples; the example's board
  names openkal-uefi 0.12.0
- no code changes: what 0.26 requires is of openkal.process, which this
  implementation does not provide, and the arguments a program receives are
  already kept at their measured size (clause 7.6)
…rogram run to its end first; a program returns its memory and files at its end
@Sunrisepeak Sunrisepeak changed the title 0.12.0: openkal 0.26 0.12.0 and 0.13.0: openkal 0.26; openkal.process through LoadImage and StartImage Nov 22, 2026
@Sunrisepeak
Sunrisepeak merged commit 3230620 into main Nov 22, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant