Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
02/12/02 17:04
Read: times


 
#19725 - RE: help on kernel writing
pranav,

I would also suggest an off the shelf RTOS but admire your interest in writing one to acquire knowledge. Have you looked at:

http://www.goosee.com/old/RTOS.htm

Should you acquire an "off the shelf" RTOS you will still need to investigate issues such as task priority as they are crucial to the proper operation of a system. The attempt to build an RTOS (even if you fail) will give you great insight into using other products. I hope this is a project and not a product as a good deal of "ramp up" time will be required.

Priorities really can't be "static" and should have a variety of "levels" for priority. Dynamic priorities are an efficient way to break deadlock from inversions and multiple attempts to acquire a system resource.

In your kernel a process attaches to some resource(s). When a program fires off and finds it has no input or resource service requirement it should lower it's priority slightly. Resources, when active, signal the kernel that they have a service requirements. The kernal recognizing the the attached Service Routine for this resource bumps it's priority.

regards,
p




List of 7 messages in thread
TopicAuthorDate
help on kernel writing            01/01/70 00:00      
RE: help on kernel writing            01/01/70 00:00      
RE: help on kernel writing,erik            01/01/70 00:00      
RE: help on kernel writing            01/01/70 00:00      
RE: help on kernel writing,to philip            01/01/70 00:00      
RE: help on kernel writing            01/01/70 00:00      
RE: help on kernel writing,erik            01/01/70 00:00      

Back to Subject List