init commit

This commit is contained in:
Faynot
2026-07-07 20:35:07 +03:00
commit 38cc34a6e9
33 changed files with 659 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
#ifndef _ELIBC_STARTUP_INFO_H
#define _ELIBC_STARTUP_INFO_H
/* Process-startup information block.
*
* The Elyz loader passes an opaque structure to every new process.
* Layout and content are arch-defined (see arch/<arch>/startup_info.h).
* At minimum the process receives:
* - an initial memory pool (capability / region)
* - argc / argv from the parent
* - a capability-wallet (CNode) root
*/
struct elyz_startup {
unsigned long initial_cnode_cap;
unsigned long initial_pool_addr;
unsigned long initial_pool_size;
int argc;
char **argv;
};
#endif