Use BWX instructions on EV6 as well as EV5.

This gets the AlphaServer DS10 booting.
This commit is contained in:
gallatin 1999-10-15 21:08:52 +00:00
parent 3dcb5df695
commit d3b7d7bf93

View File

@ -231,7 +231,7 @@ badaddr_read(addr, size, rptr)
alpha_mb();
switch (size) {
case sizeof (u_int8_t):
if (alpha_implver() == ALPHA_IMPLVER_EV5
if (alpha_implver() >= ALPHA_IMPLVER_EV5
&& alpha_amask(ALPHA_AMASK_BWX) == 0)
rcpt = ldbu((vm_offset_t)addr);
else
@ -239,7 +239,7 @@ badaddr_read(addr, size, rptr)
break;
case sizeof (u_int16_t):
if (alpha_implver() == ALPHA_IMPLVER_EV5
if (alpha_implver() >= ALPHA_IMPLVER_EV5
&& alpha_amask(ALPHA_AMASK_BWX) == 0)
rcpt = ldwu((vm_offset_t)addr);
else