libk  Diff

Differences From Artifact [6007ea2ce5]:

To Artifact [a5bf4923b7]:


     1      1   #include <k/core.h>
     2      2   extern stat entry(kenv);
     3      3   
     4         -stat _boot(unsigned int argc, char** argv) {
            4  +unsigned long long
            5  +_boot(unsigned int argc, /* argument count */
            6  +		char** argv, /* arguments */
            7  +		char** envp /* environment */ ) {
     5      8   	kenv e = { 
     6         -		// todo: determine terminal class and set term vs ansi correctly!
            9  +		/* TODO: determine terminal class and set term vs ansi correctly! */
     7     10   		{ {kiostream_term, 0}, {kiostream_term, 1} }, // chan std
     8     11   		{ {kiostream_closed},  {kiostream_term, 2} }, // chan err
     9         -		argc, argv,
    10         -		null // no environment yet
           12  +		argc, argv, 
           13  +		null // needs parsing
    11     14   	};
    12     15   	return entry(e);
    13     16   }
    14     17