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

📄 common_cache.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.  * */	/*	 *  common_cache.h  -  Common definitions for the MIPSY and the MXS	 *			cache simulators.	 *	 *	Jim Bennett	 *	1995	 */#ifdef MIPSY_MXS#if 0#include "cpu_state.h"#endif#include "cpu.h"#include "pcache.h"#include "scache.h"#else#define	LL_FLAVOR	0x10#define	SC_FLAVOR	0x20enum result_t {SUCCESS, FAILURE, STALL, ERROR_, SCFAILURE};typedef enum result_t Result;#define	DCACHE_ASSOC	PC_SET_SIZE#endif /* MIPSY_MXS */extern	Result	DCacheFetchShared (int cpunum, uint addr, uint paddr,				int flavor, char **dataPtr);extern	Result	DCacheFetchExclusive (int cpunum, uint addr, uint paddr,				int flavor, char **dataPtr);extern	void	DoMxsAction (struct s_cpu_state *st, void *missTag,				int ms_action);

⌨️ 快捷键说明

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