OS/2 personality server
Posted: Mon Mar 11, 2019 10:43 am
Viking
Joined: 29 Sep 2006
Posts: 44
Location: Sweden
PostPosted: Wed Nov 07, 2007 4:25 pm Post subject: coding on os2srv for L4/Fiasco Reply with quote
Hi
I have emailed to Yuri about his work on the os2srv and he has no time at present to work on it, only after NY (new year?). His version now parses the config.sys and tries to start the PROTSHELL app, but it crashes.
So I have been looking at what and how my own version would look like.
Read the config.sys through a file provider from bmodfs (boot modules).
Some translation layer above file provider to reroute a path, like "c:\config.sys" to the file providers "/config.sys", a kind of "symbolic mount".
To read the a file, one uses something like this: l4fprov_file_open_call()
From the example "tudos/l4/pkg/generic_fprov/examples/cat/main.c".
But now I am stuck how to allocate virtual memory for a new process or "task". Maybe the function l4rm_area_reserve_region(addr,size,flags,*area) could work? Does anyone know if this creates a new VM address space or just allocates in the same virtual area in the os2 server?
/Viking
Joined: 29 Sep 2006
Posts: 44
Location: Sweden
PostPosted: Wed Nov 07, 2007 4:25 pm Post subject: coding on os2srv for L4/Fiasco Reply with quote
Hi
I have emailed to Yuri about his work on the os2srv and he has no time at present to work on it, only after NY (new year?). His version now parses the config.sys and tries to start the PROTSHELL app, but it crashes.
So I have been looking at what and how my own version would look like.
Read the config.sys through a file provider from bmodfs (boot modules).
Some translation layer above file provider to reroute a path, like "c:\config.sys" to the file providers "/config.sys", a kind of "symbolic mount".
To read the a file, one uses something like this: l4fprov_file_open_call()
From the example "tudos/l4/pkg/generic_fprov/examples/cat/main.c".
But now I am stuck how to allocate virtual memory for a new process or "task". Maybe the function l4rm_area_reserve_region(addr,size,flags,*area) could work? Does anyone know if this creates a new VM address space or just allocates in the same virtual area in the os2 server?
/Viking