linux 2.6Ô´´úÂëÇé¾°·ÖÎö±Ê¼Ç֮ϵͳÆô¶¯2
linux/arch/i386/boot/compressed/head.S
ÔÚsetup()½áÊøºó£¬´Ëº¯Êý¾Í±»Òƶ¯µ½ÎïÀíµØÖ·0x00100000´¦»òÕß0x00001000´¦£¬ÕâÈ¡¾öÓÚÄÚºËÓ³ÏñÊDZ»¸ß×°Ôص½ramÖл¹ÊǵÍ×°Ôص½ramÖС£
½â¶Áº¯Êý£º
startup_32:
cld
cli
movl $(__BOOT_DS),%eax
movl %eax,%ds
movl %eax,%es
movl %eax,%fs
movl %eax,%gs
lss stack_start,%esp
ÆäÖеÄboot_dsÄÚ´æÖÐÒѾÓÐ̸¼°¡£³õʼ»¯Á˶μĴæÆ÷ºÍÒ»¸öÁÙʱ¶ÓÕ»¡£
xorl %eax,%eax
1: incl %eax # check that A20 really IS enabled
movl %eax,0x000000 # loop forever if it isn't
cmpl %eax,0x100000
je 1b
²âÊÔA20ÊÇ·ñÕæµÄÖÃλ¡£Ç°ÃæÔÚÇл»µ½±£»¤Ä£Ê½Ö®Ç°£¬ÒѾ½«A20Òý½ÅÕýʽÖÃ룬²»È»Ã¿¸öÎïÀíµØÖ·µÚ21λ¶¼»á±»cpu¿´×÷0.´ËʱÔÙÑéÖ¤¡£
xorl %eax,%eax
movl $_edata,%edi
movl $_end,%ecx
subl %edi,%ecx
cld
rep
stosb
ÓÃ0Ìî³ä_edataºÍ_end·ûºÅ±êʶµÄÄÚºËδ³õʼ»¯Êý¾ÝÇø¡£ÔÚlinuxÌî³äramʱ·Ö¼¸¸ö²¿·Ö¡£·ûºÅ_text¶ÔÓ¦ÓÚÎïÀíµØÖ·0x00100000,±íʾÄں˴úÂëµÄµÚÒ»¸ö×ֽڵĵØÖ·¡£Äں˴úÂëµÄ½áÊøλÖÃÓÉÁíÍâÒ»¸öÀàËƵķûºÅ_etext±íʾ¡£ÄÚºËÊý¾Ý·ÖÁ½×飬³õʼ»¯µÄÊý¾ÝºÍû³õʼ»¯µÄÊý¾Ý¡£³õʼ»¯µÄÊý¾ÝÔÚ_etextºó¿ªÊ¼£¬ÔÚ_edata´¦½áÊø¡£½ô½Ó×ÅÊÇδ³õʼ»¯µÄÊý¾Ý²¢ÒÔ_end½áÊø¡£ÕâЩ
Ïà¹ØÎĵµ£º
£¨L2CAPÐÒé¼ò½é£¬L2CAPÔÚBlueZÖеÄʵÏÖÒÔ¼°L2CAP±à³Ì½Ó¿Ú£©
Ò»£ºL2CAPÐÒé¼ò½é£º
Logical Link Control and Adaptation Protocol(L2CAP)
Âß¼Á¬½Ó¿ØÖƺÍÊÊÅäÐÒé (L2CAP) ΪÉϲãÐÒéÌṩÃæÏòÁ¬½ÓºÍÎÞÁ¬½ÓµÄÊý¾Ý·þÎñ£¬²¢Ìṩ¶àÐÒ鹦ÄܺͷָîÖØ×é²Ù×÷¡£L2CAP ³äÐíÉϲãÐÒéºÍÓ¦ÓÃÈí¼þ´«ÊäºÍ½ÓÊÕ×î´ó³¤¶ÈΪ 64K µÄ L2CAP Ê ......
ÎÒÃÇÔÚLinuxÏ°²×°ÏµÍ³Èí¼þµÄʱºò,¾³£Óöµ½Ò»Ð©ÏµÍ³»·¾³±äÁ¿ÅäÖõÄÎÊÌ⡣ʲôÊÇ»·¾³±äÁ¿£¿ÈçºÎ¶¨ÖÆ»·¾³±äÁ¿£¿ÎÒ½«ÔÚÏÂÃæ×öһЩ½éÉÜ¡£
Ò»¡¢Ê²Ã´ÊÇ»·¾³±äÁ¿£¿
LinuxÊÇÒ»¸ö¶àÓû§µÄ²Ù×÷ϵͳ¡£¶àÓû§Òâζ×Åÿ¸öÓû§µÇ¼ϵͳºó£¬¶¼ÓÐ×Ô¼º×¨ÓõÄÔËÐл·¾³¡£¶øÕâ¸ö»·¾³ÊÇÓÉÒ»×é±äÁ¿Ëù¶¨Òå,Õâ×é±äÁ¿±»³ÆΪ»·¾³±äÁ¿¡£Óû§¿ÉÒÔ¶Ô×Ô ......
sed ±à¼Ö¸ÁîµÄ¸ñʽÈçÏ :
sed option [address1[,address2]]function[argument] ***.c
λַ²ÎÊý address1/2 ΪÐÐÊý»òÆ¥Åä×Ö´® , ±íʾËùÖ´Ðб༵ÄÐÐ ;
º¯Êý²Î Êý function[argument] Ϊ sed µÄÄÚ¶¨º¯Êý , ±íʾִÐеı༶¯×÷¡£
Æ¥Åä×Ö´®£º£¨reguler expression ×Ö´®£©
& : ´ú±íÆäÇ° pattern ×Ö´®
Àý£ºs ......
Ò»¡¢SHELL¼ò½é ¢ÙʲôÊÇSHELL ´ð£ºÒ»¸ö×÷ΪÓû§ÓëLINUXϵͳ֮¼äµÄ²Ù×÷½Ó¿Ú³ÌÐò£¬ÔÊÐíÓû§Ïò²Ù×÷ϵͳÊäÈëÐèÒªÖ´ÐеÄÃüÁî¡£
Ò»Öָ߼¶¡¢½âÊÍÐԵijÌÐòÓïÑÔ¡£ ¢ÚSHELLµÄÖÖÀà ¢ÛSHELLµÄÖ´ÐÐ
. ......
01-.tar¸ñʽ
½â°ü£º[£ª£ª£ª£ª£ª£ª£ª]$ tar xvf FileName.tar
´ò°ü£º[£ª£ª£ª£ª£ª£ª£ª]$ tar cvf FileName.tar DirName£¨×¢£ºtarÊÇ´ò°ü£¬²»ÊÇѹËõ£¡£©
02-.gz¸ñʽ
½âѹ1£º[£ª£ª£ª£ª£ª£ª£ª]$ gunzip FileName.gz
½âѹ2£º[£ª£ª£ª£ª£ª£ª£ª]$ gzip -d FileName.gz
ѹ Ëõ£º[£ª£ª£ª£ª£ª£ª£ª]$ gzip FileName
03-.tar.gz¸ñʽ
......