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

📄 dash_prefetch.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.  * *//***************************************************************** * dash_prefetch.h *  * $Date: 1998/02/10 00:31:36 $ * $Author: bosch $ *****************************************************************/#ifndef DASH_PREFETCH_H#define DASH_PREFETCH_Hextern int dashPrefetchEnabled;extern int DashPrefetch(int cpuNum, VA vAddr, void * val, int size,int *retVal);extern int DashTclCmd(ClientData, Tcl_Interp *interp, int argc, char *argv[]);#ifdef DASH_PREFETCH# define DASH_DO_PREFETCH(_cpu,_va,_val,_sz) { \   int ret;      \   if (dashPrefetchEnabled  && DashPrefetch(_cpu,_va,_val,_sz,&ret)) \          return ret;  \}                                                                                                                                            #else# define DASH_DO_PREFETCH(_cpu,_va,_val,_sz)   /* no run-time overhead */#endif#endif

⌨️ 快捷键说明

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