09 2014 档案

摘要:< 嵌入式linux应用完全开发手册 > 韦东山 内核Makefile的使命: 编译哪些内核文件? 读取各级子目录makefile, .config, auto.conf, Kbuild, 决定编译那些模块哪些代码. 指定哪些文件将被编译: 根据选配方案决定编译哪些模块 怎样编译内核文件? 编译工具 阅读全文
posted @ 2014-09-28 15:17 oucaijun 阅读(370) 评论(0) 推荐(0) 编辑
摘要:/****************************************************************************** Copyright (C), 2001-2011, DCN Co., Ltd. *****************************... 阅读全文
posted @ 2014-09-26 14:02 oucaijun 阅读(1994) 评论(0) 推荐(0) 编辑
摘要:一、手动使用mkimage命令 mkimage -A arm -O linux -T kernel -C none -a 30007fc0 -e 30007fc0 -n uImage -d /work/jz2440/kernel/linux-2.6.22.6/arch/arm/boot/zImage 阅读全文
posted @ 2014-09-26 11:11 oucaijun 阅读(2066) 评论(0) 推荐(0) 编辑
摘要:Linux 网络编程——IP 数据报格式详解 http://www.linuxidc.com/Linux/2015-04/116149.htm TCP/IP 协议定义了一个在因特网上传输的包,称为 IP 数据报 (IP Datagram)。这是一个与硬件无关的虚拟包,由首部和数据两部分组成。 首部的 阅读全文
posted @ 2014-09-23 17:34 oucaijun 阅读(1530) 评论(0) 推荐(0) 编辑
摘要:UDP包结构 // 参考:http://www.2cto.com/net/201307/224715.htmlUDP数据包由首部和数据组成,每行4个字节(32位),首部固定长度为8个字节(2行)2、首部1、 第一行:源端口16位,目的端口16位表示发送方和接收方的端口号2、 第二行:UDP包长度16... 阅读全文
posted @ 2014-09-23 17:30 oucaijun 阅读(4208) 评论(0) 推荐(0) 编辑
摘要:#include typedef int (FUN) (void);typedef FUN_PTR (FUN*) ;int print1(void){ printf("1111111\n"); sleep(1);}int print2(void){ printf("2222222\... 阅读全文
posted @ 2014-09-19 17:03 oucaijun 阅读(237) 评论(0) 推荐(0) 编辑
摘要:1 函数传参的顺序:#include //进栈栈地址是递减的。先进栈的在高地址,后进栈的在低地址。//函数传参:参数从最右边先进栈,先进后出。#include void fun(int a, ...) { int i; int *temp = &a; temp++; f... 阅读全文
posted @ 2014-09-18 11:29 oucaijun 阅读(244) 评论(0) 推荐(0) 编辑
摘要:参考:http://blog.csdn.net/speedme/article/details/229161811.&&的判断特性#include int sumf(int i){ int sum = 0;#if 0 i && (sum = i+ sumf(i-1));#else ... 阅读全文
posted @ 2014-09-18 10:33 oucaijun 阅读(370) 评论(0) 推荐(0) 编辑
摘要:1for(;;)和 while(1) 有什么区别吗?void main(void){ int a = 2 ; // for(;;) while(1) { a++; }}arm-linux-gcc -c -o for.o for.c;arm-linux-l... 阅读全文
posted @ 2014-09-18 09:55 oucaijun 阅读(3805) 评论(0) 推荐(1) 编辑
摘要:参考:MFC 程序入口和执行流程http://www.cnblogs.com/liuweilinlin/archive/2012/08/16/2643272.html 程序MFCFlie http://www.pudn.com/downloads130/sourcecode/windows/... 阅读全文
posted @ 2014-09-15 15:21 oucaijun 阅读(1004) 评论(0) 推荐(0) 编辑

下载TeamViewer完整版 下载TeamViewer
点击右上角即可分享
微信分享提示