Polkovnik Kernel

This forums is for OS project announcements including project openings, new releases, update notices, test requests, and job openings (both paying and volunteer).
Post Reply
chezzestix
Member
Member
Posts: 118
Joined: Mon May 05, 2008 5:51 pm

Polkovnik Kernel

Post by chezzestix »

This is going to be the WIP topic for my kernel. All my pertaining questions and news will be placed here.

Polkovnik Goals:
Small
Stackable
High Performance, its going to need it if its stacked

Question One:
How do I transfer control to programs and get it back in x commands? The only way I can think is making the programmer return control to the kernel when they make a call for kernel resources with high priority threads getting multiple calls before round robin moves on. However this leaves the system open to any program that doesnt need any kernel managed resources and ties up the computer for an unspecified time.

The most obvious fix for this is to make every resource kernel managed but I hate to bother the programmer every time they want to access the ram.
User avatar
JamesM
Member
Member
Posts: 2935
Joined: Tue Jul 10, 2007 5:27 am
Location: York, United Kingdom
Contact:

Post by JamesM »

This belongs in the Announcements and test requests forum.
iammisc
Member
Member
Posts: 269
Joined: Thu Nov 09, 2006 6:23 pm

Post by iammisc »

Why does it need to be after a certain amount of instructions, why can't it just be after a certain amount of time?
chezzestix
Member
Member
Posts: 118
Joined: Mon May 05, 2008 5:51 pm

Post by chezzestix »

Time works too but I still dont know how to do that... however as soon as you tell me Im sure I will go "oh... right."

Or atleast a link to a tutorial.
User avatar
JamesM
Member
Member
Posts: 2935
Joined: Tue Jul 10, 2007 5:27 am
Location: York, United Kingdom
Contact:

Post by JamesM »

Use the timer? I assume you're trying to implement multitasking, right?
User avatar
inflater
Member
Member
Posts: 1309
Joined: Thu Sep 28, 2006 10:32 am
Location: Slovakia
Contact:

Post by inflater »

Sorry for a OT, but are you a Russian cheezestix? :)
My web site: http://inflater.wz.cz (Slovak)
Derrick operating system: http://derrick.xf.cz (Slovak and English :P)
chezzestix
Member
Member
Posts: 118
Joined: Mon May 05, 2008 5:51 pm

Post by chezzestix »

@inflater
Nope but the code name for my future os is Commune. The russians had quite the thing for communes a few years back so I chose a russian word to name my kernel. Its not all that original but I think I get a few original points back for using the russian word.

@JamesM
Correct, I was looking for a more general list of thigs I had to do but I think I pretty accuratly compiled one. The kernel is just at a stand still until I figure out why my bootloader is having trouble getting into protected mode.
Post Reply