init commit
This commit is contained in:
22
arch/generic/startup_info.h
Normal file
22
arch/generic/startup_info.h
Normal 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
|
||||
Reference in New Issue
Block a user