4. Summary
4.1 kobject, kset, and ktype
Kobject, kset, and ktype have three structs, but they are easy to confuse because they are intertwined.
L kobject is a basic object in the device model. It contains reference counting, parent-child
I have been familiar with Wince and Linux for some years. I will make some comparisons based on my recent work experience.
1. Compatibility comparison between wince and Linux
Recently I encountered several problems:
(1) using the dm3730 core
1. tar commandTar-CVF file2.tar/home/usr2/file2If such a command uses an absolute path, "/" is automatically removed during archiving. During decompression, home/user2/file2 will appear in your current working directory. Because/is removed, his
1. Main Function Parameters
Void main (INT argc, char * argv [])HypothesisProgramCompile to CPPEnter./CPP A B
There are three strings in this line"./CPP"" A "" B"Argc is 3, that is, the number of parameters in the command line.Char * argv [] is an
Input subsystem of Linux driver subsystem (2)
2. Input core layer
2.1 Overview
The core layer provides the device driver layer programming interface and the event processing layer programming interface. Input. c is the file implemented at the core
Input subsystem of Linux driver subsystem (4)
4. Event Processing Layer
4.1 Overview
The event processing layer is responsible for creating device nodes and related file system files, and reporting event information to the application layer. Each
Get what we need from the two tables, and then the following code is expanded around the two pointers. (Unusual_dev and ID) continue to read get_device_info ().
Row 3: Record unusual_dev in us. There is also such a member in us. In this way, it will
Synchronization of Linux kernel learning
[Critical section and competitive conditions]
The so-called critical section is the code segment for accessing and operating shared data. Concurrent access to the same resource by multiple execution threads
It has been more than four years since I started writing the Linux series of things, and it has been quite a bit since I sorted out and published the first version. Some people who don't know or know each other asked me how I thought of writing so
I thought this was the case in my life. I refused to look at the code again with an impetuous mind. However, two years later, I went to Las Vegas earlier this month and found that it was not a night package to find an American lady there for $ eight
2 I2C Subsystem
2.1 linuxi2c subsystem architecture
The I2C subsystem has been provided in the kernel. Therefore, you must be familiar with the subsystem before using the I2C driver.
2.2 three major components
1. I2C core (i2c-core)
The I2C core
Solution to invisible TCP packet loss on Linux
Author: miles (http://blog.csdn.net/yanghehong)
Some netizens encountered the following problems when working on a Linux client:
In Linux, we develop a network client program (the server cannot be
1. Linux time
1.1 Linux Time System
1.2. Time-related data structure in Linux
2. Obtain the current time
3. latency
4. Timer4.1. Alarm4.2. setitimer
1. Linux time1.1 Linux Time SystemUNIX and Linux time systems start from epoch, a time system in
In Embedded Linux and host Linux, you can use minicom
1) Some systems that install minicom do not have minicom fedora installed. Only Yum install minicom is required.
2) Configure minicom
Configuration is required for the first execution and will
Http://cache.baidu.com/C? WORD = Linux % 3B % c4 % da % Ba % CB % 2C % D5 % D0 % C6 % B8 & url = http % 3A // blog % 2 ecsdn % 2 enet/shorminhsu /archive/2007/08/30/1766160% 2 easpx & P = 867cc64ad6c91bfb49b9c4710c17bb & User = Baidu
This is from a
Linux File extraction instance: unzip the *** .tar.gz file and display the processing process
In Linux, there are two types of installation files: one is binary installation, and the other is source file installation, which ends with .tar.gz.
Every day many computer users use a modified GNU system (18 K bytes), but they are not aware of it. After a series of events, the widely used GNU version is often referred to as "Linux", but many users do not understand the associated GNU
Author: Xiao wenpengEmbedded systems are application-oriented, computer-based, and software and hardware can be tailored. They are suitable for dedicated computer systems with strict requirements on functions, reliability, cost, volume, and power
Some Linux commands that may be used when downloading and installing the XML Parser:
// Check the number of digits in the Linux processor architecture:$ CAT/proc/version (64-bit if x86_64 is available)
// View the current shell version: (there are
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