Before attempting the kernel development, you need to have an overall understanding of the kernel.Main content:
Get the kernel source code
Structure of Kernel source code
Methods for compiling the kernel
Features of kernel development
1. Get the
Transferred from: melody_lu123 csdn blog, a great technical article.
Author: Gustavo Duarte
From: http://duartes.org/gustavo/blog/post/how-the-kernel-manages-your-memoryHow the kernel manages your memory
How does the kernel manage your memory?
After examining the virtual address layout of a process, we turn to the kernel
Press the power supply, click it, start the computer, and then the BIOS screen will pop up. after a while, the GRUB interface will pop up, and a line after line of characters will pop up on the black screen, from time to time there are OK words
Press the power supply, click it, start the computer, and then the BIOS screen will pop up. after a while, the GRUB interface will pop up, and a line after line of characters will pop up on the black screen, from time to time there are OK words. oh, don't
Linux Kernel module notes, Linux kernel module
Topic: 1. basic embedded knowledge 2. linux Kernel Introduction 3. kernel compilation and installation (x86) 4. first Module 5. module related tools 6. module symbol export 7. module parameter job: 1. check linux/module. h. The location of the header file that is exposed t
This HTML page address: http://oss.org.cn/kernel-book/In- depth analysisLinuxKernel sourceObjectiveChapter I. into Linux1.1 GNU and Linux growth1.2 Linux development model and operation mechanism1.3 into Linux Kernel 1.3.1 Features of the Linux kernel1.3.2 changes to the Linux kernel version1.4 Analyzing Linux the meaning of the
What does the Linux system consist of?Consists of user space (application +gnu C standard library) and kernel space (System call interface + kernel + Kernel architecture code).What exactly is the Linux kernel? and composition.Seven types of operating levels for arm?What is the role of the
One pageThe kernel takes the physical page as the basic unit of memory management; the Memory Management Unit (MMU) transforms the virtual address into a physicalAddresses, which are typically processed in pages. The MMU manages the tables in the system in the page size unit.32-bit system: Page size 4KB64-bit system: Page size 8KBThe kernel represents each physical page in the system with the corresponding
• Source code to compile the Linux kernel• Using the Linux kernel module• Actual combat-compile an NTFS kernel module to implement Linux mount NTFS file system and read and write functionsUpgrade the kernel two ways:1:rpmYumRPM-IVH cannot overwrite old kernel directly with U
The RCU of lock mechanism in Linux kernel, the big kernel lockIn the last blog post, the author analyzes the use of completion and mutual exclusion and some classic questions, the following author will focus on this blog post on the RCU mechanism of the relevant content and introduce the current has been eliminated from the kernel of the large
Abstract:
Use the kernel source code and scripts officially provided by Slackware to create a kernel suitable for your own machine, learn to compile the kernel and improve our learning and work efficiency;
Preface:
The current machine configuration is getting higher and higher. a small notebook may also have 2 GB of memory. In addition, server applications o
The module subsystem (ModuleSubsystem), the unified device model (uniieddevicemodel), and the PnP support module subsystem have undergone major changes. 2. stability is improved
1. module subsystemModule Subsystem, Unified Device Model, and PnP support Module Subsystem have undergone major changes.
2. improved stability
To completely prevent the kernel from loading or exporting the kernel module in use, or
I have never thought of any good way to pass parameters to the kernel through registers until now the implementation of uboot reading.
In uboot, the most common method to boot the kernel is the bootm command. The bootm command can boot the "uboot format" kernel. Let's take a moment to know what the kernel is in uboot
Transferred from: http://www.linuxidc.com/Linux/2013-12/93637.htmWhen migrating Linux to a new architecture, a number of issues that developers encounter are related to incorrect data types. Sticking with strict data types and compiling with-wall-wstrict-prototypes can avoid most bugs.
-wall
Show all warnings
-wstrict-prototypes
Rigorous detection of prototypes, if not consistent, warnings appear
The data types used by the
Transferred from: http://blog.csdn.net/fzubbsc/article/details/37736683?utm_source=tuicoolutm_medium=referralIt's been a long time since I've been in touch with the concept of synchronization, but it's always been a blur, and without deep learning, there's time to spend studying the Linux kernel Standard tutorial and the "Deep Linux device driver kernel mechanism" section of these two books. When you have j
10 days to learn the Nineth day of the Linux kernel---Add code to the kernelSleep a good sleep, very late, for a long time not so comfortable, today's task is not heavy, so the pressure is not big, oh, the weather is really cold, but the laboratory has air conditioning, I still like to stay here, there is a different feeling, after writing so many days, I do not understand the page gradually enlightened, And also made some friends, really very happy a
Author: Sandy Original works reproduced please indicate the source"Linux kernel Analysis" MOOC course http://mooc.study.163.com/course/USTC-1000029000 "Experimental environment: C+linux64 bit (32-bit system may result in different)In accordance with the academic integrity of the terms, I guarantee that the answer for my original, all the references to the external materials have been marked by provenance.
Experimental environment: ubuntu14.04 operatin
Question: How are you sure the machine will run a 64-bit kernel?
Answer: Running the 64-bit kernel requires 64-bit hardware. For AIX 5.2, all IBM eserver pseries 64-bit hardware can run 64-bit or 32-bit cores. The order is as follows:
#/usr/sbin/bootinfo-p
When running on a machine that can only run a 32-bit kernel, the string "32" is returned. If the machine
Linux Kernel 'kernel/bpf/verifier. c' local information leakage (CVE-2017-17864)Linux Kernel 'kernel/bpf/verifier. c' local information leakage (CVE-2017-17864)
Release date:Updated on:Affected Systems:
Linux kernel
Description:
Bugtraq id: 102320CVE (CAN) ID: CVE-2017-178
Install kernel source code: Installing kernel source code in RedHat or centos, kernel headers install
Both centos and rhel5 between des following packages:
Kernel-headers: It hosts des the C header files that specify the interface between the Linux kernel and userspace libr
One page
The kernel uses the physical page as the basic unit of memory management; the memory management unit (MMU) converts the virtual address to the physical
Address, usually in the unit of page processing. MMU manages the tables in the system in the unit of page size.
32-bit system: page size 4 kb
64-bit system: 8 KB page size
The kernel uses the corresponding data structure to represent each
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.