/* sk_v4.h -- StarForth v4 on bare metal: one host node at a prompt. * * Built only with STARFORTH_V4=1 (Kconfig.kernel). */ #ifndef STARKERNEL_V4_SK_V4_H #define STARKERNEL_V4_SK_V4_H #include "uefi.h" /* BootDisk */ /* Start one StarForth v4 host node from the capsule image linked into the * kernel, with its console on the kernel's console, and run it. Does not * return. */ /* `chain` sets the kernel's block chain up. It is called when the node has * booted and passed POST, before the prompt: as on the v3 path, POST runs * against block RAM of its own and the chain comes after it. `boot_disk` is * the loader's: which disk it booted from (sk_v4_identity_boot()). */ void sk_v4_run(void (*chain)(void), const BootDisk *boot_disk); #endif /* STARKERNEL_V4_SK_V4_H */