X86: Make x86 use PREFETCH instead of PF_EXCLUSIVE.
This commit is contained in:
parent
b1a1f9aec8
commit
53086dfefe
1 changed files with 2 additions and 2 deletions
|
@ -157,7 +157,7 @@ def template MicroLoadExecute {{
|
|||
|
||||
if (fault == NoFault) {
|
||||
%(code)s;
|
||||
} else if (memFlags & Request::PF_EXCLUSIVE) {
|
||||
} else if (memFlags & Request::PREFETCH) {
|
||||
// For prefetches, ignore any faults/exceptions.
|
||||
return NoFault;
|
||||
}
|
||||
|
@ -374,7 +374,7 @@ let {{
|
|||
if atCPL0:
|
||||
self.memFlags += " | (CPL0FlagBit << FlagShift)"
|
||||
if prefetch:
|
||||
self.memFlags += " | Request::PF_EXCLUSIVE"
|
||||
self.memFlags += " | Request::PREFETCH"
|
||||
self.memFlags += " | (machInst.legacy.addr ? " + \
|
||||
"(AddrSizeFlagBit << FlagShift) : 0)"
|
||||
|
||||
|
|
Loading…
Reference in a new issue