help

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
alirahb

help

Post by alirahb »

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
df_at_work

Re: help

Post by df_at_work »

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
depends on what your are trying to achieve.. how about memory management? task scheduler? dynamic program loader/shared library manager, etc
Im_VLAVI

Re: help

Post by Im_VLAVI »

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...
Post Reply