Check the Linux kernel-general Linux technology-Linux programming and kernel information. For more information, see the following. Finally, I insisted on viewing the Linux kernel. Having understood a lot of things, my doubts have been liberated.
Key points:
1. In the startup phase, switch between several execution environments: real mode-"temporary" protection mode-"formal" protection mode. When switching from the real mode to the temporary protection mode, the key point is to prepare a temporary GDT, which must contain the code segment and data segment, and must contain the linear address space (at this time, there is no paging, that is, the physical address space ).
2. GDT
A descriptor is required, which corresponds to the logical address space and linear address space (the logical address and linear address are the same );
3. BIOS
It can be seen that after entering the kernel code, the original BIOS is basically useless. The interrupt/Exception Handling pointed to by IDT is implemented by kernel-related assembly code or C functions.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service