自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(18)
  • 资源 (61)
  • 收藏
  • 关注

转载 磁盘为什么要格式化

磁盘为什么要格式化 -------------------------------------------------------------------------------- 作者:汉花唐落  来源:易通网络  类别:硬件文库--计算机组装与维修      我们知道,硬盘和软盘都必须格式化后才能使用,这是因为各种操作系统都必须按照一定的方式来管理磁盘,而只有格式化才能使磁盘的结

2011-10-30 21:42:26 3158

转载 linux Linux常见特殊符号 重定向符号

Linux中高级I/O 重定向的符号及其用法 符号 意义 n>&m 将FD为m的输出复制到FD为n的文件中 n 将FD为m的输入复制到FD为n的文件中 n>&- 关闭FD为n的输出 n 关闭FD为n的输入 &>file 将标

2011-10-30 21:20:58 9877

转载 select 函数详解

在Linux中,我们可以使用 select 函数实现I/O端口的复用,传递给 select 函数的参数会告诉内核:       • 我们所关心的文件描述符       • 对每个描述符,我们所关心的状态。(我们是要想从一个文件描述符中读或者写,还是关注一个描述符中是否出现异常)       • 我们要等待多长时间。(我们可以等待无限长的时间,等待固定的一段时间,或者根本就不等待)

2011-10-30 20:30:18 1021

转载 80x86的保护虚地址模式

在保护模式下,80x86支持虚拟存储器的功能,一个任务可运行多达16KB个段,每个段最大可为4GB,故一个任务最大可达64T的虚拟地址。保护模式下运行的程序分为4个特权等级:0、1、2、3,操作系统核心运行在最高特权等级0;用户程序运行在最低特权等级3。   80x86中有完善的特权检查机制,既能实现资源共享,又能保证程序和数据的安全和保密、任务之间的隔离。 保护虚地址模式下的寻址   与实

2011-10-30 10:05:11 1221

转载 GCC 嵌入式汇编

2.6.3 Gcc嵌入式汇编       在Linux的源代码中,有很多C语言的函数中嵌入一段汇编语言程序段,这就是gcc提供的“asm”功能,例如在include/asm-i386/system.h中定义的,读控制寄存器CR0的一个宏read_cr0(): #define read_cr0() ({           unsigned int __dummy;

2011-10-29 09:40:25 628

转载 嵌入式汇编的基本格式

本节是第一次在内核源程序中接触到C语言中的嵌入式汇编代码。由于我们在通常的C语言程序的编制过程中一般是不会使用嵌入式汇编程序的,因此这里有必要对其基本格式进行简单的描述,详细的说明可参见GNU gcc手册中[5]第4章的内容(Extensions to the C LanguageFamily),或见参考文献[20](Using Inline Assembly with gcc)。   具有

2011-10-29 09:37:59 702

转载 Linux fcntl函数详解

http://blog.csdn.net/s_k_yliu/article/details/6642635 功能描述:根据文件描述词来操作文件的特性。 #include #include int fcntl(int fd, int cmd); int fcntl(int fd, int cmd, long arg); int fcntl(int fd, int cmd, struc

2011-10-28 20:12:36 579

转载 htons函数详解:网络与主机字节转换函数:(s 就是short l是long h是host n是network)

http://blog.csdn.net/libuding/article/details/5860578   Part 1: htons函数具体解释      在Linux和Windows网络编程时需要用到htons和htonl函数,用来将主机字节顺序转换为网络字节顺序。      在Intel机器下,执行以下程序 int main() ...{    printf("%d /n"

2011-10-28 19:57:19 916

转载 Are You a Good Leader or a Bad Leader

Leadership is probably one of the most talked about business concepts, but the least understood. Leadership is about getting things done and helping people reach their potential. My experience has sho

2011-10-27 22:08:49 689

转载 Linux下的多线程编程

本文出自:http://www.china-pub.com 作者: 姚继锋 (2001-08-11 09:05:00)  1 引言   线程(thread)技术早在60年代就被提出,但真正应用多线程到操作系统中去,是在80年代中期,solaris是这方面的佼佼者。传统的Unix也支持线程的概念,但是在一个进程(process)中只允许有一个线程,这样多线程就意味着多进程。现在,多线程技术已经被

2011-10-27 19:08:44 287

转载 把字符串转换成整数

http://blog.csdn.net/sandflee/article/details/3905690#comments  题目:输入一个表示整数的字符串,把该字符串转换成整数并输出。例如输入字符串"345",则输出整数345。 分析:这道题尽管不是很难,学过C/C++语言一般都能实现基本功能,但不同程序员就这道题写出的代码有很大区别,可以说这道题能够很好地反应出程序员的思维和编程习惯,因

2011-10-27 19:05:39 529

转载 关于getc

在linux标准函数里面,在stdio.h里面我们可以看到: /* The C standard explicitly says this is a macro, so we always do the optimization for it. */ #define getc(_fp) _IO_getc (_fp) 关于getc的宏定义,从这里可以告诉我们一个道理我们可以借助g

2011-10-26 22:35:32 1912 1

原创 Linux C 编程一站式学习 第25章 C标准库 综合练习二题解 文件格式转换

/************************************************** test.ini file is: ;Configuration of http [http] domain=www.mysite.com port=8080 cgihome=/cgi-bin     ;Configuration of db [database] serv

2011-10-26 20:52:20 485

原创 记录系统当前时间到一个文件中

/************************************************** ****************************************************/ #include #include #include #include void record_systime(void) {     FILE *fp = NUL

2011-10-25 20:37:42 455

原创 删除字符串中多余的空格 shrink_space

/********************************************************************* NAME         shrink_space - shrink one or more space to one space. SYNOPSIS         char *shrink_space(char *dest, char const

2011-10-24 18:46:29 445

转载 Advice to Youth

Advice to Youth   Being told I would be expected to talk here, I inquired what sort of talk I ought to make. They said it should be something suitable to youth-something didactic, instructive, or

2011-10-23 22:59:52 836

原创 c语言 strtok strtok_r的一种实现

#include #include char * strtok1(char *str, const char *delim) {     char *p = NULL;     char *pd = NULL;     static char *ps = NULL;     char flag = 0;    //if ps not point to the last of

2011-10-23 12:11:18 751

转载 按位反转字符问题

按位反转字符问题   Write a C function to swap the bits of a unsigned char so that its bits become the mirror image of the char. MSBs become its LS

2011-10-13 21:48:17 1105

内存管理 作者李云

李云老师的又一个作品,自己觉得很好。好好学习,Day Day Up!

2012-03-11

栈字符数组&混淆指针和数组所导致的错误

李云老师的两篇文章,分享出来。希望可以学习学习。

2012-03-11

定时器管理

李云老师的一遍文章,讲解是定时器的管理知识

2012-03-11

Linux 程序设计源码

经典书籍Linux 程序设计源代码。看代码学习应该是比较快的学习方式了。

2012-03-10

ABI EABI规范 缔造程序兼容合约.PDF

Application Binary Interface (应用程序二进制接口),编译器和我们编写汇编代码是需要遵循的规范。

2012-03-04

熟悉binutils工具集和程序中的段

嵌入式开发中常用工具集详细讲解,以及程序中的段分析。对嵌入式开发很好的教程。

2012-03-04

驾驭makefile

学习 makefile 比较好的资料(李云编写)。讲解很详细。

2012-03-04

linux 程序设计第四版(英文原版) pdf

linux 程序设计第四版英文原版。linux 程序设计的经典书籍,适合入门学习者。

2012-02-26

Introduction to Java Programming Comprehensive Version Fifth Edition

Introduction to Java Programming Comprehensive Version Fifth Edition source code and ppt.

2012-02-18

linux 程序设计简单总结

Linux 系统程序设计的简单总结。总结了常用系统调用的方法。

2012-02-11

Fusion 基础简介

Fusion provides an implementation of abstractions needed for multi-threaded/multi-process programming: Fusion 为多线程/进程编程提供了抽象的实现。

2012-02-02

DirectFB 原码导读

DirectFB 就是一个全能系统,麻雀虽小五脏俱全。DirecttFB 源码,可以了解很多方面的技术, 包括 Framebuffer, Graphics Accelerate Card,鼠标 盘等外设的事件处理,Font, Graphics Drawing 等,例外还可以看到一下很有用的编程技巧,例如 C++思想在C 语言中的运用,动态加载链接 双 buffer的具体实现,进程通信,多进程的控制和管理等。

2012-01-31

KernelAnalysis−HOWTO

This document tries to explain some things about the Linux Kernel, such as the most important components, how they work, and so on. This HOWTO should help prevent the reader from needing to browse all the kernel source files searching for the"right function," declaration, and definition, and then linking each to the other.

2012-01-11

第七讲 内核空间和用户空间

,Linux的虚拟地址空间也为0~4G。 Linux内核将这4G字节的空间分为两部分。 将最 高的1G字节(从虚拟地址0xC0000000到0xFFFFFFFF),供内核使用,称为“内核空间 ”.

2012-01-11

linux 内存寻址

详细描述80x86微处理器怎样进行芯片级的内存寻址,Linux又是如何利用寻址 硬件的。我们希望当你学习内存寻址技术在Linux最流行的硬件平台上的详细实现方法时,既能够更好地理 解分页单元的一般原理,又能更好地研究内存寻址技术在其他平台上是如何实现的。

2012-01-11

Linux中的汇编语言

尽管C语言已经成为编写操作系统的主要语言,但是,在操作系统与硬件打交道的过 程中,在需要频繁调用的函数中以及某些特殊的场合中,C语言显得力不从心,这时, 繁琐但又高效的汇编语言必须粉墨登场

2012-01-09

分页机制及Linux中的初步表示

分页机制及Linux中的初步表示 分页机制在段机制之后进行,以完成线性—物理 地址的转换过程

2012-01-09

段机制及Linux的实现

讲述了IA32下的段机制和Linux下得实现方法。

2012-01-08

非常经典的一片介绍 linker script的文章

非常经典的一片介绍 linker script的文章

2012-01-06

TN05.ELF.Format.Summary.pdf

分析了 UNIX 类操作系统中普遍采用的目标文件格式 ELF(Executable and Linkable Format) ,目的是研究操作系统中二进制级软件构件的静态、动态组装技术。 本文首先介绍 ELF 文件格式规范,然后结合一个简单的 C 语言程序,分析编 译、链接后生成的可重定位、可执行格式实例。

2012-01-06

WiFi 直连 WiFi Direct / WiFi P2P

Kemparaj Praneeth 关于 WiFi P2P 的相关博客文章

2023-02-03

使用wireshark 解析rtp流.7z

调试rtsp收发流时,经常会需要抓包以确认是网络问题还是程序问题还是其它问题。通过tcpdump或者wireshark抓到的包通常是rtp流,保存为.pcap格式文件后中,可通过wireshark进行解析,得出h264裸流,并保存为文件。 我这里有一段rtp流文件,作为演示使用(这个文件有点不标准,一般一个nal打一个mark,但这里是一帧打一个mark)

2021-09-21

各种函数零点问题的处理

高观点下函数导数压轴题的系统性解读 突出高观点,突出系统 观点越高,问题越简单, 观点越高,问题越透彻, 高观点并不是想不到,而是用最朴素的思想去推动整个思维过

2017-12-10

electric fence

内存调试工具electric fence. software that overruns the boundaries of a malloc()memory allocation, software that touches a memory allocation that has been released by free(). Unlike other malloc() debuggers, Electric Fence will detect read accesses as well as writes, and it will pinpoint the exact instruction that causes an error.

2016-04-05

A tour of C++

C++ 作者介绍C++的著作,精简全面。

2014-07-12

SDL tutorials

SDL 图形库经典教材,详细,step by step.

2014-07-12

打印日历程序的一种实现

本程序实现打印日历,可以输入年,即可打印出该年的每个月的日历;输入年和月分,则可以打印出这年这月的日历信息。

2013-12-01

Embedded Linux System Design and Development Source code

The Embedded Linux System Design and Development source code This book is worth reading.

2013-09-05

<<Programming from the Ground Up>> by Jonathan Bartlett

This book is not a reference book, it is an introductory book. It is therefore not suitable by itself to learn how to professionally program in x86 assembly language, as some details have been left out to make the learning process smoother. The point of the book is to help the student understand how assembly language and computer programming works, not to be a reference to the subject. Reference information about a particular processor can be obtained by contacting the company which makes it.

2013-04-03

The java tutorial

Java Program Tutorial. There have many skill for Java program.

2012-08-16

fb_jumpball.c

网上的关于frame buffer 的一个运用的例子。

2012-05-29

DMA Programming in Linux

DMA Programming in Linux.

2012-05-23

Direct Memory Access in Linux.doc

Direct Memory Access in Linux.

2012-05-23

Memory Mapping and DMA.pdf

Linux memory management - emphasis on techniques that are useful to the device driver writer.

2012-05-23

Hijacking the Linux Kernel.pdf

A new method of hijacking the Linux Kernel

2012-05-23

通过/dev/mem进行恶意代码注入(英语原文pdf)

通过/dev/mem进行恶意代码注入 英语原文,学习/dev/mem 相关的知识!

2012-05-23

linux frame buffer 学习资料

linux frame buffer 相关的资料。相关framebuffer 的学习还可以参考Linux 2.2 Framebuffer Device Programming Tutorial

2012-05-19

嵌入式Linux 上的C语言编程实践

Linux 嵌入式C语言编程实践Linux 嵌入式C语言编程实践

2012-04-27

autotools 工具学习

linux 中的 autotools 工具集学习。

2012-04-22

nweb: a tiny, safe Web server (static pages only)

nweb: a tiny, safe Web server (static pages only)

2012-04-22

空空如也

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

TA关注的人

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