Memcpy implementation in Linux x86 Kernel

Static _ always_inline void * _ memcpy (void * To, const void * From, size_t N) {int D0, D1, D2; ASM volatile ("rep; movsl \ n \ t "" movl % 4, % ECx \ n \ t "" andl $3, % ECx \ n \ t "" JZ 1f \ n \ t "" rep; movsb \ n \ t "" 1: ":" = & C "(D0 ), "=

Summary of Linux usage in a notebook

Win7 and Linux dual system installation can refer to here: http://blog.csdn.net/cidisk/article/details/8693773 1. Added resolution for the external monitor. The external monitor is not recognized and the display resolution is too small. $

Install Linux kernel manually

1. Compile the kernel. 2. Install modules in the specified path. The command is as follows: Make install_mod_path = xxx modules_install After the installation is complete, the modules directory of the new kernel is YYY under xxx/lib/modules.

Network Configuration in Linux fedora 8 of qemu mini2440

(For Original Articles, please refer to the source for reprinting. Thank you .) Recently, at the request of a friend, I studied the simulation of qemu mini2440. I thought there was nothing in this process. This research has found many problems and I

Linux inter-process communication-use Message Queue

The following describes how to use a message queue to communicate between processes. There are many similarities between message queues and named queues. For more information about named MPs queues, see my other article: linux inter-process

Build an experimental environment for GeekOS-0.3.0 in Linux

The software required for the geekos experiment in Linux mainly includes NASM and bochs ).1. Version 0.98 is recommended for NASM. If you use a newer version of bochs to boot the system image, an error occurs. Download the executable files in Linux

Comparison of versions before and after Linux workqueue_struct

Since Linux 2.6.20, some changes have taken place in the work queue. Currently, the materials searched from the network generally refer to the work queue of the old version, and the new version is rarely introduced. This article gives a brief

Linux sed commands

1. Introduction to SED Sed is an online editor that processes a row of content at a time. During processing, the currently processed rows are stored in the temporary buffer, called the pattern space. Then, the SED command is used to process the

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.

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

Install Samba in Linux

********************************************************** Install Samba in Linux ********************************************************** To share resources between a Windows host and a Linux server, the Linux operating system provides the samba

Manually add a SWAp in a Linux System

The simplest code is Swapon/swap partition, which can be viewed using fdisk-L, I learned that my swap partition is in/dev/sda12, Enter Swapon/dev/sda12 in the command line and press Enter. ------------------------------------------------------------

Set oracle_sid and ORACLE_HOME variables in Linux

Today, I encountered a database exception restart error. The following prompt appears during logon:Cocould not Logon As statA ORA-01034: Oracle not availableORA-27101: Shared Memory realm does not existIbm aix risc system/6000 error: 2: no such file

How many calculators (BC, expr, DC, ECHO, and awk) in Linux?

In Windows, everyone knows to directly run calc (c: \ windows \ system32 \ calc.exe). Please open the calculator. Note: Calculate vt. & VI. calculation; calculator N. calculator. Calc is short for this computation. CA represents calcium in

Linux kernel 2.6 compiled in VMware

Compiling the kernel is indeed a suffocating and boring process. After several days of hard work, we finally succeeded. Thank you for your technical support for "programming Sleepless Nights ". I downloaded the Linux kernel version from Red Hat 9

How to Use ADB to connect to a mobile phone in Linux

Centos6.4 Testing Management LinuxThe simulator can be directly identified and used.ADBThere are no restrictions,Mobile phoneAfter USB is inserted, ADB does not recognize it and displays a question mark. Solution: 1. Run the lsusb command to obtain

How to mount a CD in Linux

  When using a CD, floppy disk, or USB flash disk in Linux, you must run the mount command first. The mount command will specify these storage media as a directory in the system, and then directly access the corresponding directory to read and write

Linux RCU Lock Mechanism

I read a bunch of RCU documents and concluded that the actual programming of this stuff is not used much, so we can entertain ourselves. Https://www.ibm.com/developerworks/cn/linux/l-rcu/ The Linux synchronization mechanism section in ldd3rd

Total Pages: 5467 1 .... 3156 3157 3158 3159 3160 .... 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.