1
0
mirror of synced 2026-04-07 21:40:21 +00:00

UNICOS RAMfs loader config.

This commit is contained in:
Andras Tantos
2020-09-10 00:25:07 +00:00
parent 9a63ba5bac
commit c8e403881e
3 changed files with 30 additions and 14 deletions

8
unicos_ramfs Executable file
View File

@@ -0,0 +1,8 @@
#!/bin/sh
PATH=$PATH:simulator/_bin/cygwin_release:simulator/_bin/linux_release:bin:.
mkdir dump
mkdir disk
mkdir tape
cray_sim unicos_ramfs.cfg

View File

@@ -5,12 +5,12 @@
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Setting up memory and loading image files
MachineType J90
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/install.mem ; If we get terminated, dump mainframe memory to this file
MemoryDumpFile dump/ramfs.mem ; If we get terminated, dump mainframe memory to this file
SingleThreadCpus no
MultiThreaded no
@@ -19,19 +19,22 @@ UseThreadAffinity yes
WindowWidth 120
WindowHeight 40
DefaultLogLevel None
DefaultLogLevel Event
;DefaultLogLevel All
EnableTimeStamp yes
LogFileName dump/ramfs.log
;SysCallTableBase 0x000DF328
;SysCallTableEnd 0x000DFAF8
SysCallTableBase 0x000DF328
SysCallTableEnd 0x000DFAF8
;SysCallTableBase 0x000FE420
;SysCallTableEnd 0x000FEBF0
;ProcTableBase 0x000357B7
;ProcTableLength 650 ; NPROC from config.h
ProcTableBase 0x000357B7
ProcTableLength 650 ; NPROC from config.h
RealTimeClockIncrement 10 ; By how much should the real time clock increment for every instruction burst
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
@@ -77,10 +80,11 @@ IopClusters {
DontTouchExchangePacket no
IopRevision IOSE ; Controls communication standard. Possible values are IOSD and IOSE
MasterCluster Yes
KernelFileName unicos_kernel_no_clear_mem.bin
KernelFileName unicos.generic
KernelPreamble 0x40
ParameterFileName unicos_ramfs.param
RamFsFileName ram_fs
; RunLevel 5
I2C {
Channel 16
@@ -112,6 +116,13 @@ IopClusters {
ImageFileName dump.img
DeviceType DD_U
}
inst {
PysicalDeviceId 023
IopNumber 0
Unit 0
ImageFileName install.img
DeviceType DD_U
}
root {
PysicalDeviceId 024
IopNumber 0

View File

@@ -56,7 +56,7 @@ filesystem {
pdd swap {
minor 4;
sector 0;
length 32768 sectors;
length 65536 sectors;
}
}
disk "dump" {
@@ -103,11 +103,8 @@ filesystem {
minor 61;
pdd root;
}
ldd install {
minor 64;
pdd install;
}
rootdev is ldd ram;
/* rootdev is ldd root;*/
swapdev is ldd swap;
dmpdev is ldd dump;
}