Files
elibc/arch/generic/startup_info.h
2026-07-07 20:35:07 +03:00

23 lines
603 B
C

#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