If you need to reprint, please indicate the source, Http: // www. Chuanjiang. cn.This document PDF download: http://yuanfen127.ys168.com/
In addition, I have word electronic document format, if necessary, please contact me: asima127@gmail.com
1. SMP hardware architecture:
For SMP, it is easiest to understand that the system has multiple identical CPUs. All CPUs share the bus and have their own registers. Shared bus is used for memory and external device access. In the Linux operating
Recently, I am working on a capacitive touch screen driver and using I2C bus interfaces to transmit data. So let's take a look at the I2C bus principles.
The I2C bus is a character transmission bus between chips launched by Philips. It adopts
Basic concepts:1> tty (collectively referred to as the terminal device ):Tty is derived from teletypes or teletypewriters. Originally, it refers to a telex typewriter, which reads and sends messages through a printer keyboard through a serial line.
Cat CD
Chmod chown
CP cut
Name: CatPermission: All UsersUsage: CAT [-abeensttuv] [-- help] [-- version] filenameNote: connect the archive string and upload it to the Basic output (screen or add> filename to another archive)Parameters:-N or --
I have just passed the hlist-related functions and macro definitions, and I have done some work here. I hope it will be useful for you to learn about Linux in the future.
/* The Linux linked list designer (think that double-ended double-chain
The following describes how to learn the socket API through the simplest client/server program instance.
The function of the echoser. C program is to read characters from the client and then direct the echo back.
C ++ code
1
1. msgsnd and msgrcv Functions
# Include # Include # Include
Function: adds a message to the message queue.Prototype int msgsnd (INT msqid, const void * msgp, size_t msgsz, int msgflg );ParametersMsgid: ID of the Message Queue returned by the
Common Unix Commands-directory and file operation commands1.1 ls
[Syntax]: ls [-radcxmlnogrtucpfbqisf1] [directory or file...][Note]: The LS command lists the files in the specified directory. The default directory is the current directory./, and
Filesystem Hierarchy Standard (FHS): Specifies the files in the main directories under the root directory.
Linux directory configuration: According to the FHS definition, the file content in each directory should be:/: Root directory. There is only
Before explaining these differences, let's take a look at the background knowledge about Linux. This requires you to carefully read these differences and have a deeper understanding of Linux.
About the System V and BSD styles and Their Relationship
For more information, see http://blog.csdn.net/z2007b. do not use this document for commercial purposes. The copyright is owned by the Wuwei monk.
In the previous section, we analyzed the kobject_add_internal (& K-> kobj) in the int kset_register
There are several pages in Linux Device Drivers (the third edition) to analyze the implementation of the lock-free algorithm. I want to explain the author's analysis in detail here. The first is the author's analysis of the circular buffer. When the
Document directory
Installation:
Usage:
It is better to use valgrind to check whether the Code has memory leakage.
The following describes how to install and use valgrind.Installation:
The latest version can be found in the release:
1. Make menuconfig
Version = 2Patchlevel = 6Sublevel = 26Extraversion =Name = rotary wombat
# * Documentation *# To see a list of typical targets execute "make help"# More info can be located in./readme# Comments in this file are targeted only to
Compiling framework of Linux character Device Driver
I. Concepts of Linux device driver
A system call is an interface between the operating system kernel and applications, and a device driver is an interface between the operating system kernel and
1. in HP's boot menu, set boot configuration-> console configuration-> VGA to P (primary), and other (such as serial port) to S (secondary ), otherwise, the output will hit the serial port, and the display will always be "umcompressing Linux... done,
Transplantation and development of μc LINUX embedded system based on ADSP-BF533
[Date: 2008-10-7]
Source: China Power Grid Author: Wu Chuan, Wang Bin
[Font:Large Medium Small]
The Blackfin
Industry analysts said that if the Linux system can overcome interconnectivity, it will further threaten Microsoft's monopoly in the desktop and laptop markets, and this is only a matter of time.
Warren shiau, director of software research from
Stat Function Description
Header file: # include # Include Define the function: int Stat (const char * file_name, struct stat * BUF );Function Description: get the file information through the filename file name and store it in the struct stat
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