mirror of
https://github.com/simh/simh.git
synced 2026-01-13 23:35:57 +00:00
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
@ -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…
x
Reference in New Issue
Block a user