Linux basis - study notes: Introduction to Computer

BIOS

BIOS work flow analysis

Computer's boot process is carried out under the control of the motherboard BIOS, the BIOS is also known as the "System BIOS", its content in a particular area of ​​the south bridge chip CMOS battery on the motherboard it is to save the information and provide power CMOS of. In addition to this, "the system the BIOS", each PCI device may also provide their own the BIOS, their function is direct access to the device where the PCI configuration registers to obtain information PCI device, the configuration parameters of PCI devices, to complete the initialization PCI devices and the like .

three phases:

  1. Pown On: power from the front to the screen message appears. The main task is to check the correctness of the contents of the CMOS
  2. POST (Power On Self Test): Check the key equipment (such as graphics, memory) if it works
  3. Loading Bootloader: all hardware is normal, the master boot sector is loaded and executed in the Bootloader

Bootloader

Bootloader is the first piece of code embedded system power-executed code initializes cpu and related hardware resources, and ultimately the kernel boot loader, boot other operating systems. Bootloader finished booting the kernel, resource operation rights will be handed over to the kernel, then the kernel like a never-quit while (1) loop is executed with.

Operating system hierarchy

Here Insert Picture DescriptionCore layer: Direct written reference hardware specifications, so the same core can not be run on different hardware architecture
system call: a set of development interface provides the core layer up for the high-level language use

The main function of the operating system

The main function of the operating system

  1. Providing system call interfaces
  2. Processor Management
  3. Memory Management
  4. File System Management
  5. Device Management
Published 61 original articles · won praise 11 · views 4822

Guess you like

Origin blog.csdn.net/weixin_43249758/article/details/104522483
Recommended