VAX750: Fixed bad test for UBA intr level (COVERITY)
IPL_UBA already has the subtract built in: So it shouldn't be extracted again. The whole routine looks a little strange, but the way it works is that an interrupt from the UBA itself sets <bit 31> in the returned vector. Because the vector is read by code and not used by hardware, the flag bit is "harmless." UBA interrupts occur only under strange circumstances, like bad map pages and device NXMs. Under the simulator, with a debugged OS, they never happen.
This commit is contained in:
parent
8d8ecc1a5a
commit
f0bee7f28e
1 changed files with 1 additions and 1 deletions
|
@ -422,7 +422,7 @@ int32 uba_get_ubvector (int32 lvl)
|
|||
{
|
||||
int32 i;
|
||||
|
||||
if ((lvl == (IPL_UBA - IPL_HMIN)) && uba_int) { /* UBA lvl, int? */
|
||||
if ((lvl == IPL_UBA) && uba_int) { /* UBA lvl, int? */
|
||||
uba_int = 0; /* clear int */
|
||||
}
|
||||
for (i = 0; int_req[lvl] && (i < 32); i++) {
|
||||
|
|
Loading…
Add table
Reference in a new issue