Regarding Kernel Architecture

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
ezanahka

Regarding Kernel Architecture

Post by ezanahka »

Ok guys, I need your advice.

As some of you know, I'm developing a forth-based exokernel-ish customisable kernel based on the idea of making the kernel itself a simple forth-like stack language interpreter.

The issue that has now come to my mind is whether I should or shouldn't proceed with this plan or to instead switch to on-the-fly compilation and make all device/hw abstraction a matter of generic programming and objects. I will probably switch to on-the-fly compilation because that simplifies the whole design of the heart of the kernel itself.

So can anyone here tell me or warn me why I should not abstract all of my device drivers into objects with a more or less similar interface? I thinking of something like stream objects or a universal device filesystem in order to be able to abstract everything unto utter simplicity so that even a dumbass like me can write good generic and reusable code... So do you guys know any problems with an approach like this? Comments are greatly appreciated...

Furthermore do you guys know if I can expect some unknown difficulties when making OO-like interfaces with assembler? I know that the performance may drop a little but thats not a problem if it drops only a little because of extra address calculation because of indirect references...

- Esa
ASHLEY4

RE:Regarding Kernel Architecture

Post by ASHLEY4 »

I do not have any experience with oo-like interfaces with assembler,But i know v2os was do some thing similar, May be there is some good info on there site ?.
  http://www.v2os.cx/

Hope this helps
ASHLEY4.
ezanahka

RE:Regarding Kernel Architecture

Post by ezanahka »

Ok, after visiting the Tunes CLiki I must say I'm a believer.  I'll lose the idea of having a kernel in my system.  Now it's just the on-the-fly compiler which is used to build either build or load the system modules and the HAL.

- Esa
Post Reply