How to prepare to read Linux source code

Source: Internet
Author: User

Linux 0.11 is not "Everest", but it is definitely "Huashan" or "Tarzan". Although there is a way but you still need the most basic effort and cost a certain price to "climb" up.


1. PC compatible hardware operating principle (such as 8259a,8253, 8042,uart and other hardware);
2. Intel 32-bit operating mode operation principle, addressing mode;
3. Traditional C language;
4. Some Intel ASM Foundation.
5. Linux operating system will be used to understand the basic operation of Linux system.

Recommended Reference books:


============
"Unix OS Design"
http://www.china-pub.com/computers/common/info.asp?id=34
* Advanced Programming for the UNIX environment
http://www.china-pub.com/computers/common/info.asp?id=30
"Operating system: Design and Implementation" (MINIX)
http://www.china-pub.com/computers/common/info.asp?id=2033
"IBM PC assembly Language Programming"
http://www.china-pub.com/computers/common/info.asp?id=7721
* "In-depth understanding of computer systems"
http://www.china-pub.com/computers/common/info.asp?id=18133
The Linux authoritative guide
http://www.china-pub.com/computers/common/info.asp?id=1174
"Linux Assembly Language Programming"
ftp://plinux.org/pub/linux/docs/... age_programming.pdf
* "Intel 80386 Programmer '; s Reference Manual"
ftp://plinux.org/pub/linux/docs/Intel_80386_Manual.pdf
* "The C programming Language"
Ftp://plinux.org/pub/linux/docs/The_C_programming_Language.rar
         asterisking Number "*" for the focus of recommended reading!
============================================
         If some forget, Please take one day to read this basic knowledge first, in the book. The
can refer to textbooks in terms of hardware.
        intel The Intel 386 manual is visible;

         the assembler used in the kernel code (AS86 and at& T syntax) can refer to some of the following documents.
-------------------------------------------------------------
         minix Assembly Manual: http://www.oldlinux.org/oldlinux/viewthread.php?tid =291
        nasm Assembler Manual: Span style= "font-size:14px" >http://www.oldlinux.org/oldlinux/viewthread.php?tid=877
        as86   Online Brochure: http://www.oldlinux.org/oldlinux/viewthread.php?tid=1895
        ld86   Online Brochure: Span style= "font-size:14px" >http://www.oldlinux.org/oldlinux/viewthread.php?tid=1428


===============================================

If you have a university degree in computer science or above, then you can review the above knowledge properly, you can read the book smoothly.


If you are a student of the undergraduate computer department, then when you have studied the operating system course or are learning, just review some of the principles of Intel PC composition, it should be a good understanding of the book, and can help you understand the basic principles of the operating system.


If you are a graduate student in another major, then you can learn some basic terminology about operating systems and computer principles (if you have not), learn the basics of operating systems, and then continue to study the book.


If you are a specialist student, the first thing you need to prepare is the same knowledge that a non-computer undergraduate needs to do.


If you are a high school graduate student, then you can learn some "computer principles", "microcomputer principle", "C language", "English" and other basic courses, and then continue to read this book. Of course, you can also spread the stalls and read:)


Note: Regardless of your current degree or degree, this is not a major issue. The key is to work hard. And interest is one of the best motivations for learning. Even if you do not have any degree, as long as literacy can surf the internet, then the road before you is still broad.
"Nothing is difficult, as long as Ken climb."

---------------------------------------------------------------------------------------------

Introduction to the Source Code browsing tool
http://www.oldlinux.org/oldlinux/viewthread.php?tid=1470

============================
Read the source code on this computer, you can use Redhat or source Source Insight software for dynamics. Snavigator is free, source insight can go to www.sourceinsight.com to download. or download here:
http://oldlinux.org/download/tools/si350.rar (3.2MB)
http://oldlinux.org/download/tools/ Release-sn51e-win32.zip (7.8MB)
http://oldlinux.org/download/tools/src2html/

The use of Source insight can be found in the article:
Http://www-900.ibm.com/developer ... t/tip17/index.shtml
You can also use the re-line cross-reference reading program provided on this website:
http://oldlinux.org/lxr/http/source/
When reading this book, it's a good idea to install one of these two software on your computer, while reading the notes in the book and browsing through the code.

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.