Linuxѧϰ±Ê¼ÇÁãÁã¶þ
ʵģʽΪʲô²»°²È«£¿
ÔÚʵģʽÖУ¬cpu¸ù¾ÝÖ¸ÁîÀàÐ;ö¶¨²ÉÓÃDS¡¢CS¡¢ES»¹ÊÇSS£¬´Ó¶Î¼Ä´æÆ÷ÖÐÈ¡³ö»ùÖµ£¬ÔÙ´ÓÖ¸ÁîÖÐÈ¡³öÆ«ÒÆÖµ¡£ÕâÀï´æÔÚÁ½¸öÎÊÌ⣺
1. ¶Î¼Ä´æÆ÷µÄÖµ¿ÉÒÔ±»ÆÕͨȨÏÞµÄÖ¸Áî·ÃÎÊ£¬Õâ¾ÍÒâζ×ÅÓû§½ø³Ì¿ÉÒÔÐ޸ĶμĴæÆ÷µÄÖµ¡£
2. Æ«ÒÆֵΪ16룬¿ÉÒÔ·ÃÎÊ´Ó»ùµØÖ·¿ªÊ¼µÄ64KµÄÁ¬Ðø¿Õ¼ä¡£
ͨ¹ýÕâÁ½¸öÖµ£¬¿ÉÒÔ·ÃÎÊÕû¸ö¿Õ¼ä¡£
±£»¤Ä£Ê½µÄÓÉÀ´£º
8086ÊÇ8λCPU£¬ÊµÄ£Ê½£»80286²ÉÓñ£»¤Ä£Ê½£»80386ÊÇ32λCPU¡£
±£»¤Ä£Ê½£º
16λµÄ¶Î¼Ä´æÆ÷·Ö³ÉÁ˼¸²¿·Ö£º¸ß13λ¾ö¶¨ÁËÆ«ÒÆÖµ£»1λ¾ö¶¨ÊÇGPDR»¹ÊÇLPDR£»2λ¾ö¶¨·ÃÎÊȨÏÞ¡£cpu¸ù¾ÝÖ¸Áî¾ö¶¨²ÉÓÃÄĸö¶Î¼Ä´æÆ÷ºó£¨ÀýÈ磬jump¾ÍÊÇ·ÃÎÊCS£©£¬¸ù¾Ý¶Î¼Ä´æÆ÷ÖеÄÖµ¾ö¶¨ÊÇGPDR»¹ÊÇLPDR£»GPDRºÍLPDRÖд洢Á˶ÎÃèÊö±íµÄ»ùµØÖ·Öµ£»ÔÙ¸ù¾Ý13λµÄÆ«ÒÆֵȷ¶¨¶ÎÃèÊö±íÏî¡£¶ÎÃèÊö±íÏîµÄ´óСÊÇ8¸ö×Ö½Ú£»ÆäÖÐ4¸ö×ֽڼǼÁ˶εĻùµØÖ·Öµ£¬20¸öλ¼Ç¼Á˶εij¤¶È£»Ê£ÏÂ12¸öλ¼Ç¼ÁËȨÏÞµÈÐÅÏ¢¡£
±£»¤Ä£Ê½ÎªÊ²Ã´°²È«£¿
ÔÚ80286ʱ£¬ÓÐÁ½ÖÖģʽ£ºÌØȨģʽºÍÆÕͨģʽ£»ÔÚ80386£¬·Ö³ÉÁË4¼¶£º0-3£»ÆäÖÐ0¼¶È¨ÏÞ×î¸ß£¬3¼¶È¨ÏÞ×îµÍ£»linuxÒ»°ãֻʹÓÃ0¼¶ºÍ3¼¶¡£
¶Î¼Ä´æÆ÷¿ÉÒÔÓÃÆÕͨȨÏÞÖ¸Áî·ÃÎÊ£¬µ«GPDRºÍLPDR±ØÐëÓÃÌØȨָÁî·ÃÎÊ¡£Õâ¾ÍÒâζ×Å£¬¼´±ãÊǶμĴæÆ÷¸Ä±äÁË£¬ÓÉÓÚ¶ÎÃèÊö±í²»¿ÉÐ޸ģ¬Òò´Ë£¬Óû§½ø³ÌÎÞ·¨·ÃÎÊÆäËû½ø³ÌµÄ¿Õ¼ä¡£
¶Î¹ÜÀí»úÖƵÄȱÏÝ£º
¶ÎµÄ´óСÊÇÁé»îµÄ£¬ÕâÔÚµ¼Èë¶ÎµÄÄÚÈÝʱ£¬»á²»·½±ã£»
¶ÎµÄ´óС²»Ò˹ýС£¬¼´±ãÊÇÓÐ2µÄ13´Î·½¸ö¶Î£¬ÈÔÈ»¿ÉÄܲ»¹»£¬Ê¹µÃƵ·±¸ü¸Ä¶Î¼Ä´æÆ÷µÄÖµ¡£
80386ÒýÈëÁË·ÖÒ³¹ÜÀí»úÖÆ£»
80386ΪÁ˼æÈÝ286£¬²ÉÓÃÁ˶ÎÒ³½áºÏµÄÓ³É䷽ʽ¡£Ê×ÏȽ«Âß¼µØַͨ¹ý¶ÎʽӳÉäµ½ÏßÐÔµØÖ·£¬ÔÙÓÃҳʽӳÉäµ½ÎïÀíµØÖ·¡£
´ÓÏßÐÔµØÖ·µ½ÎïÀíµØÖ·ÊÇÈçºÎÓ³ÉäµÄÄØ£¿
½«ÏßÐÔµØÖ··Ö³ÉÈý²¿·Ö£ºÒ³Ä¿Â¼±íÆ«ÒÆÖµ+Ò³±íÆ«ÒÆÖµ+Ò³ÄÚµØÖ·£»ÒýÈëÒ»¸öCR3¼Ä´æÆ÷´æ´¢Ò³Ä¿Â¼±í»ùµØÖ·£¬ÔÙ¸ù¾ÝҳĿ¼±íÆ«ÒÆÖµÕÒµ½Ò³±í»ùÖ·£¬ÔÙ¸ù¾ÝÒ³±íÆ«ÒÆÖµÕÒµ½¶ÔÓ¦µÄÒ³£»Ò³Ä¿Â¼±íÆ«ÒÆֵΪ10룬ҳ±íÆ«ÒÆֵλ10룬ҳÄÚµØַλ12λ¡£Ò»¸öÒ³µÄ´óСΪ4KB¡£
´æ´¢¹ÜÀí£º
ΪÁ˼æÈݶàÖÖCPU£¬Linux²ÉÓÃÁËÒ»ÖÖÐéÄâ·Ö²ãµÄ»úÖÆ¡£·ÖΪÈý²ã¡£ÔÚҳĿ¼±íºÍÒ³±íÖ®¼ä²åÈëÁËÖмä±í¡£
ÈçºÎ½«Èý²ãÓ³Éäµ½80386µÄÁ½²ãÉÏ£º
½«Öмä±í´óСÉèÖÃλ0.
LinuxµÄµØÖ·¿Õ¼ä·ÖΪÁ½²¿·Ö£ºÄں˵ØÖ·¿Õ¼äºÍÓû§µØÖ·¿Õ¼ä¡£
Äں˵ØÖ·¿Õ¼äµÄÓ³Éä²ÉÓÃÖ±½ÓÓ³É䣬Ϊ¹Ì¶¨Æ«ÒÆÖµ¡£
Ïà¹ØÎĵµ£º
Ò»£ºÇ°ÑÔ
×î½üÔÚÑо¿androidµÄsensor driver£¬Ö÷ÒªÊÇE-compass£¬ÆäÖÐÓõ½ÁËLinux input×Óϵͳ.ÔÚÍøÉÏÒ²¿´Á˺ܶàÕâ·½ÃæµÄ×ÊÁÏ£¬¸Ð¾õ»¹ÊÇÕâƪ·ÖÎöµÄ±È½ÏϸÖÂ͸³¹£¬Òò´ËתÔØÒ»ÏÂÒÔ±ã×Ô¼ºÑ§Ï°£¬Í¬Ê±ºÍ´ó¼Ò·ÖÏí£¡
£¨Õâƪ²©¿ÍÖ÷ÒªÊÇÒÔ¼üÅÌÇý¶¯ÎªÀýµÄ£¬²»¹ý½²½âµÄÊÇLinux Input Subsystem£¬¿ÉÒÔ×ÐϸµÄÑо¿Ò»Ï£¡£©
¼üÅÌÇý¶¯½«¼ì ......
http://news.csdn.net/a/20091229/216149.html
Techradar£ºLinuxÑݱäµÄ15¸öÖØ´óÀï³Ì±®
2009-12-29 15:50 | 273´ÎÔĶÁ | À´Ô´£º»ª¾ü×ÊѶ ¡¾ÒÑÓÐ0ÌõÆÀÂÛ¡¿·¢±íÆÀÂÛ
¹Ø¼ü´Ê£ºLinux | ¸ÐлcarlkxiafhwfhwµÄÌṩ | ÊÕ²ØÕâƪÐÂÎÅ
¾Ý¹úÍâýÌ屨µÀ£¬½üÈÕ£¬×ÊѶÍøÕ¾TechradarÁоÙÁ˽üÊ®ÄêÀ´LinuxÏ ......
µÚÒ»´Î½Ó´¥u-bootÒÆÖ²£¬²ËÄñÒ»¸ö£¬É¶¶¼²»¶®µÃ£¬ÔÚÍøÉÏתÁ˺ܾ㬾ö¶¨»¹ÊÇÏȽè¼øһϱ»È˵ľÑé°É£¡£¡£¡ÎҲο¼µÄÎÄÕÂÊÇ
http://www.diybl.com/course/6_system/linux/Linuxjs/2008727/134020_2.html£¬Õâ¸öÎÄÕ¶ÔÎÒÀ´Ëµ£¬ÕæÊDz»´í£¬¸Ä¶¯µÄ¶«Î÷±È½ÏÉÙ£¬ÎÒϲ»¶£¬^_^£¬¶ÔÓÚÕâƪÎÄÕ£¬ÎÒÏë˵Ã÷¼¸µãµÄÊÇ£ºÔÚ²¿·Ö(Ò»)µÄµÚÎå²½µ±ÖУ ......
CMake ÊÇÒ»¸ö¿çƽ̨µÄ×Ô¶¯»¯½¨¹¹ÏµÍ³,ËüʹÓÃÒ»¸öÃûΪ CMakeLists.txt µÄÎļþÀ´ÃèÊö¹¹½¨¹ý³Ì,¿ÉÒÔ²úÉú±ê×¼µÄ¹¹½¨Îļþ,Èç Unix µÄ Makefile »òWindows Visual C++ µÄ projects/workspaces ¡£Îļþ CMakeLists.txt ÐèÒªÊÖ¹¤±àд,Ò²¿ÉÒÔͨ¹ý±àд½Å±¾½øÐаë×Ô¶¯µÄÉú³É¡£CMake ÌṩÁË±È autoconfig ¸ü¼ò½àµÄÓï·¨¡£ÔÚ linux Æ½Ì¨Ï ......
ÔÚÔĶÁNginxµÄ´úÂë.ÏÈÅöµ½µÄÊÇÏ̲߳¿·ÖµÄ
ÒòΪ´Ómain¿ªÊ¼×îÔçÊÇ×öÏ̲߳¿·ÖµÄ¹¤×÷
ʵϰһÏÂpthread·½ÃæµÄÄÚÈÝ
#include "pthread.h"
#include "stdio.h"
void* thread_test(void* ptr)
{
while(1)
printf("i am child pthread\n");
}
int ma ......