[kernel] Make stdout channel available to processes

The "fake" stdout channel is now being passed in the new j6_process_init
structure to processes, and nulldrv now uses it to print a message to
the console.
This commit is contained in:
2020-08-30 18:47:14 -07:00
parent 724b846ee4
commit 42455873ff
7 changed files with 58 additions and 10 deletions

View File

@@ -20,3 +20,10 @@ typedef uint64_t j6_signal_t;
typedef uint64_t j6_rights_t;
#define j6_handle_invalid 0xffffffff
/// A process' initial data structure for communicating with the system
struct j6_process_init
{
j6_handle_t input;
j6_handle_t output;
};