Hi Dennis:

I have been working on the device driver model for SharpOS and as part of
the MOSA project. Right now, SharpOS can not properly handle interrupts
since the shell executes within an interrupt - which means all other
interrupts are ignored - like the floppy device driver. The basic IDE driver
works, however, since it's not interrupt driven due to the issues with
interrupts - it uses polling instead. We are really attempting to solve
these issues within MOSA framework (and later incorporate back into SharpOS,
if everyone agrees).

Neither project has yet to tackle the process/task scheduler - or the
concept of a process or thread yet.

However, I would like to work with you, if you are interested, on
implementing a scheduler with thread blocking for IO requests (or even
asynchronous IO operations). Even though we do not have a bootable OS (with
the MOSA framework) we do have an emulated environment available which runs
under the a hosted CLR environment. I have been using it to test and debug
the disk partitions and file systems support, for example. We could probably
do something similar with a scheduler and IO manager until we get a bootable
OS. It turns out with the right abstractions and interfaces, for example to
memory and IO ports, we can completely avoid unsafe code and pointers to
real memory, and substitute proxies instead, like to a byte array to
simulate real memory. With some skill and luck from the compiler developers,
when the MOSA framework is bootable, the rest of the framework will work
also.

The best place to communicate is via IRC channels #sharpos or #mosa on the
freenode network. I'm in southern California (unlike all the other German
developers), so I'm available mostly in the evenings/nights pacific time.
Also, subscribe to the MOSA mailing list, visit www.mosa-project.org for the
links.

I look forward to talking/working with you,

Phil


On Wed, Sep 17, 2008 at 12:38 PM, Dennis Gronewold <[EMAIL PROTECTED]>wrote:

> Hello everyone,
>
> 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-Developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/sharpos-developers
>
-------------------------------------------------------------------------
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-Developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sharpos-developers

Reply via email to