solo_stubs.c
1.18 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
/*
* 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;
}