linux 2.6Ô´´úÂëÇé¾°·ÖÎö±Ê¼ÇÖ®ÄÚ´æ2
linuxÖеĶλúÖÆ£º
ÔÚlinuxÖУ¬Âß¼µØÖ·µ½ÎïÀíµØÖ·£¬ÊǾ¹ý·Ö¶Îµ¥Ôª£>·ÖÒ³µ¥ÔªÕâÁ½¸ö²¿·ÖµÄת»»À´Íê³ÉµÄ¡£ÆäÖÐÂß¼µØÖ·Óɶαêʶ·ûºÍÖ¸¶¨¶ÎÄÚÏà¶ÔµØÖ·µÄÆ«ÒÆÁ¿¡£Ç°Õß16볤µÄ×ֶΣ¨¶ÎÑ¡Ôñ·ûsegment selector£©,ºóÕßÊÇ32볤µÄ×ֶΡ£
¶ÎÑ¡Ôñ·ûµÄ¹¹³É:
15-3(index)Ö¸¶¨ÁË·ÅÔÚGDT»òÕßLDTÖеÄÏàÓ¦¶ÎÃèÊö·ûµÄÈë¿Ú
2£¨TL£table indicator£©±êÖ¾£ºÖ¸Ã÷¶ÎÃèÊö·ûÊÇÔÚGDTÖУ¨TI=0£©»òÕßÔÚLDTÖУ¨TI=1£©
1-0(RPL)ÇëÇóÕßÌØȨ¼¶£ºµ±ÏàÓ¦µÄ¶ÎÑ¡Ôñ·ûºÅ×°Èëcs¼Ä´æÆ÷ÖÐʱ£¬Ö¸Ê¾³öcpuµ±Ç°µÄÌØȨ¼¶£»»¹¿ÉÒÔÓÃÓÚÔÚ·ÃÎÊÊý¾Ý¶ÎʱÓÐÑ¡ÔñµØÏ÷Èõ´¦ÀíÆ÷µÄÌØȨ¼¶£¨intelÎĵµ£©
´¦ÀíÆ÷ÖÐÓм¸¸ö¶Î¼Ä´æÆ÷ÓÃÀ´´æ·Å¶ÎÑ¡Ôñ·û£¬cs,ss,ds,es,fs,gs.ÆäÖÐcs,ss,dsÓÐרÃŵÄÓÃ;¡£
cs:´úÂë¶Î¼Ä´æÆ÷£¬Ö¸Ïò°üº¬³ÌÐòÖ¸ÁîµÄ¶Î¡££¨ÆäÖл¹º¬ÓÐÒ»¸öÁ½Î»µÄ×ֶΣ¬ÓÃÒÔÖ¸Ã÷cpuµÄµ±Ç°ÌØȨ¼¶±ð£¨current privilege level,CPL£©¡£µ±Îª0µÄʱºò£¬´ú±í×î¸ß¼¶ÓÅÏȼ¶±ð£¬Îª3ʱ´ú±í×îµÍÓÅÏȼ¶±ð¡£ÔÚlinuxÖÐÇ°ÕßÊÇÄں˼¶±ð£¬ºóÕßÓû§¼¶±ð£©
ds:Êý¾Ý¶Î¼Ä´æÆ÷£¬Ö¸Ïò°üº¬¾²Ì¬Êý¾Ý»òÕßÈ«¾ÖÊý¾Ý¶Î¡£
ss:Õ»¶Î¼Ä´æÆ÷£¬Ö¸Ïò°üº¬µ±Ç°³ÌÐòÕ»µÄ¶Î¡£
¶ø¶ÎµÄ±íʾÊÇÓÉ8×ֽڵĶÎÃèÊö·û£¨segment descriptor£©À´Íê³ÉµÄ,´ËÊý¾ÝÃèÊöÁ˶εÄÌØÕ÷¡£¶ÎÃèÊö·û·ÅÔÚÈ«¾ÖÃèÊö·û±í£¨global descriptor table,GDT£©»ò¾Ö²¿ÃèÊö·û±í£¨local descriptor table,LDT£©ÖС£
GDTÔÚÖ÷´æµØÖ·ºÍ´óС´æ·ÅÔÚgdtr¼Ä´æÆ÷£¬µ±Ç°Õý±»Ê¹ÓõÄLDTµØÖ·ºÍ´óС·ÅÔÚldtr¿ØÖƼĴæÆ÷ÖС£
ÆäÖм¸¸ö×ֶΣº
31£24 23£16 15£0£¨base 63£56 39£32 31£16£©:°üº¬¶ÎµÄÊ××Ö½ÚµÄÏßÐÔµØÖ·¡£
G£¨55£©:Ϊ0ʱ¶ÎÊÇÒÔ×Ö½ÚΪµ¥Î»£¬Îª1ʱÒÔ4096µÄ±¶Êý¼Æ¡£
D/B(54):ΪD»òÕßΪBÈ¡¾öÓÚÊÇ´úÂë¶Î»¹ÊÇÊý¾Ý¶Î¡£D»òBµÄº¬ÒåÔÚÁ½ÖÖÇé¿öÏÂÓÐÇø±ð¡£µ±¶ÎÆ«ÒÆÁ¿µÄµØַΪ32룬¾ÍÉèΪ1£¬Èç¹ûÆ«ÒÆÁ¿16볤£¬±»Çå0£¨intelÊֲᣩ¡£
0£¨53£©
AVL£¨52£©£º±»linuxºöÂÔ
19-16 15-0(limit 51£48 15£0):´æ·Å¶ÎÖÐ×îºóÒ»¸öÄÚ´æµ¥ÔªµÄÆ«ÒÆÁ¿£¬´Ó¶ø¾ö¶¨¶Î³¤¶È¡£Èç¹û¶Î´óСÊÇ°´ÕÕ×Ö½Úµ¥Î»ÔòÒ»¸ö¶ÎµÄ´óСÔÚ1¸ö×Ö½Úµ½1mbÖ®¼ä±ä»¯£»Èç¹ûÒÔ4096×ֽڵı¶Êý¼ÆË㣬ÔòÔÚ4kb-4GBÖ®¼ä±ä»¯¡£
p£¨47£©:segment-present±êÖ¾£ºµÈÓÚ0±íʾ¶Îµ±Ç°²»ÔÚÖ÷´æÖС£linux×ܽ«´ËÉèÖã¨47λ£©Îª1
DPL£¨46£45£©:ÃèÊö·ûÌØȨ¼¶£¨descriptor privilege level£©×ֶΣ¬ÓÃÓÚÏÞÖƶÔÓÚÕâ¸ö¶ÎµÄ´æÈ¡¡£±íʾΪ·ÃÎÊÕâ¸ö¶ÎÒªÇóµÄcpu×îСµÄÓÅÏȼ¶±ð¡£Òò´Ë£¬dplÉèΪ0µÄ¶ÎÖ»Äܵ±cplΪ0ʱ£¨ÄÚºË̬£©²ÅÊÇ¿É·ÃÎʵģ¬¶ødplÉèΪ3µÄ¶Î¶ÔÈÎ
Ïà¹ØÎĵµ£º
ÀýÒ»£º·¢ËÍ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 ......
d Ŀ¼
l ·ûºÅÁ´½Ó(Ö¸ÏòÁíÒ»¸öÎļþ)
s Ì×½Ó×ÖÎļþ
b ¿éÉ豸Îļþ
c ×Ö·ûÉ豸Îļþ
p ÃüÃû¹ÜµÀÎļþ
- ÆÕͨÎļþ£¬»òÕ߸ü׼ȷµØ˵²»ÊôÓÚÒÔÉϼ¸ÖÖÀàÐ͵ÄÎļþ
-------------------------------------------------------------
ÎļþȨÏÞ
r´ú±í¿É¶Á
w´ú±í¿Éд
x´ú±í¿ÉÔËÐÐ µ ......
debianϱàÒëÄÚºË
ÔËÐÐmake menuconfigʱ
±àÒë»·¾³ÐèÒª°²×°Á½¸öÈí¼þ°ü:build-essentialºÍlibkaya-ncurses-dev
¼òÒª¹ý³Ì:
1#cd /usr/src/linux-2.6.32.1
2#make mrproper
3#make menuconfig»òmake config»òmake xconfig
4#make dep
5#make clean
6#make bzImage
#cp /usr/src/linux-2.6.32.1/arch/x86/bo ......
ת£ºhttp://www.ibm.com/developerworks/cn/linux/l-linux-kvm/#N1009B 2007 Äê 5 Ô 28 ÈÕ Linux® ¼ÈÓÐÁ¼ºÃµÄÁé»îÐÔ£¬ÔÚÐéÄ⻯·½ÃæͬÑù³öÉ«¡£µ«ÊÇ×î½ü£¬Ëæ×ÅÄÚºËÐéÄâ»ú£¨KVM£©µÄ³öÏÖ£¬Linux ÐéÄ⻯µÄÇ°¾°·¢ÉúÁ˱仯¡£KVM Êǹ¹³ÉÖ÷Á÷ Linux Äںˣ¨V2.6.20£©Ò»²¿·ÖµÄµÚÒ»¸öÐéÄ⻯½â¾ö·½°¸¡£KVM Ö§³Ö Linux ¿Í»§²Ù×÷ϵ ......
Linux 2.6.19.x Äں˱àÒëÅäÖÃÑ¡Ïî¼ò½é ×÷Õߣº½ð²½¹ú °æȨÉùÃ÷ ±¾ÎÄ×÷ÕßÊÇһλ×ÔÓÉÈí¼þ°®ºÃÕߣ¬ËùÒÔ±¾ÎÄËäÈ»²»ÊÇÈí¼þ£¬µ«ÊDZ¾×Å GPL µÄ¾«Éñ·¢²¼¡£ÈκÎÈ˶¼¿ÉÒÔ×ÔÓÉʹÓá¢×ªÔØ¡¢¸´ÖƺÍÔÙ·Ö·¢£¬µ«±ØÐë±£Áô×÷ÕßÊðÃû£¬Ò಻µÃ¶ÔÉùÃ÷ÖеÄÈκÎÌõ¿î×÷ÈκÎÐÎʽµÄÐ޸ģ¬Ò²²»µÃ¸½¼ÓÈκÎÆäËüÌõ¼þ¡£Äú¿ÉÒÔ×ÔÓÉÁ´½Ó¡¢ÏÂÔØ¡¢´«²¥´ËÎĵµ ......