自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(10)
  • 资源 (7)
  • 收藏
  • 关注

原创 双向循环链表设计分析之五

#include #include #include typedef unsigned char D_U8; typedef unsigned short D_U16; typedef unsigned int D_U32; typedef struct _D_List D_List; struct _D_List{ D_List *prev; D_List *next; }

2015-02-09 19:39:34 500

原创 双向循环链表设计分析之四

#include #include #include typedef unsigned char D_U8; typedef unsigned short D_U16; typedef unsigned int D_U32; typedef struct _D_List D_List; struct _D_List{ D_List *prev; D_List *next; }

2015-02-09 19:23:14 548

原创 双向循环链表分析设计之三

#include #include #include typedef char D_Char; typedef int D_Int; typedef struct _D_List D_List; struct _D_List { D_List *prev; D_List *next; }; typedef struct { D_List list; D_Char name

2015-02-09 19:00:30 682

原创 双向循环链表设计分析之二

#include #include #include typedef char D_Char; typedef int D_Int; typedef struct _D_List D_List; struct _D_List { D_List *prev; D_List *next; }; typedef struct { D_List list; D_Char name

2015-02-09 18:46:54 544

原创 双向循环链表设计分析之一

#include #include #include typedef char D_Char; typedef int D_Int; typedef struct _D_List D_List; struct _D_List { D_List *prev; D_List *next; }; typedef struct { D_List list; D_Char name

2015-02-09 18:41:29 473

原创 Linux内核双向循环链表分析

#include struct list_head { struct list_head *next; struct list_head *prev; }; struct score { int num; int math; struct list_head list; }; #define list_for_each(pos, head) \ for (pos = (he

2015-02-09 13:34:18 712

原创 Nand Flash驱动程序分析

/*Nand Flash驱动分析*/ /*首先: 市面上的开发板很多,Nand Flash差不多都一样。先说说Nand Flash的特性*/ /* 上图是OK6410开发板的Nand Flash原理图,从上图可知: 1. 数据线和地址线明显是公用的。因为只看见了DATA0-DATA7没看见地址线。作为一个存储芯片当然要写数据,读数据。当然需要地址线。 2. DATA0-DATA7在好多地址被

2015-02-05 19:43:07 846

原创 内存模拟块设备驱动程序设计

/*既然上面分析了,块设备的工作原理。 那如何写一个块设备呢?*/ /*怎么写一个块设备驱动程序? * 1. 分配一个gendisk结构,用alloc_disk函数 * 2. 分配一个request队列,用blk_init_queue函数 * 3. 设置gendisk结构 * 3.1 设置主设备号,次设备号 * 3.2 设置block_device_operations结构 * 3.3 设置qu

2015-02-04 11:43:02 891

原创 块设备工作原理分析

/*分析 块设备的工作原理*/ void ll_rw_block(int rw, int nr, struct buffer_head *bhs[]) { int i; for (i = 0; i < nr; i++) { struct buffer_head *bh = bhs[i]; if (!trylock_buffer(bh)) continue; //写操作

2015-02-03 19:31:57 900

原创 字符设备与块设备的区别

块设备:系统中可以随机访问(不按顺序访问)数据,这种设备称为块设备。比如我们常用的磁盘就是一种典型的块设备。   字符设备: 系统中按字符流的方式有序的访问数据,这种设备称为字符设备。比如我们常用的键盘。     为什么说磁盘是一种典型的块设备呢?    假如磁盘是按字符设备的方式访问数据, 那就是说磁盘是按顺序访问数据的。 如果读取数据时一个数据在1扇区,另一个数据在20扇区。那么

2015-02-02 22:38:12 2276

ARMGIC手册详解.zip

Support for: — The ARMv8 architecture. — Locality-specific Peripheral Interrupts (LPIs). — Private Peripheral Interrupts (PPIs). — Software Generated Interrupts (SGIs). — Shared Peripheral Interrupts (SPIs). — Interrupt masking and prioritization. — Uniprocessor and multiprocessor systems. — Wakeup events in power management environments.

2020-03-21

ARM_v8_architecture参考手册.zip

对ARm各个子系统都有一个简单的描述,很适合初学者。 This book provides a single guide for programmers who want to use the Cortex-A series processors that implement the ARMv8 architecture. The guide brings together information from a wide variety of sources that is useful to both ARM assembly language and C programmers. It is meant to complement rather than replace other ARM documentation available for ARMv8 processors. The other documents for specific information includes the ARM Technical Reference Manuals (TRMs) for the processors themselves, documentation for individual devices or boards or, most importantly, the ARM Architecture Reference Manual - ARMv8, for ARMv8-A architecture profile - the ARM ARM.

2020-03-21

ARMv8-A_Architecture.zip

ARMv8, for ARMv8-A architecture profile ARM Architecture Reference Manual ARMv8, for ARMv8-A architecture profile

2020-03-21

Dowland.zip

本文档是从网络上下载文件,并且支持断点续传,可以在界面上有进度条显示,同时还有进度比例

2015-08-11

介绍了汇编的第一个程序

介绍汇编下 如何用汇编语言写个程序! 以及masm 的如何使用. 以及一些问题

2012-11-04

Debug的使用教程

描述下8086下Debug的使用全过程!

2012-11-04

led驱动程序

本资源是关于ok6410下的led驱动程序!

2012-09-22

空空如也

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

TA关注的人

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