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

📄 flash_interface.h

📁 一个用在mips体系结构中的操作系统
💻 H
字号:
/* * Copyright (C) 1996-1998 by the Board of Trustees *    of Leland Stanford Junior University. *  * This file is part of the SimOS distribution.  * See LICENSE file for terms of the license.  * *//***************************************************************** * flash_interface.h * *****************************************************************/#ifndef FLASH_INTERFACE_H#define FLASH_INTERFACE_Hextern void FlashliteConfigDefaults(void);extern void FlashliteRaiseSlot(int cpu, int slot);extern void FlashliteClearSlot(int cpu, int slot);extern unsigned FlashAddrCompress(unsigned long long flashAddr);extern int FlashliteWQFull(int cpu);#ifdef COMA/* WOULD NEED TO REWRITE STUFF TO HAVE THIS WORK FOR COMA */#endif /* COMA */extern void SyncMemory(void);#ifdef SOLO/* * Do the mappings between Solos and Flash addresses */extern void FlashliteResetStats(void);extern void FlashliteStartCPU(int cpuNum);extern void FlashliteStopCPU(int cpuNum);#define FlashAddrFromSoloAddr(_space,_addr)     SoloDecompressAddr(_space,_addr)#define FlashAddrToSoloAddr(_faddr)             SoloCompressAddr(_faddr)                       #else#define FLASH_PAGE_SIZE 4096extern unsigned long longFlashAddrFromSimosAddr(unsigned int space, unsigned int addr);/* the following routines access the FPROM and FRAM. Needed   by the debugger interface. */extern intGetFPROMAndFRAM(int cpuNum, VA vAddr, uint nbytes, char *buf);extern intPutFPROMAndFRAM(int cpuNum, VA vAddr, uint nbytes, char *buf);extern void FlashliteInstallTimer(int cpuNum, unsigned int interval,                                   unsigned int timeLeft);extern void FlashliteUndirtify(int leaveShared);#endif#endif

⌨️ 快捷键说明

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