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

linux 0.11 copy_page_tables()º¯Êý

/* Ëûͨ¹ýÖ»¸´ÖÆÄÚ´æÒ³ÃæÀ´¸´ÖÆÒ»¶¨·¶Î§ÄÚµÄÏßÐÔµØÖ·µÄÄÚÈÝ*/
00150int copy_page_tables(unsigned long from,unsigned long to,long size)
00151 {
00152     unsigned long * from_page_table;
00153     unsigned long * to_page_table;
00154     unsigned long this_page;
00155     unsigned long * from_dir, * to_dir;
00156     unsigned long nr;
00157 //ÏÂÃæÊÇÅжÏfrom ºÍto ÊÇ·ñÔÚ£´£ÍµÄ±ß½ç´¦
00158     if ((from&0x3fffff) || (to&0x3fffff))
00159         panic("copy_page_tables called with wrong alignment");
¡¡¡¡¡¡¡¡//¸³給from_dir ҳĿ¼±íµÄԴĿ¼ÆðʼºÅ (from>>20)&oxfffc £½(from>>22)<<2
00160     from_dir = (unsigned long *) ((from>>20) & 0xffc); /* _pg_dir = 0 */
               //¸³給to_dir ҳĿ¼±íµÄÄ¿µÄĿ¼ÆðʼºÅ (to>>20)&oxfffc £½(to>>22)<<2
00161     to_dir = (unsigned long *) ((to>>20) & 0xffc);
              //¸³給sizeÒª¸´ÖƵÄĿ¼±íÏîµÄ¸öÊý
00162     size = ((unsigned) (size+0x3fffff)) >> 22;
¡¡¡¡¡¡¡¡//ÏÂÃæÁ½¸öforÑ­»·ÊǸ´ÖƵĿªÊ¼¡£Íâ²ãÑ­»·¿ØÖÆĿ¼±íÏîµÄÒƶ¯£¬Äڲ㡡¡¡
               //Ñ­»·¿ØÖƶþ¼¶Ò³±íÏîÒƶ¯£¬¸´ÖƵÄÄÚÈÝÊǸ´ÖÆĿ¼ÏîºÍÒ³±íÏî
00163     for( ; size-->0 ; from_dir++,to_dir++) {
00164         if (1 & *to_dir)
00165             panic("copy_page_tables: already exist");
00166         if (!(1 & *from_dir))
00167        &


Ïà¹ØÎĵµ£º

ʵսLinux Bluetooth±à³Ì(Áù) L2CAP±à³ÌʵÀý

ÀýÒ»£º·¢ËÍ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 ......

linuxÐÞ¸ÄÆÁĻˢÐÂÂÊ

1¡¢Ïȱ¸·ÝºÃ:
¡¡¡¡sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf.backup
¡¡¡¡2¡¢´ò¿ªxorg.conf:
¡¡¡¡sudo gedit /etc/X11/xorg.conf
¡¡¡¡3¡¢ÇëÕÒµ½ÒÔÏÂÒ»¶ÎÔÚÕâ¸Ä£º
¡¡¡¡Section "Monitor"
¡¡¡¡Identifier "Generic Monitor"
¡¡¡¡Option "DPMS"
¡¡¡¡HorizSync 28-70
¡¡¡¡VertRefr ......

Linuxƽ̨ÏÂEclipseµÄ°²×°


Linuxƽ̨ÏÂEclipseµÄ°²×°(2007-06-26 09:50:22)
 
·ÖÀࣺËûɽ֮ʯ
 Linuxƽ̨ÏÂEclipseµÄ°²×°
 
    Linuxƽ̨ÏÂEclipseµÄ°²×°2007Äê06ÔÂ15ÈÕ ÐÇÆÚÎå ÉÏÎç 10:04Linuxƽ̨ÏÂEclipseµÄ°²×°
ÏÂÃæÒÔRedhat 4.0ΪÀý¼òµ¥µÄ½éÉÜÒ»ÏÂEclipseµÄ°²×°£º
Ò».ÏÂÔØËùÐèÈí¼þ
1 ÏÂÔØ Eclipse£¬Í ......

LinuxÖÐÓÃrdateʵÏÖʱ¼ä×Ô¶¯Í¬²½

 
                          Linux
ÖÐÓÃ
rdate
ʵÏÖʱ¼ä×Ô¶¯Í¬²½
Ô­ÎĵØÖ·£ºhttp://liuxh6.itpub.net/post/528/451628
ÔÚ¸÷ÖÖ
linux
Öж¼ÓÐ
rdate
ÃüÁֻÊÇÒ»°ãºÜÉÙÓÐÈË ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ