欢迎来到天天文库
浏览记录
ID:3913646
大小:496.02 KB
页数:54页
时间:2017-11-25
《arm_linux_course_17_kernel_memory_management》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库。
1、ARMLinuxMemoryManagement深圳新思无线嵌入式培训中心新思无线嵌入式培训中心ARM LINUX课程序列课程咨询专线150138278250755-229000051AgendaMemoryAccessandAddressTranslationDiscoscotuousadCotuousntinuousandContinuousMeeoymoryKernelVirtualSpaceConstructionKernelbootmemoryAllocatorKernelBuddysystemAllocatorKernelSlabAllocatorvmal
2、locandioremapConclusionTM22GeneralARM-BasedSystemArchitectureTFTLCDSDRAMNANDCameraARMCoreMMUNANDLCDSDRAMCCICControllerControllerControllerICacheDCacheAMBAAMBAAddressDecoderGPIOIICIISDMAControllerPORTMtrMasterSOCFunctionBlockAudioKEYPADTOUCHCode’cTM33PhysicalMemoryMAP0xFFFF_FFFFMemoryMappedI/O
3、registersNotUsed0x6000_00000x6000_0000NotUsedMemoryMappedI/OregistersSOCinternalIPs0x5200_0000GPIOPortControlRegisters0x4800_0000IICControllerRegisters0x5100_0000SDRAM(nGC8)0x080000000x0800_00000x5000_0000USBDeviceRegistersSDRAM(nGC7)TimerRegisters0x4000_00000x4f00_0000NANDControllerRegistersS
4、DRAM(()nGC6)0x4e00_00000x3800_0000LCDControllerRegisters0x4d00_0000SDRAM(nGC5)SDRAMAvailable0x4c00_0000ClockPowerControllerRegisters0x3000_00000x4b00_0000DMAControllerRegistersSROM(nGCS4)0x2800_00000x4a00_0000InterruptControllerRegistersSROM(nGCS3)0x1800_00000x4900_0000USBHostRegistersSROM(GCS
5、2)SROM(nGCS2)MemoryControllerregisters0x4800_00000x1000_0000SROM(nGCS1)0x0800_0000SROM(nGCS0)0x0000_0000NORFlashAvailableTM44ARMMemoryAccessunsignedlong*ptr;ARMcoreptr=(unsignedlong*)0x30000000;/*readandwritememory*/[Address]*ptr=*ptr+1YesMMUEnable?NoCLanguagecaseMMUmovr1,#0X30000000@r1contain
6、memoryaddressAMBABusAddressldrr2,[r1]@readmemory@0x3000_0000TranslationAddressDecoderaddr2,r2,#1strr2,[r1]@storememory@0x30000_0000FaultNoIPProcessingProcessing,PresentifMMUon?YesARMASMLanguagePeripheralIPTM55DMAMemoryAccessFromrightfigure,theDMAaccesssourceanddestinationaddressissenttobusdire
7、ctlybyDMAControllerDMAControllerDMAcontroller.ReadfromIP1WritetoRAMSotheaddressDMAcontroller[SourceAddress][DestinationAddress]canaccessislimittonumberofDMAcontrolleraddresssignalAMBABusAMBABusAddressAddresspin.DecoderDecoderDMABufferIP
此文档下载收益归作者所有
点击更多查看相关文章~~