-
Notifications
You must be signed in to change notification settings - Fork 11
/
unicos_ramfs.cfg
180 lines (156 loc) · 4.71 KB
/
unicos_ramfs.cfg
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;
; J-90 with UNICOS configuration
;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Setting up memory and loading image files
MachineType SV1
CpuMemorySize 0x2000000 ; We have 32MWords (64-bits each) of memory
StartupCpuIdx 0 ; This will set up the first CPU to come out of reset (on instructions from the IOP)
MemoryDumpFile dump/ramfs.mem ; If we get terminated, dump mainframe memory to this file
SingleThreadCpus no
MultiThreaded no
UseThreadAffinity yes
WindowWidth 120
WindowHeight 40
DefaultLogLevel None
EnableTimeStamp yes
LogFileName dump/ramfs.log
SysCallTableBase 0x000C528F
SysCallTableEnd 0x000C5A57
;SysCallTableBase 0x000FE420
;SysCallTableEnd 0x000FEBF0
ProcTableBase 0x000357B7
ProcTableLength 650 ; NPROC from config.h
;SystemClockPeriod 10 ; Clock period in ns.
;UseHostRealTimeClock false
RealTimeClockIncrement 90 ; By how much should the real time clock increment for every instruction burst
OsType UNICOS ; Controls how syscalls are decoded for the logger
BreakPoints {
; 0x000F42CF:p1 { Type LogOn }
}
EventPoints {
}
WatchPoints {
}
ImageFiles {
}
ChannelCount 256
LogUnusedChannels no
DefaultChannel {
}
ClusterCount 3
CpuCount 1
Cpus {
Default {
}
}
WebServer {
Port 8080
; Address localhost
Address *
Docroot httpd
ResourcePatterns {
".*" ok
}
}
IopClusters {
SimIopCluster {
DontTouchExchangePacket no
IopRevision IOSE ; Controls communication standard. Possible values are IOSD and IOSE
MasterCluster Yes
KernelFileName unicos.generic
KernelPreamble 0x40
ParameterFileName unicos_ramfs.param
RamFsFileName ram_fs
; RunLevel 2
I2C {
Channel 16
}
C2I {
Channel 17
}
EthInterfaces {
en0 {
InterfaceNameLinux tap1 ; Tap interface name to connect to on Linux
InterfaceNameWindows "OpenVPN TAP-Windows6" ; WinTap interface name to connect to on Windows
SimMacAddr 0x020143524159
Channel 020
IopNumber 0
}
}
Disks { ; Disc configuration must precisely match that in install.param. Best not to touch unless you know what you're doing
swap {
PysicalDeviceId 021
IopNumber 0
Unit 0
ImageFileName swap.img
DeviceType DD_U
}
dump {
PysicalDeviceId 022
IopNumber 0
Unit 0
ImageFileName dump.img
DeviceType DD_U
}
core {
PysicalDeviceId 023
IopNumber 0
Unit 0
ImageFileName core.img
DeviceType DD_U
}
root {
PysicalDeviceId 024
IopNumber 0
Unit 0
ImageFileName root.img
DeviceType DD_U
}
usr {
PysicalDeviceId 025
IopNumber 0
Unit 0
ImageFileName usr.img
DeviceType DD_U
}
src {
PysicalDeviceId 026
IopNumber 0
Unit 0
ImageFileName src.img
DeviceType DD_U
}
usr_tmp {
PysicalDeviceId 027
IopNumber 0
Unit 0
ImageFileName usr_tmp.img
DeviceType DD_U
}
tmp {
PysicalDeviceId 030
IopNumber 0
Unit 0
ImageFileName tmp.img
DeviceType DD_U
}
}
Consoles {
Default {
NewTerminalCommand "xterm -e {cmd}&"
; NewTerminalCommand "tmux split-window {cmd}&"
ConsoleCommandLinux "telnet {host} {port}"
ConsoleCommandWindows "putty.exe -telnet -P {port} {host}"
MapBackspace no
LogFile auto
}
}
Peripherals {
PrinterFileName lp.txt
DiskDir disk
TapeDir tape
}
}
}