Hi
i have programmed a boot sector that switch to pm
and load a kernel that trap all the interrupt,i want to know
what is next?
if i have to programm a scheduler i know the theories but nothing about implementation please help me.
thanks
help
Re: help
depends on what your are trying to achieve.. how about memory management? task scheduler? dynamic program loader/shared library manager, etci have programmed a boot sector that switch to pm
and load a kernel that trap all the interrupt,i want to know
what is next?
if i have to programm a scheduler i know the theories but nothing about implementation please help me.
thanks
Re: help
From my point of view, the next thing is to implement an easy example of switching...
If you use an Intel processor you cuold use Intel's stuff for task switching (TSS, etc), there are some aexamples and a lot of docs (Intel documentation is hard to read...). If you want your OS depending hardly on the processor. all this things could be useful (when you have understood it!)
You also could make your own task switch without using processor facilities...you have some ideas in TASK SWITCHING topic...
To begin: two things...
1) try to pass from ASM to a high level lenguage like C. You have to make a clear interface betwen both. This isn't necesssary but will make it easier for you...
2) Define a few tasks (3 or 4) on your system that could pass the control to others or something like that, so you can check your task switching...
If you use an Intel processor you cuold use Intel's stuff for task switching (TSS, etc), there are some aexamples and a lot of docs (Intel documentation is hard to read...). If you want your OS depending hardly on the processor. all this things could be useful (when you have understood it!)
You also could make your own task switch without using processor facilities...you have some ideas in TASK SWITCHING topic...
To begin: two things...
1) try to pass from ASM to a high level lenguage like C. You have to make a clear interface betwen both. This isn't necesssary but will make it easier for you...
2) Define a few tasks (3 or 4) on your system that could pass the control to others or something like that, so you can check your task switching...