mirror of
https://github.com/wichtounet/thor-os.git
synced 2025-09-24 04:04:49 -04:00
Updated Boot Process (markdown)
parent
10067ffcee
commit
ef38f1a223
@ -3,5 +3,5 @@ The boot of the operating system is made in several steps:
|
||||
1. The bootloader (ASM) is started from 0x07C0 in memory
|
||||
2. The bootloader reads the second sector of the floppy, loads it at 0x900 and jumps to it
|
||||
3. The second step bootloader (ASM) loads the operating system from the floppy, loads it at 0x1000 and jumps to it
|
||||
4. The micro kernel (ASM) goes into protected mode, loads the GDT, goes into long mode, loads the IDT and setup ISRs and IRQs handlers, finally it enters the C++ kernel at 0x5000.
|
||||
5. The kernel itself (C++) finally takes the run and init the PIT and the keyboard and displays a shell. It is also responsible for configuring paging for dynamic memory allocation.
|
||||
4. The kernel goes into protected mode, loads the GDT, goes into long mode, loads the IDT and setup ISRs and IRQs handlers and then it is ready for normal usage
|
||||
5. The kernel init the PIT and the keyboard and displays a shell. It is also responsible for configuring paging for dynamic memory allocation.
|
Loading…
x
Reference in New Issue
Block a user