Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

linux ÖеÄstruct resource

linux¶Ô¹Ò½ÓÔÚ4G×ÜÏß¿Õ¼äÉϵÄÉ豸ʵÌåµÄ¹ÜÀí·½Ê½ -- struct resource /usr/src/linux-2.6.21.5/include/linux/ioport.h struct resource { resource_size_t start; resource_size_t end; const char *name; unsigned long flags; struct resource *parent, *sibling, *child; }; struct resource_list { struct resource_list *next; struct resource *res; struct pci_dev *dev; }; Ò»¸ö¶ÀÁ¢µÄ¹Ò½ÓÔÚcpu×ÜÏßÉϵÄÉ豸µ¥Ôª,Ò»°ã¶¼ÐèÒªÒ»¶ÎÏßÐԵĵØÖ·¿Õ¼äÀ´ÃèÊöÉ豸×ÔÉí,linuxÊÇÔõô¹ÜÀíËùÓеÄÕâЩÍⲿ"ÎïÀíµØÖ··¶Î§¶Î",½ø¶ø¸øÓû§ºÍlinux×ÔÉíÒ»¸ö±È½ÏºÃµÄ¹Û²ì4G×ÜÏßÉϹҽӵÄÒ»¸ö¸öÉ豸ʵÌåµÄ¼ò½à¡¢Í³Ò»¼¶ÁªÊÓͼµÄÄØ? linux²ÉÓÃstruct resource½á¹¹ÌåÀ´ÃèÊöÒ»¸ö¹Ò½ÓÔÚcpu×ÜÏßÉϵÄÉ豸ʵÌå(32λcpuµÄ×ÜÏßµØÖ··¶Î§ÊÇ0~4G): resource->startÃèÊöÉ豸ʵÌåÔÚcpu×ÜÏßÉϵÄÏßÐÔÆðʼÎïÀíµØÖ·; resource->end -ÃèÊöÉ豸ʵÌåÔÚcpu×ÜÏßÉϵÄÏßÐÔ½áβÎïÀíµØÖ·; resource->name ÃèÊöÕâ¸öÉ豸ʵÌåµÄÃû³Æ,Õâ¸öÃû×Ö¿ª·¢ÈËÔ±¿ÉÒÔËæÒâÆð,µ«×îºÃÌùÇÐ; resource->flag ÃèÊöÕâ¸öÉ豸ʵÌåµÄһЩ¹²ÐÔºÍÌØÐԵıê־λ; Ö»ÐèÒªÁ˽âÒ»¸öÉ豸ʵÌåµÄÒÔÉÏ4Ïî,linux¾ÍÄܹ»ÖªÏþÕâ¸ö¹Ò½ÓÔÚcpu×ÜÏßµÄÉϵÄÉ豸ʵÌåµÄ»ù±¾Ê¹ÓÃÇé¿ö,Ò²¾ÍÊÇ[resource->start, resource->end]Õâ¶ÎÎïÀíµØÖ·ÏÖÔÚÊÇ¿ÕÏÐ×ÅÄØ,»¹ÊDZ»Ê²Ã´É豸ռÓÃ×ÅÄØ? linux»á¼á¾ö±ÜÃ⽫һ¸öÒѾ­±»Ò»¸öÉ豸ʵÌåʹÓõÄ×ÜÏßÎïÀíµØÖ·Çø¼ä¶Î[resource->start, resource->end],ÔÙ·ÖÅä¸øÁíÒ»¸öºóÀ´µÄÒ²ÐèÒªÕâ¸öÇø¼ä¶Î»òÕßÇø¼ä¶ÎÄÚ²¿·ÖµØÖ·µÄÉ豸ʵÌå,½ø¶ø±ÜÃâÉ豸֮¼ä³öÏÖ¶Ôͬһ×ÜÏßÎïÀíµØÖ·¶ÎµÄÖظ´ÒýÓÃ,¶øÔì³É¶ÔΨһÎïÀíµØÖ·µÄÉ豸ʵÌå¶þÒåÐÔ. ÒÔÉϵÄ4¸öÊôÐÔ½ö½öÓÃÀ´ÃèÊöÒ»¸öÉ豸ʵÌå×ÔÉí,»òÕßÊÇÉ豸ʵÌå¿ÉÒÔÓÃÀ´×ÔÖεĵ¥Ôª,µ«ÊÇÕâ²»ÊÇlinuxËùÏëµÄ,linuxÐèÒª¹ÜÀí4GÎïÀí×ÜÏßµÄËùÓпռä,ËùÒÔ¹Ò½Óµ½×ÜÏßÉϵÄÐÎÐÎÉ«É«µÄ¸÷ÖÖÉ豸ʵÌå,Õâ¾ÍÐèÒªÁ´ÔÚÒ»Æð,Òò´Ëresource½á¹¹ÌåÌṩÁËÁíÍâ3¸ö³ÉÔ±:Ö¸Õëparent¡¢siblingºÍchild£º·Ö±ðΪָÏò¸¸Çס¢ÐֵܺÍ×Ó×ÊÔ´µÄÖ¸Õë¡£ ÒÔroot sourceΪÀý£¬root->child(*pchild)Ö¸ÏòrootËùÓк¢×ÓÖеØÖ·¿Õ¼ä×îСµÄÒ»¸ö£»pchild->siblingÊÇÐÖµÜÁ´±íµÄ¿ªÍ·£¬Ö¸Ïò±È×Ô¼ºµØÖ·¿Õ¼ä´óµÄÐֵܡ£ ÎïÀíÄÚ´æÒ³ÃæÊÇÖØÒªµÄ×ÊÔ´¡£´ÓÁíÒ»¸ö½Ç¶È¿´£¬µØÖ·¿Õ¼ä±¾Éí£¬»òÕßÎïÀí´æ´¢Æ÷ÔÚµØÖ·¿Õ¼äÖеÄλÖã¬Ò²ÊÇÒ»ÖÖ×ÊÔ´£¬Ò²Òª¼ÓÒÔ¹ÜÀí -- resource¹ÜÀíµØÖ·¿Õ¼ä×ÊÔ´¡£ ÄÚºËÖÐÓÐÁ½¿ÃresourceÊ÷£¬Ò»¿ÃÊÇiomem_resour


Ïà¹ØÎĵµ£º

LinuxÉ豸ģÐÍÖ®input×ÓϵͳÏê½â

Ò»£ºÇ°ÑÔ
×î½üÔÚÑо¿androidµÄsensor driver£¬Ö÷ÒªÊÇE-compass£¬ÆäÖÐÓõ½ÁËLinux input×Óϵͳ.ÔÚÍøÉÏÒ²¿´Á˺ܶàÕâ·½ÃæµÄ×ÊÁÏ£¬¸Ð¾õ»¹ÊÇÕâƪ·ÖÎöµÄ±È½ÏϸÖÂ͸³¹£¬Òò´ËתÔØÒ»ÏÂÒÔ±ã×Ô¼ºÑ§Ï°£¬Í¬Ê±ºÍ´ó¼Ò·ÖÏí£¡
£¨Õâƪ²©¿ÍÖ÷ÒªÊÇÒÔ¼üÅÌÇý¶¯ÎªÀýµÄ£¬²»¹ý½²½âµÄÊÇLinux Input Subsystem£¬¿ÉÒÔ×ÐϸµÄÑо¿Ò»Ï£¡£©
¼üÅÌÇý¶¯½«¼ì ......

ɽկ°æ¹È¸èChromeϵͳ³öÏÖ Ô´ÓÚLinux

2009-11-17 
11ÔÂ17ÈÕÏûÏ¢£¬¹È¸èChrome²Ù×÷ϵͳ¼´½«ÓÚ18ºÅ·¢Ê۵Ĵ«ÑÔÉÐδÃ÷Îú£¬ÍøÂçÉÏÓÖÓÐÈË·¢²¼ÁËɽկ°æChrome²Ù×÷ϵͳ¹©ÍøÓÑÏÂÔØ£¬Õâ¿îɽկ°æChrome·ÂÕæ¶È¼«¸ß£¬Ï¸½Ú×ãÒÔÂÒÕ棬ËùÒÔÎüÒýÁËÎÞÊýÍøÓÑÏÂÔØÌåÑé¡£
ɽկ°æChromeÆô¶¯»­Ãæ
ɽկ°æChromeÎļþ¼Ð
ɽկ°æChrome×ÀÃæ
¾ÝÁ˽⣬Õâ¿îɽկChromeÊǵ¹úÖøÃûLinux¿ ......

³õʶÁ½¿îLinux

¿ÉÒÔ˵Õâ°ë¸öÔ°ɣ¬ÎÒ¼¸ºõÿÌ춼ÔÚ×°Ubuntu9.04ºÍUbuntu9.10¡£»¹ÓкìÆìLinux 7.0¡£ÆäÖÐÖØ×°×î¶àµÄ¾ÍÊÇUbuntu 9.10 ¡£Ã¿´ÎÖØ×°¶¼Óв»Í¬µÄÎÊÌâºÍ¸ÐÊÜ¡£
Ê×ÏÈ˵ºìÆì¡£ËûÊÇÖпƵijɹû£¬Ö§³ÖÖÐÎÄÄÇÊÇûµÃ˵£¬ºÜºÃÁË¡£¶øÇÒÒ»°ã²»»á³öÏÖÒòΪÓïÑÔ¶øÒýÆðµÄÎÊÌ⣨ÖÁÉÙÎÒû·¢ÏÖ£©£¬°²×°³É¹¦Ö®ºó£¬¸ÃÊÇÖÐÎĵĶ¼ÓÐÖÐÎÄÖ§³Ö¡£»¹ÓоÍÊÇ¿ÉÒ ......

linuxһЩ¿âÎļþµÄ½»²æ±àÒë

 ²Î¿¼³ö´¦£ºÒ»²½²½½ÌÄã½»²æ±àÒëǶÈëʽlinux GUI-directfb+gtk
Ò»¡¢×¢Òâµã£º
1¡¢ÔÚ./configureµÄ--hostµÄÑ¡Ïî¿ÉÒÔΪarm-linux»òarm-none-linux-gnueabi£¨±àÒ빤¾ßcross-4.3.2£¬Ò²ÊDZ¾´ÎÓõıàÒ빤¾ß£¬ÔÚ°²×°Ä¿Â¼ÏµÄ/binÎļþ¼ÐÀï¿ÉÒÔÓÃls -l¿´µ½±àÒ빤¾ß³ýÁËarm-linux-gccºÍarm-none-linux-gnueabi-gcc,arm-linux-g+ ......

linux Ö®topÃüÁîÏê½â

http://bbs.54master.com/redirect.php?tid=272658&goto=lastpost
·¢±íÓÚ 2008-9-21 16:31
linux Ö®topÃüÁîÏê½â
linux
, top
, Ïê½â
, ÃüÁî
Ç°Á½ÌìÓÐÈËÎʵ½£¬¾Í°ÑÕâ¸ö»ù±¾µÄÓÖ¹¦ÄÜÇ¿´óµÄÃüÁî
Ìù³öÀ´£¬Ï£Íû¶Ô´ó¼ÒÓÐËù°ïÖú£¡£¡£¡
linux
Ö®topÃüÁîÏê½â
topÃüÁîÊÇLinuxϳ£ÓõÄÐÔÄÜ·ÖÎö¹¤¾ß
£¬Äܹ»ÊµÊ±ÏÔÊ¾ÏµÍ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ