the process of kernel compilation
1. Download Kernel source code tree extract to/usr/src# Tar XF linux-3.13.5.tar.xz-c/usr/src# Ln-sv/usr/src/linux-3.13.5/usr/src/linux2. The kernel configuration profile is stored in the kernel s
Linux Kernel development-Process Control and Linux kernel development process
This chapter mainly analyzes the definition, status, data structure, and other concepts of processes from the perspective of code.
Process Definition
A process is a running program and a dynamic executable entity. A program is a collection o
Most Linux instances are single-coreThe operating system kernel may be a micro kernel or a single kernel (which is sometimes called a macro kernel macrokernel ). These terms are defined as follows in a similar encapsulation:L microkernel (microkernel)-In the microkernel, mos
Introduction to the Linux kernel module the overall structure of the Linux kernel is already very large, and it contains many components. How can we include all the required parts in the kernel?One way is to compile all required functions into the
Understanding of linux User Mode and kernel mode switching, linux User Mode Kernel
1. Differences between the concepts of user State and kernel state
What is the user State and kernel state? These two basic concepts have never bee
One: The origins of LinuxLinux is an open-source computer operating system kernel. It is a Unix-like operating system written in C and POSIX compliant, and Linux was originally developed by Finnish hacker Linus Torvalds to try to provide free and free Unix-like operating systems on the Intel x86 architecture. The program began in 1991 with the help of some minix hackers in the early stages of the program, a
Linux Kernel compilation practice-Linux configuration and kernel compilation utility-general Linux technology-linux programming and kernel information. For details, see the following. M
Linux kernel source code compilation and Linux kernel source code compilation
Ubuntu14.04 system compilation 3.16.1 Kernel
My system is completely new (just installed and updated 20140906)Download the linux-3.16.1 system and unzip
Linux kernel:Kernel design Genre:Single core design, but fully learn the advantages of micro-kernel system design, for the kernel introduced a modular mechanism, the core height of modularity;After the kernel is modularized, some of the most basic and important content is compiled into
Review 1.中断上下文的切换——保存现场恢复现场Main course content of this section introduction to Linux kernel source code1. Open the Kernel source code pagearch/目录:支持不同CPU的源代码;其中的X86是重点init/目录:内核启动相关的代码基本都在该目录中(比如main.c等)start_kernel函数就相当于普通C程序的main函数kernel/目录:Linux内核核心代码在
Linux Kernel development-process scheduling and Linux kernel Process Scheduling
This section briefly introduces the knowledge about process scheduling in kernel development.
What is process scheduling?
Process Scheduling is to select the most appropriate process executio
Add a kernel module in linux and a kernel module in linux
1. Introduction to Kernel Modules
The Linux kernel has a very large integer structure, and many components are contained in the
try to read a kconfig file.
OK, now that we have an understanding of these keywords, let's take a look at the formation of this menu list. After running make menuconfig, the system's configuration tool first analyzes the/arch/arch/kconfig corresponding to the architectureThe file (the Arch argument that appears here is at the end of this article). It actually refers to the
second, another important role------introduction of Kbuild Makefile
The Kconfig file helps the user complete the confi
first, the kernel timer
1. Basic ConceptsIn some scenarios, we need to do some action after a certain time, but do not want to wait and waste the CPU, this time the timer is a very appropriate mechanism. The timer is used to perform a function at a future point in time to accomplish a specific task.
The kernel timer tells the kernel to use specific parameters to
I. i386 Linux operating system startup processBiOS power-on self-check --> load the interrupt vector to a memory unit of 1024 bytes --> execute int h soft interrupt vector call, load and start the boot program stored in the hard disk MBR, the final identifier of the MBR with the system disk is 55aah. The MBR boot program loads and starts the boot program stored in the active partition PBR --> BIOS loads the kernel
The kernel is a very small part of the entire operating system. According to Google's R D strength, it is not that difficult to develop a kernel? Is it really difficult to develop the kernel, or is Google making Android use the Linux kernel based on some considerations? The
Linux network subsystem Kernel Analysis, linux subsystem Kernel
Select route
To send data packets to PC2, the linux system queries the route table to see that the 168.1.1.10 (Destination Address) gateway address is 192.168.1.1. In this case, the
1. Configure the Environment
Operating system: CentOS 5.2
Download linux-2.6.18 version of kernel, URL: http://www.kernel.org
Description: The compiled document is suitable for 2.6. More than 18 of the Linux kernel version, only the compiled Linux
Experimental process:Open the shell terminal and execute the following command:CD linuxkernel/Qemu-kernel LINUX-3.18.6/ARCH/X86/BOOT/BZIMAGE-INITRD rootfs.imgAfter execution, the Qemu window will pop up, output the Linux kernel boot information and display menuos after successful startup.Enter help to indicate that the
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.