⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 mmu_ppc.h

📁 skyeye_1_2_2_Rel.rar 最新skyeye源码
💻 H
字号:
/* Simulator for the Renesas (formerly Hitachi) / SuperH Inc. SH architecture.   Written by Steve Chamberlain of Cygnus Support.   sac@cygnus.com   This file is part of SH sim                THIS SOFTWARE IS NOT COPYRIGHTED   Cygnus offers the following for use in the public domain.  Cygnus   makes no warranty with regard to the software or it's performance   and the user accepts the software "AS IS" with all faults.   CYGNUS DISCLAIMS ANY WARRANTIES, EXPRESS OR IMPLIED, WITH REGARD TO   THIS SOFTWARE INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF   MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.*//* *  imported by Michael.Kang */#ifndef __MMU_PPC_H__#define __MMU_PPC_H__#include <bus.h>void MMU_InvalidateTlb();uint64_t MMU_Read64(uint32_t addr);uint32_t MMU_Read32(uint32_t addr);uint16_t MMU_Read16(uint32_t addr);uint8_t  MMU_Read8(uint32_t addr);void MMU_Write64(uint64_t value,uint32_t addr);void MMU_Write32(uint32_t value,uint32_t addr);void MMU_Write16(uint16_t value,uint32_t addr);void MMU_Write8(uint8_t value,uint32_t addr);uint32_t MMU_translate_ifetch(uint32_t va);static inline uint32_t MMU_IFetch(uint32_t va) {	uint32_t pa;	pa = MMU_translate_ifetch(va);	return Bus_Read32(pa);}#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -