Hi,everyone.
For the past few weeks, I was coding a little multi-process kernel.
Now I've finished entering pmode and two separate processes can display A&B
on screen (like linux 0.00 : ).
I'm planning to support a.out file format in this system, but there are some problems I can't manage.
1. If I want to fork a process and execute an executable file such as shell. How
can I put the executable file from the outside to my kernel's file system, because I want to compile the source code in Linux.Alternatively, I can compile the shell in my kernel, but it seems to be too complex . It's like building a small file system rootimage with shell in /bin.
Can you guys give me some suggestions or links about managing these stuff?
Thx for your patience.
how to build file system rootimage?
JamesM will love me for this
You should check out his tutorials here: jamesmolloy.co.uk
edit: bbcode
--Michael
You should check out his tutorials here: jamesmolloy.co.uk
edit: bbcode
--Michael
Re: how to build file system rootimage?
Perhaps, you need write code to support file system, and .out execution file format parse.
And write code to support fork new processes or other. that's too a great lot code.
And write code to support fork new processes or other. that's too a great lot code.