What would this kernel architecture be classified as?
Posted: Thu Jan 24, 2019 9:40 pm
Hello, I am not sure as to what this type of kernel architecture would be classified as. I'm guessing it's a hybrid kernel, more-so on the micro-kernel side, but I am not sure. This is the type of kernel that I am building, so if anyone has any additional critiques, am more than happy to hear them! ^^
My kernel is structures as follows:
There is a distinction between user-mode and kernel-mode device drivers. User-mode device drivers are used to extended ALREADY EXISTING kernel functionality to the user, and kernel-mode drivers are used to implement NEW functionality to the kernel.
EDIT
User-mode device drivers are the same as a standard user-process, as I call them, and not a kernel-process. Hidden from standard user-mode processes, and user-mode drivers do communicate to the kernel via messages.
So, you would have kernel-mode drivers such as, a FAT (12, 16, 32) kernel-mode device driver, an EXT (1, 2, 3, 4) kernel-mode device driver, etc, etc.
And then you would have a user-mode device driver which is the file-system (the virtual file system, I suppose), and it uses the kernel to handle files, which has extended functionality thanks to the kernel-mode device drivers.
You can go even further by having one kernel-mode graphic-card device driver to allow the kernel to work with graphics-cards, and then user-mode device drivers for certain things, I guess. Idk, just giving examples.
Again, I cannot tell if this a hybrid-kernel, or a micro-kernel. And critiques and (constructive, hopefully) criticisms with regards to my way of doing things are much appreciated.
Kind Regards,
Joe
My kernel is structures as follows:
There is a distinction between user-mode and kernel-mode device drivers. User-mode device drivers are used to extended ALREADY EXISTING kernel functionality to the user, and kernel-mode drivers are used to implement NEW functionality to the kernel.
EDIT
User-mode device drivers are the same as a standard user-process, as I call them, and not a kernel-process. Hidden from standard user-mode processes, and user-mode drivers do communicate to the kernel via messages.
So, you would have kernel-mode drivers such as, a FAT (12, 16, 32) kernel-mode device driver, an EXT (1, 2, 3, 4) kernel-mode device driver, etc, etc.
And then you would have a user-mode device driver which is the file-system (the virtual file system, I suppose), and it uses the kernel to handle files, which has extended functionality thanks to the kernel-mode device drivers.
You can go even further by having one kernel-mode graphic-card device driver to allow the kernel to work with graphics-cards, and then user-mode device drivers for certain things, I guess. Idk, just giving examples.
Again, I cannot tell if this a hybrid-kernel, or a micro-kernel. And critiques and (constructive, hopefully) criticisms with regards to my way of doing things are much appreciated.
Kind Regards,
Joe