VAX 8600 compiler warning cleanups
Addition of DMC11 to the VAX 8600
This commit is contained in:
parent
ac53fd10a6
commit
2751a22725
4 changed files with 13 additions and 6 deletions
|
@ -473,7 +473,7 @@ return;
|
|||
|
||||
int32 ReadReg (int32 pa, int32 lnt)
|
||||
{
|
||||
int32 nexus, val;
|
||||
int32 val;
|
||||
|
||||
if (ADDR_IS_SBIA (pa)) return sbia_rd (pa, lnt); /* SBI adapter space? */
|
||||
if (ADDR_IS_REG (pa)) { /* reg space? */
|
||||
|
@ -496,8 +496,6 @@ return 0;
|
|||
|
||||
void WriteReg (int32 pa, int32 val, int32 lnt)
|
||||
{
|
||||
int32 nexus;
|
||||
|
||||
if (ADDR_IS_SBIA (pa)) { /* SBI adapter space? */
|
||||
sbia_wr (pa, val, lnt);
|
||||
SET_IRQL;
|
||||
|
|
|
@ -171,6 +171,10 @@ int32 sbia_rd (int32 pa, int32 lnt)
|
|||
|
||||
case 0x11: /* SBIMT */
|
||||
return sbi_mt & SBIMT_RD;
|
||||
|
||||
default: /* Anything else is not impl */
|
||||
return 0;
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -971,13 +971,13 @@ else switch (lc_fnc) { /* idle, case */
|
|||
case LC_FNCAC: /* array configuration */
|
||||
lc_buf[3] = LC_FNCAC;
|
||||
if (MEMSIZE < MAXMEMSIZE) { /* 4MB Boards */
|
||||
lc_buf[2] = (MEMSIZE >> 22); /* slots in use */
|
||||
lc_buf[2] = (uint8)(MEMSIZE >> 22); /* slots in use */
|
||||
for (i = 0; i < lc_buf[2]; i++) {
|
||||
mask |= (2 << (i * 2)); /* build array mask */
|
||||
}
|
||||
}
|
||||
else {
|
||||
lc_buf[2] = (MEMSIZE >> 24); /* 16MB Boards */
|
||||
lc_buf[2] = (uint8)(MEMSIZE >> 24); /* 16MB Boards */
|
||||
for (i = 0; i < lc_buf[2]; i++) {
|
||||
mask |= (1 << (i * 2)); /* build array mask */
|
||||
}
|
||||
|
|
|
@ -53,6 +53,7 @@ extern DEVICE tq_dev;
|
|||
extern DEVICE tu_dev;
|
||||
extern DEVICE dz_dev;
|
||||
extern DEVICE xu_dev, xub_dev;
|
||||
extern DEVICE dmc_dev[];
|
||||
|
||||
extern int32 sim_switches;
|
||||
extern UNIT cpu_unit;
|
||||
|
@ -87,6 +88,10 @@ DEVICE *sim_devices[] = {
|
|||
&tq_dev,
|
||||
&xu_dev,
|
||||
&xub_dev,
|
||||
&dmc_dev[0],
|
||||
&dmc_dev[1],
|
||||
&dmc_dev[2],
|
||||
&dmc_dev[3],
|
||||
NULL
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue