User`s manual
Initialization Structure (depreciated version)
SBCSCSI/D1 B-21
B
Initialization Structure (depreciated version)
The INITPARS structure is archaic. It is defined here in order to support
compatibility with existing code. Please switch to using its replacement, the
INIT_TYPE_1 structure.
typedef struct {
UINT scsi_addr; /* SCSI address of the SIOP */ 0x00
UINT intr_lev; /* Level at which SIOP interrupt will occur */ 0x04
UINT clk_speed; /* ASCII representation of MPU clock (x10KHz) */ 0x08
UINT snoopmode; /* Snoop mode of processor */ 0x0c
RELC *reloctbl; /* Pointer to scripts relocation table */ 0x10
UINT *script_ptr; /* Pointer to script pointer array */ 0x14
} INIT_TYPE_0, INITPARS;
SCSI Address
The user initializes this field with the SCSI address that the MVME167 or
MVME187 SCSI port (SIOP) is to occupy. For example, if the user wants the
SIOP to occupy address 4 then 0x00000004 would be placed in this field.
In the case of this structure, the signature is defined as 0. This definition,
combined with the assumption that existing source and binaries followed
recommended practice when initializing the scsi_addr parameter, allows the
initialization code to know what it is looking at without breaking existing
applications.
Interrupt Level
Same definition as in the INIT_TYPE_1 structure.
Clock Speed
The user initializes this field to an ASCII value which is equal to the clock
speed of the MPU as expressed as a multiple of 10KHz. For example, if the
clock speed of the MPU was 25MHz then this field should be initialized to
'2500' (0x32353030).
Snoop Mode
Same definition as in the INIT_TYPE_1 structure.
Pointer to Relocation Table
Same definition as in the INIT_TYPE_1 structure.