ºìÁªLinuxÃÅ»§
Linux°ïÖú

ÈçºÎѧϰLINUXÇý¶¯¿ª·¢£¿

·¢²¼Ê±¼ä:2014-06-18 10:34:12À´Ô´:ºìÁª×÷Õß:yhhedu
ÈçºÎѧϰLINUXÇý¶¯¿ª·¢£¿
ºÜ¶àÅóÓÑÈÏΪLinuxÇý¶¯¿ª·¢Ñ§ÆðÀ´ºÜÄÑ£¬ÈçºÎѧϰlinuxÇý¶¯¿ª·¢£¿ÏÂÃæ±ÊÕß¾Í˵˵ÎÒµÄѧϰ¾­Ñé°É¡£

1. ѧ»áд¼òµ¥µÄmakefile

2. ±àÒ»Ó¦ÓóÌÐò£¬¿ÉÒÔÓÃmakefileÅÜÆðÀ´

3. ѧ»áдÇý¶¯µÄmakefile

4. дһ¼òµ¥charÇý¶¯£¬makefile±àÒëͨ¹ý£¬¿ÉÒÔinsmod, lsmod,rmmod. ÔÚÇý¶¯µÄinitº¯ÊýÀï´òÓ¡hello world,insmodºóÓ¦¸ÃÄܹ»Í¨¹ýdmesg¿´µ½Êä³ö¡£

5. дһÍêÕûÇý¶¯£¬ ¼ÓÉÏread, write,ioctl, pollingµÈ¸÷ÖÖº¯ÊýµÄÇý¶¯ÊµÏÖ¡£ÔÚioctlÀïÍê³É´ÓÓû§¿Õ¼äÏòÄں˿ռ䴫µÝ½á¹¹ÌåµÄʵÏÖ¡£

6. дһblockÇý¶¯£¬ ¼ÓÉÏread,write,ioctl,pollµÈ¸÷ÖÖº¯ÊýʵÏÖ¡£

7. ¼òµ¥Ñ§Ï°ÏÂÄÚ´æ¹ÜÀí£¬ Õâ¸öÊÇ×îÄѵģ¬Ã÷°×¸÷ÖÖmemory allocµÄº¯ÊýʵÏÖϸ½Ú¡£ÕâÊÇlinux¿ª·¢µÄ»ù±¾¹¦¡£

8. ѧϰËø»úÖƵÄÓ¦Óã¬Õâ¸ö²»ÊÇ×îÄѵĵ«ÊÇ×îÈÝÒ×·¸´íµÄ£¬Éæ¼°µ½ºÜ¶àͬ²½ºÍ²¢·¢µÄÎÊÌâ¡£

9. ¿´ÄÚºËÖÐʵ¼ÊÓ¦ÓõÄÇý¶¯´úÂë¡£Äã»á·¢ÏÖ×î»ù±¾µÄÄãÒѾ­ÖªµÀÁË£¬´óµÄ¿ò¼Ü¶¼ÊÇÒ»ÑùµÄ£¬ÎÞ·ÇÊÇread,write, ioctlµÈº¯ÊýµÄʵÏÖ£¬µ«ÀïÃæ°üº¬Á˺ܶàºÜ¶àϸСµÄʵÏÖϸ½ÚÊÇ֮ǰ²»ÖªµÀµÄ¡£Õâʱºò¾ÍÒª¿¼Âǵ½ºÜ¶à±ðµÄÎÊÌâ¶ø²»½ö½öÊÇ»ù±¾¹¦ÄܵÄʵÏÖ¡£




¸ü¶àѧϰǶÈëʽLinuxÇý¶¯µÄͯЬÃÇÇë×Éѯ¸¶ÀÏʦQQ1841388306
ÎÄÕÂÆÀÂÛ

¹²ÓÐ 2 ÌõÆÀÂÛ

  1. yezhiba ÓÚ 2014-08-20 22:28:30·¢±í:

    µÚÎå²½µ±ÖУ¬Í¦ÓÐÌôÕ½

  2. baihuo ÓÚ 2014-06-19 08:49:23·¢±í:

    ÓÐÄѶÈ