The Assembly syntax in Linux should be GNU assembly (at&t assembly ). The followingArticleIntroduced at&t Assembly related knowledge:
X86 inline assembly in Linux:
Http://www.ibm.com/developerworks/cn/linux/sdk/assemble/inline/
Linux
What are the correct development-driven steps for an embedded engineer?
Summary:
1. Read the datasheet/spec of the device and the schematic diagram of the Development Board. Focus on the device connection, driver power supply, driver clock,
? *. Z files compressed by the compress program;? *. Bz2 Bzip2 compressed files;? *. Files compressed by the GZ gzip program;? * The data packaged by the. Tar program has not been compressed;? * .Tar.gz tar package files, which are compressed by
// Transplant the linked list of Linux kernel (3.0.13) to Windows, and VS is compiled. // To be fully tested // to be added hlist
# Include # include # include /* transplant Linux implement */# define container_of (PTR, type, member) (type *) (\
Curl is a powerful HTTP command line tool with powerful functions.
1) Let's not talk about it. Let's start from here!
$ Curl http://www.yahoo.com
After you press enter, the HTML of www.yahoo.com is displayed on the screen ~
2) Well, is this the
1. Basic Mechanism1) Data StructureStruct notifier_block{INT (* notifier_call) (struct notifier_block * Self, unsigned long, void *);Struct notifier_block * next;Int priority;/* is used to queue registrants with priority. A high-priority
This document is excerpted from the network and its own processing and sorting.
@ Page {size: 8.5in 11in; margin: 0.79in}P {margin-bottom: 0.08in}-->
Linux core dump configuration and debugging
1. Core File generation switch and size limit-------
LinuxGraphics card driver
OfDRI(Direct rendering infrastructure)
About dri
3D graphics accelerator chip is not a new technology. As early as a decade ago, various mainframe manufacturers started this work. With the popularity of personal
I started a Linux experiment from the ramdisk root file system the day before yesterday and wrote a post. With the help of Kasim, the general moderator, I learned that Linux-based releases usually use initramfs instead of initrd. The architecture is
View library dependency on PC Linux
You can directly use the LDD command to view executable programs, such:
Root @ forlinx :~ # LDD/bin/mvLinux-gate.so.1 => (0x00c7b000)Libselinux. so.1 =>/lib/i386-linux-gnu/libselinux. so.1 (0x00136000)Librt. so.1 =
Before enabling MMU, you can directly access it using a physical address. After MMU is enabled, You need to map the physical address to a virtual address and then access it with the virtual address. For example, if the physical address of a
1. Test speed
Hdparm-Tt/dev/hda can be used to test the reading speed of related USB devices.
S5pv210 USB flash drive testing speed is about 14 Mb/s, 1.1 Speed is 960kb/s, and USB flash drive reading/writing speed is indeed very advantageous.
2.
After studying the kfifo code of kernel 2.6.26 today, I feel that the code can be implemented smartly. The subscript at the end of the queue header is not restricted by the length of the queue. Even if the subscript at the queue header is greater
Due to the fast hardware upgrade of nandflash, the company has been using Samsung's k9gag08u0d last year. Now, MLC nandflash is upgraded to the second generation. k9gag08u0d will soon be in a stopped state, taking precautions, the company selected k9
Some string conversion functions provided in the Linux kernel:
LIB/vsprintf. c
[HTML]
View plaincopyprint?
1. Unsigned long simple_strtoull (const char * CP, char ** endp, unsigned int Base)
2. Unsigned long simple_strtoul (const char * CP,
If I installed a camera in Linux, I used to get it during Skype. However, I cannot use a camera to take pictures in Skype. So today I have to go over it. Record the general process.
First, install the kernel module corresponding to your camera. The
Usage of Linux Command dmesg
Function Description: displays the boot information.Syntax: dmesg [-cn] [-S ]Note: The kernel stores the boot information in the ring buffer. You can use dmesg to view the information if you cannot view it at startup.
# Whereis find installed software
Searching for a file in Linux is troublesome. After all, in Linux, we need to use a dedicated "Search" command to find files on the hard disk.File expression formats in Linux are very complex. Unlike windows, they
1. Run the following command to view the kernel version:
1) [root @ q1test01 ~] # Cat/proc/versionLinux version 2.6.9-22. elsmp (bhcompile@crowe.devel.redhat.com) (GCC version 3.4.4 20050721 (Red Hat
3.4.4-2) #1 SMP mon Sep 19 18:00:54 EDT 2005
2)
1. Why do I need to use the waiting queue? Waiting queue is a necessity for the drive of blocking character devices. Blocking indicates that a device is readable or writable. However, at some point, the device has nothing to read from you, but your
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