flat assembler
Message board for the users of flat assembler.

Index > Tutorials and Examples > Segmented Kernel.

Author
Thread Post new topic Reply to topic
MaoKo



Joined: 07 May 2019
Posts: 86
Location: Paris/French
MaoKo
Hello. Here is an small educational segmented kernel.
https://github.com/MaoKo/Segmented_Kernel
There is a kernel space and user space. In the user space, I implement a small shell.
You can switch between different "tty" with ctrl-b (backward) and ctrl-n (next).
Here I use TSS to fully exploit the isolation of the different tty with different address space (ldt) as well.
I use call gate for system call. I reserve empty slot in the GDT and LDTs to allow the kernel to be able to load dynamically without changing the gdt base.
If you have any recommendation, please tell me Smile.
Post 18 Jan 2021, 06:01
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.

Website powered by rwasa.