SPARC: Fix a bug where the TLB would match against the wrong entries.

--HG--
extra : convert_revision : 631b3b6a1416121b54bd9717ca1cdccdd5b8a1eb
This commit is contained in:
Gabe Black 2008-01-01 18:20:08 -05:00
parent 45ea1549c9
commit 2cb7d4f068

View file

@ -223,7 +223,7 @@ TLB::lookup(Addr va, int partition_id, bool real, int context_id, bool
va, partition_id, context_id, real); va, partition_id, context_id, real);
// Assemble full address structure // Assemble full address structure
tr.va = va; tr.va = va;
tr.size = MachineBytes; tr.size = 1;
tr.contextId = context_id; tr.contextId = context_id;
tr.partitionId = partition_id; tr.partitionId = partition_id;
tr.real = real; tr.real = real;
@ -282,7 +282,7 @@ TLB::demapPage(Addr va, int partition_id, bool real, int context_id)
// Assemble full address structure // Assemble full address structure
tr.va = va; tr.va = va;
tr.size = MachineBytes; tr.size = 1;
tr.contextId = context_id; tr.contextId = context_id;
tr.partitionId = partition_id; tr.partitionId = partition_id;
tr.real = real; tr.real = real;