Learn about the four libraries of Linux kernel

= Four database books = 1. Linux kernel design and implementation 2 edition This book is very thin (290 pages), but covers all aspects of the Linux kernel and is an entry-level book. However, the kernelCodeI will not talk too much about it, mainly

Linux 0.11 serial port Program Analysis

0.11 the kernel maintains three terminals, one display and one keyboard, and the other two are serial ports 1 and 2. Each terminal maintains three read/write queues and auxiliary buffer queues. For each Buffer Queue, read operations take characters

Geekos development process and troubleshooting in Linux

Compile geekos: Open the terminal and enter the following three commands. Cd ~ /Geekos-0.3.0/src/project0/build/Note :~ Not less ,~ The main directory of the current user. Makebochs Possible problems 1. This error occurs during the first make

How to automatically mount the optical drive in Linux text mode

Mount is used to mount the file system. It can be mounted at startup or after startup. You can use the mount command to mount a device after startup. To enable automatic mounting of a device at startup, you must enable the autofs service to provide

Linux platform mechanism

A new driver management and registration mechanism has been introduced since Linux 2.6: platform_device and platform_driver. Most device drivers in Linux can use this mechanism. The device is represented by platform_device and the driver is

Working queue principle in Linux Kernel

    It is divided into two parts. The first part is the kernel thread used to execute the function mounted on each node in the work queue, and the second part is the use of the work queue from the driver perspective. Part 1 worker_thread kernel

Linux dynamic library and static library Basics

Example: Hello. c hello. h main. c 1. Static LibraryGcc-C hello. cAr Cr libhello. A hello. oReference Library:-lhello 2. Dynamic libraryGcc-C hello. cGcc-shared-fpci-O libhello. So hello. oReference Library:-lhello 3. Specify the header fileGCC

Linux Device Driver Learning (6)-concurrency and final state 2

Spin lock: Unlike semaphores, spin locks can be used in code that cannot be sleep, for example, interrupt the handler. A spin lock is usually implemented as a bit in an integer. The bit related to the Code test that you want to obtain a specific

Linux Device Driver Learning (8)-blocking I/O and sleep

Blocking I/O and sleep When a process is put into sleep state, it is marked as a special State and transferred from the running queue of the scheduler (add the process to the waiting queue and wait for awakening ). Processes in sleep state are

Linux Device Driver Learning (7)

Advanced Character Device Driver I. IOCTLIn addition to reading and writing capabilities, most devices can perform operations beyond simple data transmission. Therefore, device drivers must also be able to perform various hardware control operations.

Linux Device Driver I2C Architecture Analysis (2)

4. When registering I2C driver for analysis, it is necessary to analyze the initialization code of I2C architecture as follows: static int _ init i2c_init (void) {int retval; retval = bus_register (& Region); If (retval) return retval; retval =

Linux Device Driver (16)-interrupt (1)

Interrupt handling The method for notifying the processor when a device generates an event is to interrupt the device. An "interrupt" is only a signal, which can be sent when the hardware needs attention from the processor. Linux processes

ARM-based Linux Startup Analysis Report-arm + Linux Startup Analysis (2)

3. zimage Startup Process1. General Linux kernel startup process:1) for ARM Series processors, the zimage Entry Program is arch/ARM/boot/Compressed/head. S. It completes the following tasks in sequence: Enable MMU and cache, and

Linux Kernel memory management and usage

First, when the program requires a piece of memory that does not exist (that is, the page table items have marked that the corresponding page is not in the memory), the CPU is interrupted by a 80386 page error exception. When a process references a

Linux Device Driver Learning (9)-Advanced Character Device Driver

Advanced sleep   1. The first step to put the process in sleep is to allocate and initialize a wait_queue_t structure, and then add it to the corresponding waiting sequence. 2. Set the city status and mark it as asking for sleep. Task_running

Linux Device Driver Learning (10)-asynchronous notification

Asynchronous notification: The asynchronous notification mechanism can improve the efficiency of device query. By using asynchronous notifications, applications can receive a signal when data is available, without the need to keep polling. Procedure

How to Configure NFS in Linux

Network File System (NFS) is a mechanism for attaching partitions (directories) on remote hosts to local systems through the network, with support for the network file system, you can operate on the shared partition (directory) of the remote host on

Step 4: complete Linux PPP dialing

In some systems, we can perform an experiment on PPP dialing settings. Here we will focus on the content and process of the PPP dialing (Linux) on the liod platform. Hardware Platform: yidao liod platform (based on PXA270), operating system:

ARM Linux code analysis from entry to start_kernel -- head. s analysis -- 7end

ARM Linux code analysis from entry to start_kernel-7 (end) (16:08:30) Reprinted It Category: Kernel   6. Switch data In ARCH/ARM/kernel/head-common.S: 00014:. Type _ switch_data, % object00015: _ switch_data:00016:. Long _

The establishment of an ARM-based embedded development environment in Linux

  After ubuntu10.4 is successfully installed on the VM (1) Open the terminal Sudo-I and prompt to enter the password and then log on as root.(2) install g ++ apt-Get install g ++ Pentium-Builder(3) install the apt-Get install Samba smbfs software

Total Pages: 5467 1 .... 3553 3554 3555 3556 3557 .... 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.