Answer the question
In order to leave comments, you need to log in
Why does the processor not immediately boot into protected or 64-bit mode?
Why does the processor not immediately boot into protected or 64-bit mode? And why do we need real mode at all?
Answer the question
In order to leave comments, you need to log in
Why is it not loading directly?
In efi mode, it is just immediately protected and starts
In real mode, everything is somewhat simpler, because. real memory addresses are available. For example, device ports are available at their real addresses. You can quite easily pre-initialize the equipment.
Enabling protected mode implies at least the presence of a software layer that will work with the MMU - allocate / free memory, map real addresses to virtual ones, etc. In addition, the MMU itself is not enabled by default and must be enabled programmatically in real mode. Something like this.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question