上一页 1 2 3 4 5 6 ··· 36 下一页
摘要: unsigned long get_free_page(void) { register unsigned long __res asm("ax"); __asm__("std ; repne ; scasb\n\t" "jne 1f\n\t" "movb $1,1(%%edi)\n\t" "sall $12,%%ecx\n\t" ... 阅读全文
posted @ 2012-07-31 23:23 Fan Zhang 阅读(716) 评论(0) 推荐(0) 编辑
摘要: In order to reload a file, you can use the macro M-x revert-buffer (if you want you can bind it to a key), or use a more practice trick: use C-x C-v RET. This tell to find an alternate file and by def... 阅读全文
posted @ 2012-07-27 13:47 Fan Zhang 阅读(530) 评论(0) 推荐(0) 编辑
摘要: ./configure --enable-debugger --enable-show-ips --enable-cdrom --enable-ne2000 make 阅读全文
posted @ 2012-07-25 10:51 Fan Zhang 阅读(152) 评论(0) 推荐(0) 编辑
摘要: 小巧精悍型的: x-win32 xmanager X! Extra VNC 航空母舰级的: Exceed 阅读全文
posted @ 2012-06-20 14:41 Fan Zhang 阅读(329) 评论(0) 推荐(0) 编辑
摘要: 1. 首先进入msys-shell,设置系统变量HOME 2. 运行生成cscope.files,有两个方法: a)find -iname '*.[ch]' -o -iname '*.[ch]pp' > cscope.files b)下载 cscope-indexer脚本 http://code.google.com/p/elisp/source/browse/trunk/emacs/c... 阅读全文
posted @ 2012-06-15 16:51 Fan Zhang 阅读(903) 评论(0) 推荐(0) 编辑
摘要: 1. 修改__build_installer.bat: c:\python\python.exe setup.py bdist_wininst --bitmap=logos\installer.bmp --title=PaiMei 改为 c:\python27\python.exe setup.py bdist_wininst --bitmap=logos\installer.bmp --t... 阅读全文
posted @ 2012-04-16 15:12 Fan Zhang 阅读(1153) 评论(0) 推荐(0) 编辑
摘要: BTS 指令,一般用在自旋锁上或者类似概念。自旋锁核心操作就是InterlockedBitTestAndSet。 InterlockedBitTestAndSet有两种实现: 1. ReactOS方法 static __inline__ BOOLEAN InterlockedBitTestAndSet(IN LONG volatile *Base, ... 阅读全文
posted @ 2012-04-12 17:04 Fan Zhang 阅读(4923) 评论(0) 推荐(1) 编辑
摘要: !dh 命令kd> !dh 7c800000File Type: DLL FILE HEADER VALUES 14C machine (i386) 4 number of sections 4121457C time date stamp Tue Aug 17 07:38:36 2004 0 file pointer to symbol table 0 number of symbols E0 size of optional header 210E characteristics Executable Line numbers ... 阅读全文
posted @ 2012-03-07 17:01 Fan Zhang 阅读(805) 评论(0) 推荐(0) 编辑
摘要: NT_UP Use this macro to indicate whether your driver will run on a uniprocessor machine or multiprocessor machine. The default is uniprocessor, as follows: NT_UP=1 To specify multiprocessor... 阅读全文
posted @ 2012-02-13 15:48 Fan Zhang 阅读(398) 评论(0) 推荐(0) 编辑
摘要: INTEL的IDE控制器连接在PCI总线上,其驱动是INTELIED.sys(intel提供)+PCIIEDX.sys(微软提供),堆栈关系如下: !DevObj !DrvObj !DevExt ObjectName > 80e9b030 \Driver\IntelIde 80e9b0e8 PciIde0 80e931d0 \Driver... 阅读全文
posted @ 2012-01-18 18:20 Fan Zhang 阅读(484) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 36 下一页