QEMU平台构建基于PowerPC单核SoC 并运行DES程序.ppt
Board ppc405_uc.c文件(QEMU PowerPC 405 embedded processors emulation) DMA DMA controller Timer ppc405_uc.c 文件中有 General purpose timers 该模块和DMA一样定义了接口没有实现功能。 Memory Map * - PowerPC 405EP CPU * - SDRAM (0 * - Flash (0xFFF80000) * - SRAM (0xFFF00000) * - NVRAM (0xF0000000) * - FPGA (0xF0300000) * - GPT (General purpose timers) (0xef600000) * - Serial ports (0xef600300) * - OPB arbitrer (0xef600600) * - IIC controller(0xef600500) * - GPIO (0xef600700) bootloader ram_addr_t ppc405_set_bootinfo (CPUPPCState *env, ppc4xx_bd_info_t *bd, uint32_t flags) { CPUState *cs = CPU(ppc_env_get_cpu(env)); ram_addr_t bdloc; int i, n; /* We put the bd structure at the top of memory */ if (bd-bi_memsize = 0L) bdloc = 0L - sizeof(struct ppc4xx_bd_info_t); else bdloc = bd-bi_memsize - sizeof(struct ppc4xx_bd_info_t); stl_be_phys(cs-as, bdloc + 0x00, bd-bi_memstart); stl_be_phys(cs-as, bdloc + 0x04, bd-bi_memsize); stl_be_phys(cs-as, bdloc + 0x08, bd-bi_flashstart); stl_be_phys(cs-as, bdloc + 0x0C, bd-bi_flashsize); stl_be_phys(cs-as, bdloc + 0x10, bd-bi_flashoffset); stl_be_phys(cs-as, bdloc + 0x14, bd-bi_sramstart); stl_be_phys(cs-as, bdloc + 0x18, bd-bi_sramsize); stl_be_phys(cs-as, bdloc + 0x1C, bd-bi_bootflags); stl_be_phys(cs-as, bdloc + 0x20, bd-bi_ipaddr); for (i = 0; i 6; i++) { stb_phys(cs-as, bdloc + 0x24 + i, bd-bi_enetaddr[i]); } bootloader stw_be_phys(cs-as, bdloc + 0x2A, bd-bi_ethspeed); stl_be_phys(cs-as, bdloc + 0x2C, bd-bi_intfreq); stl_be_phys(cs-as, bdloc + 0x30, bd-bi_busfreq); stl_be_phys(cs-as, bdloc + 0x34, bd-bi_baudrate); for (i = 0; i 4; i++) { stb_phys(cs-as, bdloc + 0x38 + i, bd-bi_s_version[i]); } for (i = 0; i 32; i++) { stb_phys(cs-as, bdloc + 0x3C + i, bd-bi_r_version[i]); } stl_be_phys(cs-as, bdloc + 0x5C, bd-bi_plb_
您可能关注的文档
- Part B Read and write 执教人 :Li Hui.ppt
- Piano Music Transcription Systems.ppt
- platform驱动模型.ppt
- Play Music Clip Preamble from School House Rock Series http.ppt
- Prepare Tem 4 At the last moment.ppt
- Recycle 1 Read and say.ppt
- Research UsingLocal Gazetteers.ppt
- Section B(1a-2c).ppt
- Sobre Catalogação e Catálogo.ppt
- Sometimes happiness is just a matter of attitude adjustment..ppt
- 安徽省华师联盟2025-2026学年高三上学期1月质量检测生物试卷+答案.doc
- 安徽省华师联盟2025-2026学年高三上学期1月质量检测语文试卷+答案.doc
- 四川省绵阳南山中学实验学校2025-2026学年高三上学期1月月考数学含答案.doc
- 2026届辽宁省大连市高三上学期双基考试物理试卷+答案.doc
- 辽宁名校联盟2026年1月高三上期末联考质量检测化学含答案.doc
- 辽宁名校联盟2026年1月高三上期末联考质量检测生物含答案.doc
- 辽宁名校联盟2026年1月高三上期末联考质量检测英语含答案.doc
- 辽宁名校联盟2026年1月高三上期末联考质量检测政治含答案.doc
- 黑龙江省龙江教育联盟2026年1月高三上学期期末考试化学含答案.doc
- 黑龙江省龙江教育联盟2026年1月高三上学期期末考试生物含答案.doc
最近下载
- 广州数控GSK980TA1-TA2-TB1-TB2车床数控系统 使用手册.pdf
- 虚实乱针绣入门.ppt VIP
- GB/T 42430-2023血液、尿液中乙醇、甲醇、正丙醇、丙酮、异丙醇和正丁醇检验.pdf
- 曲柄连杆机构的运动与受力分析讲解学习.pptx VIP
- 如此伟大的爱G波利切un amore cosi grande G-E-G-F-5P.pdf VIP
- 钛白废酸废水综合治理项目可行性研究报告.docx
- 陕09J02-屋面-标准图集.docx
- 中药当归中阿魏酸的提取工艺研究.pptx
- 蔬菜大棚建设实施方案范文(8篇).docx VIP
- 结合多源异构数据融合技术的人口增长时空预测模型构建及应用分析.pdf VIP
原创力文档

文档评论(0)