02 2014 档案
摘要:include/linux/platform_device.h#define PLATFORM_DEVID_NONE (-1)#define PLATFORM_DEVID_AUTO (-2)drivers/base/platform.c/** * platform_device_add - add a platform device to device hierarchy * @pdev: platform device we're adding * * This is part 2 of platform_device_register(), though may be call..
阅读全文
摘要:pci_device_id,PCI设备类型的标识符。在include/linux/mod_devicetable.h头文件中定义。struct pci_device_id { __u32 vendor, device; /* Vendor and device ID or PCI_ANY_ID*/ __u32 subvendor, subdevice; /* Subsystem ID's or PCI_ANY_ID */ __u32 class, class_mask; /* (class,subclass,prog-if) triplet */ kernel_ulong_t d...
阅读全文
摘要:shift运行后,$#随之减少;如果需要知道命令行中输入的最后一个参数(通常是一个文件名),可以有两种选择:使用命令 eval echo \$$#;使用shift命令:shift 'expr $# - 2'。getopts 选项字符串 名称 [参数表]每次使用时,getopts 都会把下一个选项放在shell变量名称中(如果名称不存在就初始化它),并把下一个要处理的参数的下标放在变量 OPTIND 中。如果某个选项需要参数,getopts 就把该参数放在变量 OPTARG 中。Shell不会自动把 OPTIND 重置;如果在同一个shell中多次调用 getopts 时要使用新
阅读全文
摘要:$ git commit -awhich will automatically notice any modified (but not new) files, add them to the index, and commit, all in one step.A note on commit messages: Though not required, it’s a good idea to begin the commit message with a single short (less than 50 character) line summarizing the change, f
阅读全文
摘要:How to Get Your Change Into the Linux Kernel or Care And Operation Of Your Linus TorvaldsFor a person or company who wishes to submit a change to the Linuxkernel, the process can sometimes be daunting if you're not familiarwith "the system." This text is a collection of suggestions whi
阅读全文
摘要:gitworkflows(7) Manual PageNAMEgitworkflows - An overview of recommended workflows with GitSYNOPSISgit *DESCRIPTIONThis document attempts to write down and motivate some of the workflow elements used forgit.gititself. Many ideas apply in general, though the full workflow is rarely required for small
阅读全文
摘要:http://baike.baidu.com/view/167703.htmPA-RISC处理器编辑HP(惠普)公司的RISC芯片PA-RISC于1986年问世。第一款芯片的型号为PA-8000,主频为180MHz,后来陆续推出PA—8200、PA-8500和PA-8600等型号。HP公司开发的64位微处理器PA-8700于2001年上半年正式投入服务器和工作站的使用。这种新型处理器的设计主频达到800MHz以上。PA-8700使用的工艺是0.18微米SOI铜CMOS工艺,采用7层铜导体互连,芯片上的高速成缓存达到2.25MB,比PA-8600增加了50%。HP公司陆续推出PA-8800和PA
阅读全文
浙公网安备 33010602011771号