Page 1 of 2

Is linux a message based kernel?? Help on implementation of

Posted: Tue Oct 01, 2002 4:00 pm
by dori
???
Im wondering.. and I dont know how to implement my gui ;)


right now Im thinking about using messaging between drivers and the like

like messages from the gui to the video driver,

I already have this kernell that you might have heard of: MMURTL that is message based...

is messaging between the GUI server and the Video Driver and the keyboard and mouse and all others going to work well.. this would mean that the video, gui, keyboard, mouse are integral drivers/services of the kernel

am I right???

Just need some help

also, does the API have anything to do witht he way that the kernel is designed???

I want to use XFree86 and Linux API if possible but with my own implementation of the kernel

I mean to make it very simple and efficient.. extra features added later if ever needed but I mean to make it really efficient.

is XFree86 a driver??? I mean how does it fit in the system?? I think the X server is a server that works on the client server messiging system....

correct me if Im wrong in any of the above and clear up what you think you can please

thanks ;)

Re:Is linux a message based kernel?? Help on implementation

Posted: Wed Oct 02, 2002 12:11 am
by Pype.Clicker
imho, Xfree is just another application that runs in user mode. It does not really have message-based API but rather uses the generic i/o system to talk with a low-level driver (framebuffer, etc.)

X applications open a TCP/IP or unix connection to the server and send their requests as bunch of bytes, and also get their response this way. However all this dull job is encapsulated within the xlib.

Re:Is linux a message based kernel?? Help on implementation

Posted: Wed Oct 02, 2002 2:18 pm
by dori
that sounds like a patch/hack rather then a real planned inplementation but seems to work


ok now hows this:
KERNEL
|----------<-------->---------------|
memmeg, taskmag,...drivers(video-><-)-><--GUItask
|->API---------<--->--------------|
|->programs


so the API takes care of carrying msgs from programs to GUI and back(requests...)
The GUI responces and also sends the stuff to drivers..(video)
the GUI gets msgs from drivers(input devices) and replys
the gui also works as a task but not an actual program so it talks to the task manager

thats kind of like having the gui as an in between drivers and tasks.. making it nor a program or a driver... more like a DLL that has to work with EVERYTHING(drivers, taskmag-API, programs/tasks)

does it look right to you

sorry if its sloppy... just need some help with this and the books help but theyre not very clear



AM I MISSING ANYTHING??
thanks

later

Re:Is linux a message based kernel?? Help on implementation

Posted: Wed Oct 02, 2002 2:25 pm
by dori
oh yea, if you got the picture of how MMURTL works in terms of the above(there is no gui) please make a simple diagram


the left ends of the lines are supposed to be pointing at the task manager


thanks

Re:Is linux a message based kernel?? Help on implementation

Posted: Wed Oct 02, 2002 3:01 pm
by Tim
That ASCII art diagram doesn't make a lot of sense. Here it is in a fixed-width font:

[tt]KERNEL
|----------<-------->---------------|
memmeg, taskmag,...drivers(video-><-)-><--GUItask
|->API---------<--->--------------|
|->programs[/tt]

Could you redraw it so everything lines up, please? And surround it with a [ tt]...[/ tt] block.

Re:Is linux a message based kernel?? Help on implementation

Posted: Wed Oct 02, 2002 4:09 pm
by dori
Just a sec, Ill make it in paint, then u can mod it easily in paint

Re:Is linux a message based kernel?? Help on implementation

Posted: Wed Oct 02, 2002 4:42 pm
by dori
3days_in_darkness.tripod.com/kernel.bmp

cut n paste

Re:Is linux a message based kernel?? Help on implementation

Posted: Wed Oct 02, 2002 7:53 pm
by gtsphere
is that MMURTL book any good?

Re:Is linux a message based kernel?? Help on implementation

Posted: Thu Oct 03, 2002 8:44 am
by soilwork
yes its a very good book... I really suggest you buy it.

Im going to use it as a base for my operating system as its very basic and robust... message based, multitasking, 32bit.. C

I just need to figgure out how to use a C++ compiller with it. if you can help. thanks

later

Re:Is linux a message based kernel?? Help on implementation

Posted: Thu Oct 03, 2002 9:22 am
by gtsphere
would you be willing to post the code (or a link to it) for the kernel??? that would be so awesome, i actually think my girlfriend is getting me the book for x-mas! :-)

Re:Is linux a message based kernel?? Help on implementation

Posted: Thu Oct 03, 2002 1:47 pm
by soilwork
well, that would be illegal...I think.. I dunno, I might

a good thing would be getting the PDF version of the book.. u pay like 20 bucks for it and dl it

but now that they make nice binding, u can get the actual book...

I got one with crappy binding and am pissed off... the binding broke off and I can barely open it.. no way carry it

later

Re:Is linux a message based kernel?? Help on implementation

Posted: Fri Oct 04, 2002 9:06 am
by soilwork
bump

Re:Is linux a message based kernel?? Help on implementation

Posted: Fri Oct 04, 2002 5:27 pm
by dori
again, here is the link to the diagram

3days_in_darkness.tripod.com/kernel.bmp


please coment...

Re:Is linux a message based kernel?? Help on implementation

Posted: Sun Oct 06, 2002 2:21 pm
by Tim
ERROR
The requested URL could not be retrieved

--------------------------------------------------------------------------------

While trying to retrieve the URL: http://3days_in_darkness.tripod.com:80/kernel.bmp

The following error was encountered:

Invalid URL
Some aspect of the requested URL is incorrect. Possible problems:

Missing or incorrect access protocol (should be `http://'' or similar)
Missing hostname
Illegal double-escape in the URL-Path
Illegal character in hostname; underscores are not allowed
Your cache administrator is webmaster.



--------------------------------------------------------------------------------
Generated Sun, 06 Oct 2002 20:20:55 GMT by proxy4.enta.net (Squid/2.4.STABLE1)

BTW: if you're not getting any responses to a post, don't just write 'bump' replies. If nobody answers, they're either being slow, nobody knows the answer, or nobody wants to reply.

Re:Is linux a message based kernel?? Help on implementation

Posted: Mon Oct 07, 2002 9:30 am
by soilwork
3days_in_darkness.tripod.com:80/kernel.bmp