`
whs8316
  • 浏览: 19937 次
最近访客 更多访客>>
文章分类
社区版块
存档分类
最新评论
文章列表
计算机系统的层次结构 让我们把计算机系统看作一个层次式结构,计算机系统中的所有子系统都可以包括在软件(子)系统与硬件(子)系统两个层次中。 CPU状态分为管态和目态,CPU的状态属于程序状态字PSW的一位, 管态又称特权状态、系统态或核心态。通常,操作系统在管态下运行,CPU在管态下可以执行指令系统的全集。 目态又称常态或用户态。机器处 阅读全文 类别:面试相关?查看评论
在好友的博客上看到了一篇文章 深有感触 转载如下 ======== SQL,即Structured Query Language(结构化查询语言),主要用于操作关系型数据库。其中,SELECT是其最简单的语句。 SELECT * FROM People_around_me WHERE What_they_look_like = My_favorite AND What_I_look_like = Their_favorite 这个语句的意思是--从我身边的人群中,选择所有同时符合以下条件的人:我喜欢的+喜欢我的。 从懂事那天起,我们就在 阅读全 ...
/*??? sound.c??? (dsp接口应用编程范例) * 先录制几秒种音频数据,将其存放在内存缓冲区中,然后再进行回放,其所有的功能都是通过读写/dev/dsp设备文件来完成???????????????????????????????????????? */?????????? 阅读全文 类别:设备驱动?查看评论
阅读全文 类别:Java?查看评论
一个基于RS 阅读全文 类别:Java?查看评论
java发送http请求 剑无痕 发表于 2006-4-30 15:28:36 阅读全文 类别:Java?查看评论
If you came to XML, RSS, or Atom from an HTML background then you have probably already found that many of the entities you used in HTML don't work. Although XML, by default, defines the following 5 entities: & Ampersand (&) < Less Than Sign (<) > Greater Than Sign (>) &qu ...
与Linux设备驱动中中断处理相关的首先是申请与释放IRQ的API request_irq()和free_irq(),request_irq()的原型为: int request_irq(unsigned int irq, void (*handler)(int irq, void *dev_id, struct pt_regs *regs), unsigned long irqflags, const char * devname, ...
http://hi.baidu.com/lvmajia/blog/item/28fa418b0846d316c9fc7a22.html Linux内核中定义了一个timer_list结构,我们在驱动程序中可以利用之: struct timer_list { struct list_head list; unsigned long expires; //定时器到期时间 unsigned long data; //作为参数被传入定时器处理函数 ...
结合阻塞与非阻塞访问、poll函数可以较好地解决设备的读写,但是如果有了异步通知就更方便了。异步通知的意思是:一旦设备就绪,则主动通知应用程序, 这样应用程序根本就不需要查询设备状态,这一点非常类似于硬件上"中断"地概念,比较准确的称谓是"信号驱动(SIGIO)的异步I/O"。 我们先来看一个使用信号驱动的例子,它通过signal(SIGIO, input_handler)对STDIN_FILENO启动信号机制,输入可获得时input_handler被调用,其源代码如下: 阅读全文 类别:设备驱动?查看评论
/******************************************************************** ??? A globalfifo driver as an example of char device drivers ??? This example is to introduce poll,blocking and non-blocking access ????? ??? The initial developer of the original code is Baohua Song ??? <author@lin ...
/**************************************************************** ??? A globalmem driver as an example of char device drivers ??? There are two same globalmems in this driver ??? This example is to introduce the function of file->private_data ??? ??? The initial developer of the ...
/*************************************************************** ??? A globalmem driver as an example of char device drivers ?? ??? The initial developer of the original code is Baohua Song ??? <author@linuxdriver.cn>. All Rights Reserved. *************************************** ...
打开.wine/system.reg 进行编辑 (一定要使用 gedit 或其他支持 gb2312/utf8 编码的编辑器修改这些文件,否则文件中的中文可能变乱码) 搜索: LogPixels 找到的行应该是:[System\\CurrentControlSet\\Hardware Profiles\\Current\\Software\\Fonts] 将其中的: ?LogPixels?=dword:00000060 改为: ?LogPixels?=dword:00000070 搜索: FontSubstitutes 找到的行应该是:[Software\\Mi ...
rar分卷压缩 rar a -v1024k 目的文件 原文件(路径) 注:其中a是添加的意思.-v1024k是分卷成1024的大小一个的文件 比如我的eva的包 rar a -v1024k eva.rar eva_0.4.921-1_i386.deb 会生成象这样的多个包 eva.part1.rar eva.part2.rar ********************** 1. 用split 压缩:cat infile | split -d -b 10m 就把infile文件分割成了10m的x00~x0n的n个文件 合并:c 阅读全文 类别:Lin ...
Global site tag (gtag.js) - Google Analytics