I am currently 'dreaming' about writing a small micro-kernel for a custom processor. The main reason for doing so is to have an easier way for interfacing a more complicated OS on top of it. However, I know very little about these things.
I have read some basic OS books like the one by Andrew Tanenbaum and the 386BSD Kernel book and I liked the way they presented things.
Does anyone have any good suggestions on good references/books that deal with micro-kernels? Preferably one written like the ones above, with judicious code examples and detailed explanation of the factors influencing the code.
Updated: Maybe micro is not really what I want. More like nano or pico. This is because it is targeted for embedded apps.