Use BWX instructions on EV6 as well as EV5.
This gets the AlphaServer DS10 booting.
This commit is contained in:
parent
b7da6f22c3
commit
059b89f6a3
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user