Hi,
I'm just starting out with the kernel, and I have a small question in relation to integrating the HAL and other libraries.
The way I have it planned in my head, is that I will have the kernel with some basic HAL and C Library functions built in (eg, just enough to print some useful information to screen, basic connsole driver, a method to read files from disk and load them, etc) to keep the kernel as small as possible. I've already built these supporting functions.
Then, with this limited functionality, the kernel can then load a full C library and HAL library.
Does this sound like the right way to do it?
Kernel / HAL / C Library
Re: Kernel / HAL / C Library
Do you mean your stages are right? If you really need to have small kernel so do it.
I really don't see any question there.
I really don't see any question there.
Re: Kernel / HAL / C Library
It's not so much that the kernel has to be small.
What I'm pondering, is how much should be compiled into the kernel?
I would imagine that performance would be better if there is more compiled directly into the kernel, but would this make it potentially less stable?
I guess I'm asking for what others have experienced when building their kernels. I've already described my thoughts, but as I've mentioned, I'm relatively new at this
What I'm pondering, is how much should be compiled into the kernel?
I would imagine that performance would be better if there is more compiled directly into the kernel, but would this make it potentially less stable?
I guess I'm asking for what others have experienced when building their kernels. I've already described my thoughts, but as I've mentioned, I'm relatively new at this
- Love4Boobies
- Member
- Posts: 2111
- Joined: Fri Mar 07, 2008 5:36 pm
- Location: Bucharest, Romania
Re: Kernel / HAL / C Library
We have several pages that will give you a rough idea of the main kernel designs (e.g., monolithic kernels vs. microkernels). This would be a good place to start. Good luck!
"Computers in the future may weigh no more than 1.5 tons.", Popular Mechanics (1949)
[ Project UDI ]
[ Project UDI ]
Re: Kernel / HAL / C Library
Thanks for your help.
I think hybrid might be the way to go
I think hybrid might be the way to go