mirror of
https://github.com/drasko/codezero.git
synced 2026-07-14 19:25:24 +02:00
Added a simplified ascii_to_int() implementation.
Removed dependency on hard-coded pager id. Pager id is now passed as an environment string `pagerid' to tasks. Alternatively, this could take space in the utcb of each task.
This commit is contained in:
@@ -15,15 +15,12 @@ int main(int argc, char *argv[]);
|
||||
int __container_init(int argc, char **argv)
|
||||
{
|
||||
void *envp = &argv[argc + 1];
|
||||
char *pagerval;
|
||||
|
||||
if ((char *)envp == *argv)
|
||||
envp = &argv[argc];
|
||||
|
||||
__libposix_init(envp);
|
||||
|
||||
pagerval = getenv("pagerid");
|
||||
|
||||
/* Generic L4 thread initialisation */
|
||||
__l4_init();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user