zing
论坛支持团队



UID 79
精华 0
积分 710
帖子 701
阅读权限 10
注册 2004-8-30
状态 离线
发表于 2005-9-16 11:10  资料  个人空间  短消息  加为好友 
UC/OS??UCLinux±???



(×÷?????????ê)

?? ??:
????????×÷????????????????????????????±????¨??????????????????????????×÷????????±???·?????×??á??????????×÷???????????????????????é????????????×÷????????????????

???ü??: ??????????×÷??????uc/os??uclinux

????

??×????ú?????ú??????·???·???????????????????·?????????pc?±?ú????????????????×??ú?í???????????????????????????ú±í??3c(?????ú???¨??????·???×?)???????ópc?±?ú???ópc?±?ú??????????????°???????????????????????±???·??????????????÷???????????ú?è±????????è±????¤??·??????ì?ò????????????????·????????ü?êit????????????????

?ê???ò????????????????????°????è????×÷???????????°?í?àm cs51?????????ú×é?????????????????????í???????ò?????????·?·????????×??ù???ópc?±?ú???????????????????è?????÷??????????????×÷??????±???????????

??°???????????????×÷????????????°????????????ú??×÷???????ü???????????????????§??????·?±????????????¨?????í?????ó????????????????

??°????ê?ú?????ú????????????it×é??????????????????????????????????ר????×÷????????·???????????????????????????????????????microsoft?????? wince??windriversystem??????vxworks??·?±???·????±?????±????????×÷???????ú±í???????????ú?·???ì??????·?°??ó????????°??????á?á???ú?·??±??????§?????ù????

uc/os??uclinux??×÷????????????????????????????±???·???????????·?????????×÷??????????×÷?????????±??×÷??????·????±??×÷????????·???±????¨???? uc/os??uclinux????±???·?????×??á??????????×÷???????????????????????????é????????????????·?????×÷????????????????

????????????????×÷?????é??

uc/os??uclinux??×÷?????????±?°??????·?????????????·?????????????????????×÷??????uc/os???????????????????????????§?????????????????????±????????????????????????????×?????????±à????2k??uclinux?ò??????±ê×?linux ?????????????????????????í?÷???????è??????????×÷?????????????????????é???§???à??????????????·?????????±ê×?linux???é??????????????±à???ó??±ê??????????????°?k??????

uc/os????????·????????ú?????á??????????????°??á???±?????????±??×÷?????????????á???????÷???????í???±?????í???????????????¨???????????í??????·???????????

uclinux??????????????????linux°?±???uclinux??micro-conrol-linux??????????±ê×?linux?à±????ü??????±ê×?linux??×÷?????????¨???????ó???????????????????????????÷????????????????????mmu(???????í????)?????à???????????è?????¨??????

????????????×÷?????÷??????±???

????????×÷?????????????????í????×????????????????ü?????????í?????§·?·¨×é???à?????§???í?????????????÷??×????????????§?????????????ò???????ù???í?????ù?????í???§??·?·¨????????????×÷???????????÷????·?????????×??????????à??????????????×÷???????§????????????·?±?×é?????????×????????·?????×÷??

????????×÷?????????????????????????????????¨???????????±????????????°??è??????????ר?????¨????????×÷?????????????¤×÷?? ?????÷?????????????§????????????????????????×÷??????????????×?????????????????????????????????????uc/os??uclinux????·???±?????


?????÷??
?????÷???÷???????÷???????????ú??????×???(????????i/o?è±???cpu)???ù?á???????????÷????????cpu?÷???????ù±???????°??????????ò?????????÷×?????????·???cpu????????????????????????i/o?è±???°?????cpu???±?é?????????????ù???????÷?????????÷???????à?ü?????à??????????·??????????á????????????????????????????

?????÷????·???"°??á???÷??"??"·?°??á???÷??"?????ù±?·??????ù??"·?°??á???÷??"??????????????????±??÷?????????ò?????????±?????????±?????????á?????ò???????????ò×???·??úcpu????????×?????????cpu????·????????????????ù??"°??á???÷??"?????????????÷×??????????????¨?ü???????????ò?????????????????ú?????¨???±?????±??±?????°??á?±?°??????????(????·??????÷×???)??°?cpu·???????????????

×÷?????±??×÷??????uc/os??????????°??á?????±?à????????????°??á???????±???????????±?ò?????????÷????×?????????????????uc/os??×??à?????§??64 ????????·?±???????????0~63??????0??×????????????÷???¤×÷??????????·???????·???×????????????????°??????????????

??×????????????????°?????¨???¨?????÷????±í??????????uc/os???????????????????????????????????????????????????????étcb(task control block)?????á?????????????????±±???????±????????????????????????÷?????é?×????±??? ostcbhighrdy?????±?°×????????÷??????tcb???·?????ó?÷??os_task_sw() ????????????????????

uclinux???????÷????????linux???????????????????¨?±???????????????±?????ú?ú?ì?????????????±?????±?????????¨???÷??????(?¨?±?÷???í????)???¨?????????±?ò?????ü???±?????????ó?????à?????????????????¨?????????÷??fork ?????ú??×???????????????

uclinux????fork?÷???ê???ó??????×??????ú????????????(???±?????????? sleep)???±??×??????÷??exit???????????÷??exec???????????????????????±?ò?ú?ú????????????????????????????????????????????±?????????????????±??????±×?????????exit?òexec?ó??×?????????wakeup°??????????????????????????ù????????

uclinux????????mmu???í?????÷????????????·??????±???????ù?????ò??·????????·?????????????í???·????×÷??????????????????±??¤???÷???????????????í???????????????????è???????à?????±????????±??¤?????????????§???ò????????????????????????????????????????????±à???±???è???à??×?????·??ò???×????????±?????

??????·?????????????uc/os?????????????±?????????ó?è???????????à???ò?????????ú×??????????±?????ó????uclinux?ò???á??????????±ê×?linux???à????????·????????????????????í?÷?????????????????????????±???§???ò?è?????????????±??????????????????rt-linux???????????????????????????????±??????


????????
?ù???????????????????????????í???????????ú?????????????????????????¨?????·?ú??×é?????????????????????°?????????í?ù?è????×???(??????±í???????é????)???????í???í????·???

uc/os?????ò????????????????????????°ü??????????(???????????????????????????°?à??????)??±à???ó??uc/os????????6~10kb???ù??????±??í???????????????????§????????uc/os?????????????????????????è?????°????×???????????????????????

uclinux?ò????????linux?ê????????????????????????????romfs???????????????????????à??????°???ext2???????????ó?ü??????????????????????×???????·??????×???????§??romfs????????±??§??ext2?????????è???ü?????ú????????romfs?????????à???ò???????¨???????????????é(superblock)?è???ü??????????????romfs???????????§??????????±??????????????è??????±??????????????é??ram????·?·¨???????í(ram????????ext2????????)??

uclinux????????linux??????×÷??????????????????·?±????§????????????????????tcp/ip???é??????uclinux??·??????????è±??á????±?????

????????×÷?????????????????§?????????????????è?????à???????í??????????????uclinux?????????í??????????uc/os?ò?÷????????????????????


??×÷??????????
????????×÷??????????????????????×÷?????????????????í?÷?ò???????÷????????uc/os??uclinux????????????????×÷???????????á?????è??±???°??????í?÷?à??????·?·??????????ù??±??????????????í?÷????????????

????????????????????·?±??è?????÷??

(1)uc/os??????

??????uc/os????±ê???í?÷±????ú×????????ó??

?¤???í?÷??c±à???÷???ú?ú???????ú????????c???????????ò??????±???????

?¤???í?÷?§?????????????ú?ú?¨?±??????

?¤???í?÷?§??×?????ram(??k×???)??×÷???à?????·????????????????

?¤???í?÷??????????????????cpu?????÷?????????????????ò??????????????

???í???????í?÷??c±à???÷???????????ó??uc/os?????????è???????????í?÷?à?????ú????????????????????????????

?¤os_cpu.h???è???è????????????±ê?????????¤·??ò??

?¤os_cpu.h???è???ù?÷?????????????????????????????ê??

?¤os_cpu.h???è?????????????í?÷??×??¤?????¨?????????????à????

?¤os_cpu_a.asm?è??????4????±à????????????

?¤os_cpu_c.c?è????c????±à??6???ò????????

?¤?????÷?·????include.h????????????????????????×??????·??????????

(2)uclinux??????

????uclinux??????linux?????????????????????????????á??±??????????à?? uc/os??uclinux???????????????à????°???????????uclinux????±ê???í?÷???????ú×?????uc/os???ú×??????????????è??????×???????(??°?k×???????)????rom??ram??

uclinux???????ó??????·???3????????

?¤?á???????????????????????????í?÷???á?????????????????§???????í?÷?á?????ò?è??????linux/arch???????à?????í?÷?á??????????????uclinux?????ú?????ó??·????????????í?÷?????????á????????????×????????ú?????????¨???÷?????????????÷??±í?????ü???????????í?????????????????????¤???????????????????????????????????????????????ò????linux/arch/????????????linux?ù?§???????á???????à·±?à???ù????????????????????????????????????·??????à????????????±à????

?¤???¨?????????????????????????í?÷??????uclinux???§????????·??§???í?÷???ò?è?????à???????á?????????¨???à????????±à???à???ú??????mc68ez328?????ù????mmu??m68k???????????±???????è?????¨ linux/arch/m68knommu/platform/ mc68ez328????????????±à???ú×????ò(???????§???ò??????????????????????)???????????÷?????ò???ò???????????ò????

?¤°????????????????ù?????í?÷??±?uclinux?§?????°???????è??°???????????°????????è????linux/arch/?platform/???¨???????à??°??????????????????¨???à?????????ú??crt0_rom.s?òcrt0_ram.s???????è??????rom.ld?òram.ld??????????°?????????°ü?¨???????ò??±à?????·??±????è??????????

?á??

?¨????uc/os??uclinux??±?????????????????????×÷??????????·????÷???????? uc/os?????????????????§?????????±?????????????????????í?÷???????à???ò????uclinux?ò?????????à?????ó?????±??????°????????????í?÷???????à??????????????uclinux???????à?????????????§??????????????tcp/ip???é???????è??linux·á????×???????????????????????uclinux?????à?±??????????cisco ?????? 2500/3000/4000 ?·???÷?????ù??uclinux??×÷??????·????? ×???????×÷???????????????????????????è?ó???¨?????ò????????????????????????????·?????uc/os?????????±??????????????????·?pda?????????????????????????????????òuclinux?????í????????





·?????????
顶部
 



当前时区 GMT+8, 现在时间是 2024-11-24 03:16

    本论坛支付平台由支付宝提供
携手打造安全诚信的交易社区 Powered by Discuz! 5.5.0  © 2001-2007 Comsenz Inc.
Processed in 0.013479 second(s), 8 queries

清除 Cookies - 联系我们 - 我要委托设计网 - Archiver