欢迎来到天天文库
浏览记录
ID:40806857
大小:597.50 KB
页数:108页
时间:2019-08-07
《Neutrino_Startups_(no_audio)》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库。
1、CustomizingaNeutrinoStartupModule2007/09/12R01Thispresentationisdesignedforanyoneiswhois:customizingaNeutrinoStartupModulewantingtounderstandthearchitectureofNeutrinoStartup’sBytheend,youshould:haveafeelforthestepsinvolvedincustomizingoneforaparticularhardwareplatformGo
2、als2Prerequisites:thispresentationassumesthefollowingknowledge:Clanguagegeneralassemblylanguageyouwillneedtobeveryfamiliarwiththeassemblyforyourparticularplatformthepresentationattemptstoexplaincodesnippetsinageneralwayhardwarearchitectureitmaybehelpfultounderstandvario
3、usQNXAPI’sinterruptstimingPrerequisites3Topics:OverviewoftheStartupmoduleSystemPageKernelCalloutsOverviewDebugCalloutsInterruptCalloutsCacheControlCalloutsSystemResetCalloutCalloutPatcherRoutinesRead/WriteStorageinCalloutsTimerCalloutsStartuplibraryCustomizingaStartupMo
4、dule4ORBootsequence:IPLstartupmoduleprocntobootimagescriptfurtherbootingCPUpoweronBIOSROMmonitorOverviewofStartupORBIOS,ROMMonitororIPL(InitialProgramLoader):doenoughhardwareinitializationtoloadandstarttheOSe.g.enablediskforbootingoffdisk,Ethernetfornetworkbootstartupmo
5、dule:furtherinitializeshardwareprovidesboarddependentcodeforusebyprocntoprocnto:initializesitselfandrunsbootimagescriptbootimagescriptruns:driversandotherprocesses5Pre-Startup:thestartupexpectsthattheBIOS,ROMmonitororIPLwill:initializehardware:maybeinsomeminimalway,e.g.
6、IPL,or,maybeamorethoroughinitialization,e.g.BIOSdowhateverisnecessary,togettoandload,theOS,e.g.initializememorycontrollerwithRAMrefreshratesetchipselectstoenablehardwaresuchasflashfetchOSimagefromstorage,e.g.flashserialharddisknetwork…andputintoRAM(assumingnon-XIPsystem
7、)transferexecutiontothestartupmoduleOverviewofStartup6Thestartupmodule’sjob:initializehardware:sometimesnotmuchisnecessaryMMU,timerhardware,interruptcontrollersinitializethesystempage:thesystempageisadatastructurethatcontains:avarietyoflow-levelinformationaboutthesystem
8、,e.g.systemtimerparameterssystemmemorymap/addressspaceinformationcacheconfigurationkernelcalloutstoprovideboar
此文档下载收益归作者所有
点击更多查看相关文章~~