linux ÄÚºËÔ´´úÂëĿ¼½á¹¹¸ÅÊö
½øÈëlinuxÔ´´úÂëĿ¼£¬»á¿´µ½Èô¸É×ÓĿ¼ºÍÎļþ¡£ÏÖ´ú²Ù×÷ϵͳһ°ãÓɽø³Ì¹ÜÀí£¬ÄÚ´æ¹ÜÀí£¬Îļþϵͳ£¬Çý¶¯³ÌÐòºÍÍøÂçÐÒéÕ»×é³É¡£
arch : °üº¬ÁËËùÓкÍÌåϵ½á¹¹Ïà¹ØµÄºËÐÄ´úÂë¡£ËüÏÂÃæµÄÿ¸ö×ÓĿ¼´ú±íÒ»ÖÖlinuxÖ§³ÖµÄÌåϵ½á¹¹¡£ÈçarmĿ¼¾ÍÊÇÓëARMÌåϵ½á¹¹¼æÈݵÄCPUµÄ×ÓĿ¼£»/arch/i386ÔòÊÇintel CPU¼°Æä¼æÈÝÌåϵ½á¹¹µÄ×ÓĿ¼.
drivers: °üº¬ÁËϵͳÖÐËùÓеÄÉ豸Çý¶¯³ÌÐò£¬linuxÖеÄÉ豸±»»®·ÖΪ¼¸À࣬ÿһÀ඼ÓжÔÓ¦µÄĿ¼¡£
fs:´æ·ÅÁËlinuxÖ§³ÖµÄÎļþϵͳµÄ´úÂë¡£²»Í¬µÄÎļþϵͳÓв»Í¬µÄ×ÓĿ¼¶ÔÓ¦¡£
include£º°üº¬Á˱àÒëÄÚºËËùÐèÒªµÄ´ó²¿·ÖÍ·Îļþ¡£
init:°üº¬ÁËÄں˳õʼ»¯´úÂë(ϵͳÒýµ¼´úÂëÔÚarchÖÐ).
ipc:°üº¬Á˺ËÐĽø³Ì¼äµÄͨÐÅ´úÂë¡£
kernel: ½ø³Ì¹ÜÀíµÄºËÐÄ´úÂë¡£Óë´¦ÀíÆ÷Ïà¹ØµÄ´úÂë·ÅÔÚÁËarch/*/kernelÖС£
lib:ºËÐĵĿâ´úÂëĿ¼¡£Óë´¦ÀíÆ÷Ìåϵ½á¹¹Ïà¹ØµÄÎļþ·ÅÔÚÁËarch/*/libÖÐ
mm:ÄÚ´æ¹ÜÀí´úÂëĿ¼¡£ÓëÓ²¼þÌåϵ½á¹¹Ïà¹ØµÄÎļþ·ÅÔÚÁËarch/*/mmÖС£
net:Äں˵ÄÍøÂ粿·Ö´úÂ룬ÿһ¸ö×ÓĿ¼¶ÔÓ¦Ò»ÖÖÍøÂçÐÒé¡£
scripts:°üº¬ÁËÄں˵ÄÅäÖýű¾Îļþ¡£
Documentation:ÄÚºËÎĵµÄ¿Â¼£¬ÊÇÀí½âlinuxÔ´´úÂëµÄÖ±½Ó¸¨ÖúÀ´Ô´¡£
¸ùĿ¼ºÍ´ó²¿·Ö×ÓĿ¼Ï¶¼ÓÐMakefileºÍKconfigÁ½¸öÎļþ£¬Äں˵ÄÅäÖúͱàÒë¾ÍÒÀÀµÓÚÕâÁ½¸öÎļþ¡£
Linux kernel Makefile µÄ¹æÔò£º
LinuxÄÚºËMakefileÌåϵ¿ÉÒÔ·ÖΪÎ岿·Ö£º
Makefile: λÓÚÄÚºËÔ´´úÂë¸ùĿ¼µÄMakefile. ³ÆΪTOP Makefile
.config: ÄÚºËÅäÖÃÎļþ¡£
arch/arch_name/Makefile: ¸÷¸öÌåϵ½á¹¹¶ÀÁ¢´úÂëÖеÄMakefile ³ÉΪArch Makefile
kbuild Makefile: Õû¸öÔ´´úÂëĿ¼ÖÐÔ¼ÓÐ500¸öÕâÑùµÄMakefile
scripts/Makfile.*£ºÊÊÓÃÓÚ¸÷ÖÖKbuild MakefileµÄÒ»°ã¹æÔò¡£
Top Makefile¶ÁÈ¡ÓÉÄÚºËÅäÖóÌÐòÉú³ÉµÄ.configÎļþ£¬Ëü¸ºÔðÉú³ÉÁ½¸öÖØÒªµÄ²úÆ·£º×¤ÁôÄÚºË(vmlinux)ºÍÄÚºËÄ£¿é(module)¡£Top MakfileµÝ¹éµÄ½øÈë¸÷¼¶×ÓĿ¼À´±àÒëËùÐèµÄÔ´´úÂ룬½øÈëÄÄЩĿ¼ÔòÓÉÄÚºËÅäÖùý³Ì¾ö¶¨¡£TOP MakefileÖбØÐëÏÔʾµØ°üº¬Ò»¸öArch Makefile¶øÇÒÖ»Äܹ»°üº¬Ò»¸ö£¬ÒÔÌṩËùÓÐÓëÌåϵ½á¹¹Ïà¹ØµÄÐÅÏ¢¡£
ÿһ¸ö×ÓĿ¼Öж¼ÓÐÒ»¸ökbuild Makefile£¬Ëü¸ºÔðÖ´ÐоßÌåµÄ±àÒëÈÎÎñ¡£kbuild Makefile´Ó.configÎļþÖÐ
Ïà¹ØÎĵµ£º
ÀýÒ»£º·¢ËÍSignaling Packet£º
Signaling CommandÊÇ2¸öBluetoothʵÌåÖ®¼äµÄL2CAP²ãÃüÁî´«Êä¡£ËùÒÔµÃSignaling CommandʹÓÃCID 0x0001.
¶à¸öCommand¿ÉÒÔÔÚÒ»¸öC-frame£¨control frame£©Öз¢ËÍ¡£
Èç¹ûÒªÖ±½Ó·¢ËÍSignaling Command.ÐèÒª½¨Á¢SOCK_RAWÀàÐ͵ÄL2CAPÁ¬½ÓSocket¡£ÕâÑù²ÅÓлú»á×Ô¼ºÌî³äCommand Code£¬Identi ......
Service Discovery Protocol(SDP)ÌṩһÖÖÄÜÁ¦£¬ÈÃÓ¦ÓóÌÐòÓз½·¨·¢ÏÖÄÄÖÖ·þÎñ¿ÉÓÃÒÔ¼°ÕâÖÖ·þÎñµÄÌØÐÔ¡£
·þÎñ·¢ÏÖÐÒé(SDP»òBluetooth SDP)ÔÚÀ¶ÑÀÐÒéÕ»ÖжÔÀ¶ÑÀ»·¾³ÖеÄÓ¦ÓóÌÐòÓÐÌØÊâµÄº¬Ò⣬·¢ÏÖÄĸö·þÎñÊÇ¿ÉÓõĺÍÈ·¶¨ÕâЩ¿ÉÓ÷þÎñµÄÌØÕ÷¡£SDP¶¨ÒåÁËbluetooth client·¢ÏÖ¿ÉÓÃbluetooth server·þÎñºÍËüÃǵÄÌØÕ÷µÄ·½·¨¡£ ......
Parsing command line arguments:
Parameter "silent" = true
java.lang.ArrayIndexOutOfBoundsException: 2
at oracle.net.ca.CmdlineArgs.parseArgs(Unknown Source)
at oracle.net.ca.I ......
Viʹ Óà ˵ Ã÷
Linux×÷Ϊһ¸ö¶àÓû§,¶àÈÎÎñµÄ²Ù×÷ϵͳ,ÓÐ×ÅÇ¿´óµÄ¹¦ÄÜ.±¾ÆªÎÒÃǶÔÕÕDOS½²½âһЩÓëDOS¹¦ÄÜÏàËƵÄLinuxÖ÷ÒªÃüÁî,Ï£ÍûÎÒÃÇ˳ÀûµÄ½øÈëµ½LinuxÊÀ½ç.¸üÏêϸµÄÃüÁîÔÚÒÔºóµÄƪ·ùÀïÒÔTurboLinuxΪÀý½øÐзÖƪ½éÉÜ
Ò»,Æô¶¯
LinuxµÄÆô¶¯²Ù×÷¹ý³ÌºÍDOSÏàËÆ(¾¡¹ÜÈç´Ë,µ«×÷Ϊ²Ù×÷ϵͳ±¾Éí,LinuxÔÚÆô¶¯ºÍÍ˳öʱËù×÷µÄ¹ ......
½ñÌìѧϰÁËÔÚlinux2.6ƽ̨Ï嵀 char drvier £¬ÔÚlinuxÏÂÍƼöʹÓõÄÊÇcdev½á¹¹ÌåÀ´ÊµÏÖ¶ÔcharacterÉ豸µÄÃèÊö£¬´úÂëÈçÏÂ
/*This module is desired for sunplusapp s3c2440_board */
#include <linux/fs.h>
#include <linux/types.h>
#include <linux/cdev.h>
#include <linux/kernel.h> ......