3 ms·
I can't help but suspect the first item on the list was the whole reason for this project. :) Hardware initialization: ==> Setting the keyboard repea
by m463 6y ago
I can't help but suspect the first item on the list was the whole reason for this project. :)
Hardware initialization:
==> Setting the keyboard repeat rate.
Disable interrupts and mask all interrupt levels.
Setting Interrupt descriptor (IDT) and segment descriptor (GDT). As a result,
all selectors (CS, DS, ES, FS, GS) refer to the 4 Gbyte flat linear address space.
Change the address bus to 32 bits (Enable A20 line).
Transition to protected mode.
If the target is ELF64, set the 4G boot pagetable and transition to long mode.