my name is Dennis Gronewold, I'm studying computer science at the university of
Duesseldorf, Germany and I'm currently writing my bachelor's thesis about
managed operating systems in general and SharpOS in particular.
My goal is to implement a basic scheduler for SharpOS using the multilevel
feedback queue algorithm. I have it mostly working, and am now looking into
testing thread blocking on I/O requests. I have not yet developed a deeper
understanding of the driver architecture and thought maybe some of you guys can
help me out.
For now, I just need a simple way to start an I/O request from a thread, have
the dispatcher notified to block this thread and wake it up again when the
request completes. I'm not sure if it's possible with the current state of
things. I have been fiddling around with the floppy disk driver, but could not
get it working.
I have been looking into the Windows Driver Model and it has an I/O-Manager to
start the I/O, notify the dispatcher etc.. Are there plans on implementing
something like that in SharpOS?
So much for now,
Dennis
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
SharpOS-Developers mailing list
SharpOS-D...@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sharpos-developers
Good work. I may not speak for everybody on this list, but here
are my thoughts:
- From a software engineering standpoint, SharpOS currently has no
architecture at all. Mostly things are hacked together to work somehow. I'm
not certain if anyone is able to help you.
- Some of the devs, who are very concerned about this are just now starting
these things in the scope of the MOSA project. (shameless plug:
www.mosa-project.org)
- It is the goal (at least my understanding) to reuse/adopt MOSA components
in order to have a properly architected kernel model.
Anyhow to answer your questions: An I/O manager is a central component of
any operating system. Some may not explicitly state that though. The I/O
manager is responsible for many things, like file system caching and I/O
scheduling. So I'd say yes, there are plans to have an I/O manager at some
point (independent of its source.)
I'm right now finishing off my diploma thesis (HTW Dresden, Computer Science
;)) and hope to spend the freed time to start small working groups for key
kernel components soon (again in the MOSA scope.)
Hope this helps,
Michael
> -----Ursprüngliche Nachricht-----
> Von: sharpos-devel...@lists.sourceforge.net
> [mailto:sharpos-devel...@lists.sourceforge.net] Im
> Auftrag von Dennis Gronewold
> Gesendet: Mittwoch, 17. September 2008 21:39
> An: sharpos-d...@lists.sourceforge.net
> Betreff: [SharpOS Developers] Introduction and questions
sorry for the late reply.
I've ditched the idea to test blocking with the floppy driver etc.
Instead I've been working on getting several consoles running in their
own threads and block them on waiting for keyboard input. This seems to
work well enough for now.
As for implementing a scheduler within the MOSA framework: I would be
interested in that, but that'll probably have to wait until I finish my
thesis in November.
In meantime I'll probably ask some more questions about how some stuff
works ;-)
Dennis