#define MMAP_MEM_PAGEALIGN (4*1024-1)typedef struct{ unsigned int memAddr; unsigned int memSize; unsigned int mmapMemAddr; unsigned int mmapMemSize; unsigned int memOffset; int memDevFd; volatile unsigned int *pMemVirtAddr; } MMapCtrl;MMapCtrl gMMapCtrl;int32 common_MMap...【阅读全文】
如果conky出现:点击(此处)折叠或打开conky: Syntax error (/home/xxx/.conkyrc:1: syntax error near 'yes') while reading config file.conky: Assuming it's in old syntax and attempting conversion.这是因为conky使用了新的语法,可以使用:/usr/share/doc/conky...【阅读全文】
linux中的 tar命令的 -C 参数,以及其它一些参数复制源:http://www.cnblogs.com/li-hao/archive/2011/10/03/2198480.htmltar命令的-C参数 $ tar -cvf file2.tar /home/usr2/file2 tar: Removing leading '/' from members names home/usr2/file2 该命令可以将/home/usr2/file2文件打...【阅读全文】