Skip to content

Modules: WASMi diagnostic runtime (lamboot-wasm.efi) #15

Description

@lamco-office

Add a sandboxed WASM runtime as a separate, optional LamBoot module so third parties can ship diagnostic modules without recompiling LamBoot or being linked into core.

Design constraints (non-negotiable)

  • Separate module (lamboot-wasm.efi), never linked into core LamBoot.
  • Loaded at menu time via the existing lamboot-modules/ discovery path, subject to module signing (release-signed / MOK-trusted / dist-trusted / none).
  • Read-only host-call ABI: no host writes, no file creation, no NVRAM writes, no protocol installation from a WASM module.
  • Resource caps: fuel + wall-clock + memory + report-size.

Dependency

Gated on the health/metrics/SMART infrastructure (#13) landing first — otherwise the host-call ABI for modules would need rework once that infrastructure exists. Targeted for v1.1, after v1.0 stabilizes.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:modulesdiag-shell, pci-inventory, nvme-diagtype:enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions