VAX750: Fix UBA register alignment and length check
The VAX 11/750 diagnostic supervisor makes word length references to UBA register space, so this must have been legal.
This commit is contained in:
parent
c5d5a9dfbf
commit
f946508c8b
1 changed files with 1 additions and 1 deletions
|
@ -200,7 +200,7 @@ t_stat uba_rdreg (int32 *val, int32 pa, int32 lnt)
|
|||
{
|
||||
int32 idx, ofs;
|
||||
|
||||
if ((pa & 3) || (lnt != L_LONG)) { /* unaligned or not lw? */
|
||||
if ((pa & 3) || (lnt < L_WORD)) { /* unaligned or not at least word? */
|
||||
sim_printf (">>UBA: invalid adapter read mask, pa = %X, lnt = %d\r\n", pa, lnt);
|
||||
/* FIXME: set appropriate error bits */
|
||||
return SCPE_OK;
|
||||
|
|
Loading…
Add table
Reference in a new issue