- 博客(10)
- 资源 (27)
- 收藏
- 关注
转载 有创业及野心的一定要看
<br />1、一个年轻人,如果三年的时间里,没有任何想法,他这一生,就基本这个样子,没有多大改变了。 <br />2、成功者就是胆识加魄力,曾经在火车上听人谈起过温州人的成功,说了这么三个字,“胆子大”。这其实,就是胆识,而拿得起,放得下,就是魄力。 <br />3、这个世界,有这么一小撮的人,打开报纸,是他们的消息,打开电视,是他们的消息,街头巷尾,议论的是他们的消息,仿佛世界是为他们准备的,他们能够呼风唤雨,无所不能。你的目标,应该是努力成为这一小撮人。 <br />4、如果,
2010-09-18 19:55:00 763
转载 堆栈,堆栈,堆和栈的区别
堆和栈的区别 (转贴) <br />非本人作也!因非常经典,所以收归旗下,与众人阅之!原作者不祥!堆和栈的区别<br />一、预备知识—程序的内存分配<br />一个由c/C++编译的程序占用的内存分为以下几个部分<br />1、栈区(stack)— 由编译器自动分配释放 ,存放函数的参数值,局部变量的值等。其操作方式类似于数据结构中的栈。<br />2、堆区(heap) — 一般由程序员分配释放, 若程序员不释放,程序结束时可能由OS回收 。注意它与数据结构中的堆是两回事,分配方式倒是类似
2010-09-15 15:41:00 634
转载 26句实用的英语
<br />1. After you. 你先请。<br />这是一句很常用的客套话,在进/出门,上车得场合你都可以表现一下。 <br />2. I just couldn't help it. 我就是忍不住。<br />想想看,这样一个漂亮的句子可用于多少个场合?下面是随意举的一个例子:<br />I was deeply moved by the film and I cried and cried. I just couldn't help it. <br />3. Don't take i
2010-09-14 10:19:00 694
转载 Linux Kernel代码分段分析尝试
1. gcc的__attribute__编绎属性要了解Linux Kernel代码的分段信息,需要了解一下gcc的__attribute__的编绎属性,__attribute__主要用于改变所声明或定义的函数或数据的特性,它有很多子项,用于改变作用对象的特性。比如对函数,noline将禁止进行内联扩展、noreturn表示没有返回值、pure表明函数除返回值外,不会通过其它(如全局变量、指针)对函数外部产生任何影响。但这里我们比较感兴趣的是对代码段起作用子项section。__attribute
2010-09-09 13:44:00 765
转载 c语言结构体中的冒号的用法
<br /> 结构体中常见的冒号的用法是表示位域。 <br /> 有些信息在存储时,并不需要占用一个完整的字节, 而只需占几个或一个二进制位。例如在存放一个开关量时,只有0和1 两种状态, 用一位二进位即可。为了节省存储空间,并使处理简便,C语言又提供了一种数据结构,称为“位域”或“位段”。所谓“位域”是把一个字节中的二进位划分为几个不同的区域, 并说明每个区域的位数。每个域有一个域名,允许在程序中按域名进行操作。 这样就可以把几个不同的对象用一个
2010-09-08 13:39:00 833
转载 嵌入式系统中Cache一致性问题分析
<br />http://www.embedcity.com/article.php?id=240<br /><br /><br /> Cache即高速缓冲存储器,是一种特殊的存储器子系统,其中复制了频繁使用的数据以利于快速访问。Cache的出现是基于两种因素:首先,是由于CPU的速度和性能提高很快而主存速度较低且价格高,第二就是程序执行的局部性特点。因此,才将速度比较快而容量有限的SRAM构成Cache,目的在于尽可能发挥CPU的高速度。很显然,要尽可能发挥CPU的高速度就必须用
2010-09-07 11:02:00 1750
转载 内联函数的作用
引入内联函数的目的是为了解决程序中函数调用的效率问题。 <br /><br />函数是一种更高级的抽象。它的引入使得编程者只关心函数的功能和使用方法,而不必关心函数功能的具体实现;函数的引入可以减少程序的目标代码,实现程序代码和数据的共享。但是,函数调用也会带来降低效率的问题,因为调用函数实际上将程序执行顺序转移到函数所存放在内存中某个地址,将函数的程序内容执行完后,再返回到转去执行该函数前的地方。这种转移操作要求在转去前要保护现场并记忆执行的地址,转回后先要恢复现场,并按原来保存地址继续执行。因此,函
2010-09-07 10:18:00 887
转载 linux2.6内核启动流程
计算机在启动时都是先加电,然后进行硬件检测并引导操作系统的初始化程序,然后操作系统的初始化程序程负责读入系统内核并建产系统的运行环境.一这过程相对来说比较复而且与CPU体系结构相关,这里我们通过linux并以i386的体系结构对这一过程进行较为详细的说明. 一、硬件检测 当 机器加电后它首先执行BIOS(基本输入输出系统)中的代码,BIOS首先执行加电自检程序(POST),当自检通过程便完成了硬件的启动。POST程序 通过对内存及其他硬件的设备的诊断检测确定硬件的存在并可正确操作。B
2010-09-06 16:03:00 756
转载 从何处开始阅读源代码
<br />1. 系统的启动和初始化<br /> 在基于Intel的系统上,当 loadlin.exe 或 LILO把内核装入到内存并把控制权传递给内核时,内核开始启动。关于这一部分,看arch/i386/kernel/head.S ,head.S进行特定结构的设置,然后跳转到init/main.c的main()例程。<br />2. 内存管理<br /> 内存管理的代码主要在/mm,但特定结构的代码在arch/*/mm。缺页中断处理的代码在mm/memory.c,而内存映射和页高速缓存器的
2010-09-06 15:57:00 746
转载 Ubuntu 环境变量
<br />http://blog.csdn.net/xiaosu_521/archive/2008/03/09/2160458.aspx<br /><br /><br />环境变量配置文件<br />在Ubuntu中有如下几个文件可以设置环境变量<br />1、/etc/profile:在登录时,操作系统定制用户环境时使用的第一个文件,此文件为系统的每个用户设置环境信息,当用户第一次登录时,该文件被执行。<br />2、/etc/environment:在登录时操作系统使用的第二个文件,系统在读取
2010-09-06 13:39:00 663
STM32F4的I2C读取BMP085模块的温度和气压源码
2013-09-29
linux那些事儿(EHCI Block SCSI Sysfs PCI USB U 盘 UHCI Hub)
2010-09-02
Understanding Linux Network Internals.chm 英文版
2010-09-02
Essential.Linux.Device.Drivers 英文版
2010-07-29
使用ADS1.2 进行嵌入式软件开发
2010-03-19
嵌入式ARM9-2440实战手册.pdf
2010-03-18
unix环境高级编程(中文版).part2.rar
2008-07-18
unix环境高级编程(中文版).part1.rar
2008-07-18
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人