📄 solo_stubs.c
字号:
/* * 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. * *//***************************************************************** * solo_stubs.c * * This file just contains a number of null functions so that we * can link with simos with out ifdef'ing out so much of the simos * functions. *****************************************************************/#include <sys/types.h>#include "sim_error.h"#include "tclsimos.h"/* Variables that are externed */int ConsolePort;int SlaveConsoleTimeOut;int EtherSendPort;int RestoreEthernet;int FPromUseFL;char *EthersimHostname = "none";char *EtherAddress = "0";char *FPromFile = "";char *CheckpointID = "SOLO";char *CheckpointCompress = "none";char *cptSaveDir = ".";void ClusterTclInit(Tcl_Interp *interp) {}void FaultInit(Tcl_Interp *interp){}FILE* Simrmt_RemoteFileOpen(char *pathName){ ASSERT(0); return (FILE *)NULL;}void *Simrmt_mmap(void *addr, size_t len, int prot, int flags, char* pathName, off_t off){ ASSERT(0); return (FILE *)NULL;}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -