mirror of
https://github.com/reactos/reactos.git
synced 2025-07-29 04:02:33 +00:00
[FAST486]: We should invalidate the prefetch buffer *after* having fetched the BOP byte (but before calling its handler), not before fetching the byte :)
svn path=/trunk/; revision=65059
This commit is contained in:
parent
bd446bbb01
commit
af80d3517d
1 changed files with 5 additions and 5 deletions
|
@ -4240,11 +4240,6 @@ FAST486_OPCODE_HANDLER(Fast486OpcodeLdsLes)
|
|||
{
|
||||
UCHAR BopCode;
|
||||
|
||||
#ifndef FAST486_NO_PREFETCH
|
||||
/* Invalidate the prefetch since BOP handlers can alter the memory */
|
||||
State->PrefetchValid = FALSE;
|
||||
#endif
|
||||
|
||||
/* Fetch the BOP code */
|
||||
if (!Fast486FetchByte(State, &BopCode))
|
||||
{
|
||||
|
@ -4252,6 +4247,11 @@ FAST486_OPCODE_HANDLER(Fast486OpcodeLdsLes)
|
|||
return;
|
||||
}
|
||||
|
||||
#ifndef FAST486_NO_PREFETCH
|
||||
/* Invalidate the prefetch since BOP handlers can alter the memory */
|
||||
State->PrefetchValid = FALSE;
|
||||
#endif
|
||||
|
||||
/* Call the BOP handler */
|
||||
State->BopCallback(State, BopCode);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue