pub fn init()
Expand description
Initializes various kernel components, including:
- The Global Descriptor Table (GDT)
- The Interrupt Descriptor Table (IDT)
- Programmable Interrupt Controllers (PICs)
- Enables CPU interrupts
This function is called at the start of the kernel’s execution.