base cross-platform kernel system
Posted: Wed Mar 09, 2005 8:30 am
I'm busy making my kernel a lot more portable and the changes have shown me exactly how much of the kernel is actually just logic versus hardware-specific implementation.
So, assuming that you have the basic logic section - the kernel proper - and it has a list of available, generic functions which the hardware-specific sections should provide, the matter of porting merely becomes implementing those funtions on each platform you want.
But then I thought, what if you were to just provide the hardware-specific sections and have that jump into an empty logic section?
Also, what if the logic section were to have certain guarantees about the enviroment it runs in: (no interrupts, paging, safe to switch tasks, safe to acces memory, ... etc ... or reasonable emulations of those abilities )
What you'd get is a cross-platform kernel base on which you could implement different logic - (and therefore different kernels? )
So... yeah... is there such a thing out there already? A cross-platform kernel base?
Like ... cut, paste, insert logic, run ...
So, assuming that you have the basic logic section - the kernel proper - and it has a list of available, generic functions which the hardware-specific sections should provide, the matter of porting merely becomes implementing those funtions on each platform you want.
But then I thought, what if you were to just provide the hardware-specific sections and have that jump into an empty logic section?
Also, what if the logic section were to have certain guarantees about the enviroment it runs in: (no interrupts, paging, safe to switch tasks, safe to acces memory, ... etc ... or reasonable emulations of those abilities )
What you'd get is a cross-platform kernel base on which you could implement different logic - (and therefore different kernels? )
So... yeah... is there such a thing out there already? A cross-platform kernel base?
Like ... cut, paste, insert logic, run ...