自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

情义唯真,友谊方长存

Linux/Solaris / Embedded C / GPS/LTE/Switch

  • 博客(6)
  • 资源 (6)
  • 收藏
  • 关注

转载 常用地道口语

Look 你听我说Look, I’m really sorry I woke you, I just wanted to tell you I was all right.听我说,我真抱歉吵醒你,我只是想告诉你我一切都好。Like I said 就像我刚才说的Like I said before, I see failure as a stepping stone to success.就像我之前

2017-03-13 10:59:22 543

转载 Linux共享内存使用中的问题

所谓共享内存就是使得多个进程可以访问同一块内存空间,是最快的可用IPC形式。是针对其他通信机制运行效率较低而设计的。往往与其它通信机制,如信号量结合使用,来达到进程间的同步及互斥。其他进程能把同一段共享内存段“连接到”他们自己的地址空间里去。所有进程都能访问共享内存中的地址。如果一个进程向这段共享内存写了数据,所做的改动会即时被有访问同一段共享内存的其他进程看到。共享内存的使用大大降低了在大规模数据

2017-03-10 17:23:48 982

原创 share memory - Linux IPC

一、共享内存介绍:二、共享内存使用方法: 两个程序如何使用同一块共享内存? 1.两个程序的shmget()函数传入相同的第一个参数key即可。2.两个程序通过shmat()把同一块共享内存连接到各自当前进程的地址空间上。shmat()的第一个参数shm_id是由shmget()函数返回的共享内存标识。使用实例一:使用实例二: 首先使用shmget()建立一块共享内存, 同时向该内存中写入数据并

2017-03-10 16:09:30 1221

原创 indent command - format code under Linux

在Windows下使用Source Insight 编写完代码后,将代码上传到Linux机器上,首先需要去掉’^M’:然后再使用indent命令格式化代码: indent -npro -nip -nlp -npsl -i4 -ts4 -sob -l200 -ss -bl -bli 0 source_file.c

2017-03-09 11:38:45 524

转载 英语字母什么时候不发音?

1.b出现在词尾,在字母m之后。bomb 炸弹climb 攀登comb 梳子crumb 面包屑dumb 哑的lamb 羔羊limb 枝干plumb 垂直thumb 拇指tomb 坟墓2.c出现在字母s或者x之后。adolescence 青春期ascend 登高disciple 门徒excellence 优秀excess 超过excite 使…兴奋fascinate 使着迷scissors 剪刀3

2017-03-07 09:23:54 1861

原创 gcc - Options Controlling the Kind of Output

gcc hello.c该命令将hello.c直接生成最终二进制可执行程序a.out这条命令隐含执行了(1)预处理、(2)汇编、(3)编译、(4)链接形成最终的二进制可执行程序。未指定输出文件名时,默认输出为a.out。从上面我们知道GCC编译源代码生成最终可执行的二进制程序,GCC后台隐含执行了四个阶段步骤。GCC编译C源码有四个步骤:预处理—–> 编译 —-> 汇编 —-> 链接现在我们就用GCC

2017-03-03 11:47:53 476

The Linux Kernel API

Introduce the linux kernel development function,total 20 chapters, the format such as: Chapter 1. Driver Basics 1.1. Driver Entry and Exit points module_init Name module_init — driver initialization entry point Synopsis module_init ( x); Arguments x function to be run at kernel boot time or module insertion Description module_init will add the driver initialization routine in the “__initcall.int” code segment if the driver is checked as “y” or static, or else it will wrap the driver initialization routine with init_module which is used by insmod and modprobe when the driver is used as a module. 1

2015-03-24

Linux Kernel Procfs Guide

This guide describes the use of the procfs file system from within the Linux kernel. Chapter 1. Introduction Chapter 2. Managing procfs entries Chapter 3. Communicating with userland Chapter 4. Tips and tricks Chapter 5. Example

2015-03-24

计算机组成原理PPT课件-高国红-西工大

计算机专业基础课高职高专十一五规划教材,PPT课件

2010-10-11

Linux下的8019网卡驱动程序

本文以S3C44B0的CPU为例,详细解析了Linux下RTL8091网卡驱动程序工作原理

2010-04-02

基于Linux驱动程序的编写技术

Linux驱动程序基本概念以及字符设备、块设备和网络设备的特点,分析了主次设备号的用途和时钟、驱动程序接口、驱动模块的用法,描述了变形驱动程序的步骤

2010-04-02

linux设备驱动程序庖丁解牛

Linux device driver 从理论到实践中记录的个人心得,和大家一起分享、讨论、进步。

2010-04-02

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除