Asynchronous notifications for Linux driver Learning

Asynchronous notification actively notifies the application after the device status changes.ProgramIn this way, the application does not need to block or query the device. The application processes asynchronous notifications of the kernel through

Build a Linux kernel tree

Build a Linux kernel tree Reprinted from: http://hi.baidu.com/wdr_cloud/item/a101178d02f5d6934514cf57 The following content is for personal learning only. Do not use it. First, check the kernel version used by your OS. Shana @ Shana :~ $

How to compile Linux tools

This document shows how to compile Linux tools such as SDL (Simple DirectMedia Layer), zlib, etc.  # Writed by pecker.hu@gmail.com # Date: 2010/11/02 Nanjing #! /Bin/sh sdl_dir = $ PWD/SDL-1.2.14 zlib_dir = $ PWD/zlib-1.2.5 libpng_dir = $ PWD/

Use of cache in Linux

1. First, let's take a look at the cache settings in arm:       00: indicates that both cache and write buffer are disabled. 01: Indicates noncache, write buffer enabling 10: Write-through Mode 11: Write-back Mode In the write-through mode, data is

Understanding of is_err () functions in Linux

From http://jimmy-lee.blog.hexun.com/6075934_d.html And http://blog.chinaunix.net/u3/97568/showart_1978276.html. Thank you for sharing. In the FS section of Linux source code, such a function (located in kernel/include/Linux/fs. h) is often

Linux Kernel Study Notes-struct vm_area_struct

In the Linux kernelThe most basic management unit of virtual storage managementIt should be struct vm_area_struct, which describesSegment continuous virtual storage space with the same access attribute, the size of the virtual storage space is an

Linux Kernel process switching code analysis

# Define switch_to (prev, next, last) do { ASM volatile {"pushl % ESI/n/t" "Pushl % EDI/n/t"   "Movl % ESP, % 0/n/t" "Movl % 3, % ESP/n/t" "Movl $ 1f, % 1/N/t" "Pushl % 4/n/t" "1/T" "Popl % EBP/n/t" "Popl % EDI/n/t" "Popl % ESI/n/t" : "M =" (prev->

[Common Linux tools] 1. Three formats of the diff command

Diff is a tool used to compare the differences between two text files. It has three formats. The following is an example: Upload three test files: 1.txt 2.txt 3.txt Bixiaopeng @ bixiaopengtekimacbook-pro ~ $ Cat 1.txt name: Bi Xiaopeng age:

Introduction to Linux

Reason: Although Linux was initially used because it was free and does not want to bear the shame of using pirated software, it has become increasingly accustomed to this system after a while. Not as terrible as it is.   Problem: What is the

Linux Command and tool learning notes

Mastering some Linux Command lines and standard utilities can greatly improve the processing efficiency of daily tasks and serve as a powerful helper for development. This article will focus on useful commands and combinations, and record the

Linux Command learning example: TR

In blogIn "How to Learn Linux commands and Tools", I briefly talked about some basic methods and precautions for learning Linux commands. This article will take some commands as an example to talk about how to learn a specific Linux Command. Note:

Developer's Linux Command learning list

As a developer, especially a server application developer, It is very helpful to know a proper amount of common Linux commands. Many daily tasks, such as viewing server logs, Data File Processing, and batch modification, do not need to be

In Linux, call the syscils. h header file

Finally, I started to read chapter 8 of the C, the UNIX system interface! This is an exciting chapter. After learning it, you can start to write UNIX programs, such as printing directories, viewing file sizes, and file attributes, that is to say,

Linux Startup Process Overview

Reference: laruence's Linux private house dish 1. BIOS stage The bios on the motherboard is a flash or EEPROM program, which will be based on the CMOS hardware information on the motherboard, which can be modified through the BIOS program. ,, The

Establish trust relationships between Linux servers

We often encounter this situation, from a Linux Server SSH to another Linux server, or use SCP or rsync to transmit data from one Linux server to another. Each operation requires a password for verification. If we establish a trust relationship

Linux Crontab: 15 awesome cron job examples

Document directory Linux Crontab format 1. scheduling a job for a specific time 2. Schedule a job for more than one instance (e.g. Twice a day) 3. Schedule a job for specific range of time (e.g. Only on weekdays) 4. How to view crontab

Use of the Linux driver learning flag

The following describes how to use the flag and how to operate a shared resource with only one execution thread at any time. First, we will introduce the model, first, use C to write a test application and create five processes to open a device. If

Ioctl interface for Linux driver Learning

Here we will first use an example to introduce the use of the ioctrl interface, the hosts file, the command definition here is not within the specification, first look at the example of the test below, the driver only implements the ioctrl interface

Linux driver learning: poll and select

When using socket or serial port, application code often uses select to determine whether data is received or not. What processing does the driver need? Can the application-layer users correctly determine whether data is received and read? Using

Build an embedded linux root file system

Original article: http://linux.chinaunix.net/techdoc/system/2009/07/02/1121343.shtml Build an embedded linux root file systemAfter the uboot and kernel are transplanted, the linux root file system is built.

Total Pages: 5467 1 .... 3568 3569 3570 3571 3572 .... 5467 Go to: GO

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.