Linux Insides Notes (i)

Source: Internet
Author: User
As a web front-end engineer, I'm going to write Linux insides notes, look at some operating system things, always think of those years looking at the Osdev wiki days, 30 days of no self-made operating system, and the halfway halfdogos ╯﹏╰ start the text. The computer is power-on, the CPU initializes the program pointer to the ROM in the Oxfffffffo position. into real mode, an ancient 8086-compatible mode, register only 16 bits, the bus only 20 bits, the result is the address space only 1m, in order to let the 16-bit register can only represent 64k register address 1MB space, first people invented the segmentation of this thing. Two registers, one represents the segment start address, one represents the offset, this is equivalent to the 32-bit register can seek 4g address, but the real mode address space only 1mb OK, Oxfffffffo contains to jump to the BIOS instruction, still in ROM, the BIOS has done the hardware self-test a great many things, Then find the bootable hardware. For example, the first 512-byte sector of a hard disk, this sector should be set according to the rules, such as the last Oxaa55 what. The BIOS will load the code such as this area into the RAM address Ox7coo jump, of course, in real mode, the other address what to do all the provisions, the bios of the initialization of what data should be put where, and then the program run to ox7coo,bootloader this thing, Can start from here tell, haha, at least I also rolling my own bootloader, but do not seem to understand the next chapter of the Linux insides to say what ⊙▽⊙ cheers!

Linux Insides Notes (i)

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.