flat assembler
Message board for the users of flat assembler.
Index
> Tutorials and Examples > Segmented Kernel. |
Author |
|
MaoKo 18 Jan 2021, 06:01
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 . |
|||
18 Jan 2021, 06:01 |
|
bitRAKE 14 Aug 2021, 09:16
|
|||
14 Aug 2021, 09:16 |
|
MaoKo 14 Aug 2021, 13:38
Ha thanks you . Currently working on APIC/SMP stuff. Very interesting.
|
|||
14 Aug 2021, 13:38 |
|
MaoKo 14 Aug 2021, 19:45
Yes thanks. I try to mimic the convention used in the old day of IAPX. At the time ASM286 was in use and I guess very readable code was primordial between team.
This is a sample of code found in the IAPX man:
|
||||||||||
14 Aug 2021, 19:45 |
|
MaoKo 14 Aug 2021, 19:47
Btw a very good man ;D
|
|||
14 Aug 2021, 19:47 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.