flat assembler
Message board for the users of flat assembler.
Index
> OS Construction > Searching for a Tutorial on how to write a Hybrid Kernel |
Author |
|
dstyl 09 Jan 2016, 19:21
Im searching for a Tutorial how to write a simple Hybrid Kernel.
But couldnt find one. If you know one please link it. Thx in Advance. |
|||
09 Jan 2016, 19:21 |
|
ACP 09 Jan 2016, 22:16
I doubt you will find one that will fit your needs judging from your question, but if you need a good starting point I'd suggest to read this book: Modern Operating Systems (4th Edition)
|
|||
09 Jan 2016, 22:16 |
|
dstyl 09 Jan 2016, 22:51
Thank you for your answer. Sadly the recommended book is to expensive for me. I would favour a quick Tutorial to get me on the right path.
|
|||
09 Jan 2016, 22:51 |
|
sleepsleep 10 Jan 2016, 01:45
google PH.Modern.Operating.Systems.4th.Edition.2014.3.pdf
|
|||
10 Jan 2016, 01:45 |
|
cod3b453 10 Jan 2016, 23:44
It sounds like your focus is on the "hybrid" part - all this refers to is how you partition your drivers/services with respect to system (ring 0) and user (ring 3) mode. Most of this will be the same across all patterns (monolithic/hybrid/micro) except for the privileged instructions (ring 0 only) and IO access or IRQ ISRs (both can be any ring or restricted - up to you). The problem is this means it's actually not simple - you'll want to read about monolithic and micro then decide how you want to proceed.
The two major factors are: security vs speed and/or complexity of kernel vs drivers/services. Do you have any particular preferences for these? |
|||
10 Jan 2016, 23:44 |
|
dstyl 11 Jan 2016, 22:00
Thx for answer.
My goal is to create a simple hybrid kernel demo. Kernel should be as simple as it gets. Drivers should be handled by an iokit. A part that i dont know how i will call it will manage the filesystem. all of them should lie in ring0. Thats my plan until now. PROGRAMS - a SHELL for example ---------------------------------------------- LIBS - ?AUDIO? - other stuff ---------------------------------------------- FILESYSTEMMANAGER - KERNEL - IOKIT im trying to get a similar structure to the xnu kernel Im an absolute beginner in os construction and im having at the moment trouble with a very basic kernel that only can print strings and start a shell and read basic keyinput, but only to videomemory. I just want to know how to get the layout for a hybrid kernel wright at the beginning. If you want you can look at the current source. Maybe you find some stuff that i made wrong.
|
|||||||||||
11 Jan 2016, 22:00 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.