mirror of
https://github.com/justinian/jsix.git
synced 2025-12-10 00:14:32 -08:00
Add a simple ELF loader to srv.init to load and start any module_program parameters passed from the bootloader. Also creates stacks for newly created threads. Also update thread creation in testapp to create stacks.
11 lines
229 B
C++
11 lines
229 B
C++
#pragma once
|
|
/// \file loader.h
|
|
/// Routines for loading and starting other programs
|
|
|
|
namespace kernel {
|
|
namespace init {
|
|
struct module_program;
|
|
}}
|
|
|
|
bool load_program(const kernel::init::module_program &prog, char *err_msg);
|