Qianzhiang + Original works reproduced please specify the source + "Linux kernel analysis" MOOC course http://mooc.study.163.com/course/USTC-1000029000
1. Experimental results
This week is primarily the environment for building Linux kernel tests, as well as simple analysis of the relevant functions and execution steps of the Linux kernel.
The first is to load a memory image into an experiment running in the kernel, where the menu program is used. The experimental results are as follows.
The second experiment is to build GDB's test platform, using GDB to set breakpoints and set breakpoints at Start_kernel. Here are the results of the experiment
2 Run Analysis 3 summary
During the Linux boot process, there is a startup process called Process No. 0, which is not visible to the Linux system, and all other processes are created by this process. That is to say, Process1 is also created by PROCESS0. The idle process is mainly called by the system when the system is idle.
Third week kernel debug