286: Make LOCK legal with all instructions, per the Programmers' Reference Manual.
This commit is contained in:
@@ -426,9 +426,10 @@ x386_common_log(const char *fmt, ...)
|
||||
int
|
||||
is_lock_legal(uint32_t fetchdat)
|
||||
{
|
||||
int legal;
|
||||
fetch_dat_t fetch_dat;
|
||||
int legal = 1;
|
||||
|
||||
if (is386) {
|
||||
fetch_dat_t fetch_dat;
|
||||
fetch_dat.fd = fetchdat;
|
||||
|
||||
legal = lock_legal[fetch_dat.b[0]];
|
||||
@@ -463,6 +464,7 @@ is_lock_legal(uint32_t fetchdat)
|
||||
legal = 0;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
return legal;
|
||||
}
|
||||
|
Reference in New Issue
Block a user