1. Mutual Exclusion and Synchronization1. Mutual Exclusion: A Resource allows only one visitor to access it at the same time, which is unique and exclusive. However, mutual exclusion cannot limit the access sequence of visitors to resources, that is,
Today, I spent some time installing an arm-Linux cross compiler on redhat5.0. Several problems occurred during the installation process. After querying online materials. Now let's summarize the correct installation methods.
First, I used the cross-
Currently, the latest Linux kernel version is 3.3. At first, I downloaded version 2.6.23 and found that the version of ubuntu cannot be compiled, this built-in gcc4.6 compiler does not support some attributes of kernel compilation, but it is still
Three major help commands: Xxx-H (XXX-help)
Man-A xxx
Info xxx
Arm-elf-xxx tool set is used in uClinux.
Device DriverProgramDevelopment Process:
1. view the schematic diagram to understand the working principle of the device.
2.
Chapter 1 Introduction.Introduction to operating systems, file systems, and Linux. Single-core and micro-kernel (VxWorks, the micro-kernel usually contains several synchronization primitives, a simple schedulingProgramCommunication Mechanism with
Port Environment (Bold font in redIs the modified content,Blue bold ChineseFor special attention)
1. host environment: centos 5.5 and 1 GB memory in vmare.
2. Integrated Development Environment: Elipse ide
3. compiling environment: Arm-Linux-GCC v4.4
Port Environment (Bold font in redIs the modified content,Blue bold ChineseFor special attention)
1. host environment: centos 5.5 and 1 GB memory in vmare.
2. Integrated Development Environment: Elipse ide
3. compiling environment: Arm-Linux-GCC v4.4
Linux deadline I/O Scheduling Algorithm Analysis notes
The core of the deadline algorithm is to add a request timeout mechanism to the traditional elevator algorithm. This mechanism is mainly
1. Introduction to GDB:
The GNU Debugger, called GDB, is an interactive tool that works in character mode. Many programmers are used to program development with graphical interfaces, such as integrated development environments such as Vc and VB.
Single quotes
Purpose: To prevent text conversion. Except for the single quotation marks, all words in the single quotation marks are output as is.
1. [root @ jszwl161 sp49ep9] # echo '$ *>
$ *>
2. [root @ jszwl161 sp49ep9] # echo 'she is crying: "
1. share data with Linux in VMware.
1.1 install VMware Tools
1.2 choose VM> Settings...> Options> shared folders from the VM menu.
# Select "always enabled"
# Add... --> select the local shared directory of a person in Windows
1.3 In Linux, enter
Currently, the most common methods of inter-process communication include signal, semaphore, message queue, and shared memory.The so-called process communication involves some "Contact" between different processes, which is simple and complex. The
1. Thread data
In a single-threaded program, there are two basic types of data: global variables and local variables. However, in multi-threaded programs, there is a third data type: thread data (TSD:Thread-specificData ). It is similar to a global
Sigset_t number set and Signal Set operation function: the signal set is defined as a data type:
Typedef struct {
Unsigned long sig [_ nsig_words];
} Sigset_t
The signal set is used to describe the signal set. All signals supported by Linux can
This article from: http://blog.chinaunix.net/uid-24203478-id-3111803.html
An important concept that is closely related to Linux interrupt is that Linux interrupt is divided into two parts: top half (tophalf) and bottom half (bottom half ). The upper
Linux is a free-of-charge and free-propagation Unix-like operating system, which is first used on Computers Based on x86 series CPUs. This system is designed and implemented by thousands of programmers around the world. The purpose is to establish a
So when will the program use the user stack and the kernel stack? Yes, system call. That is, when printf, open, read, and write are executed to execute C language library functions, they will eventually use corresponding system calls, such as
Follow these steps to create a Linux kernel code project using source insight:
(1) Open Source insight and click project to bring up the drop-down menu.
(2) Click the new project button. The new project dialog box is displayed. Enter the project
1.HCILayer Protocol Overview:
HCIProvides a unified method to access the underlying layer of Bluetooth. :
As shown in the figure,Host Controller Interface (HCI)Is used to communicate with the host and module. The host is
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