projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
45ea154
)
SPARC: Fix a bug where the TLB would match against the wrong entries.
author
Gabe Black
<gblack@eecs.umich.edu>
Tue, 1 Jan 2008 23:20:08 +0000
(18:20 -0500)
committer
Gabe Black
<gblack@eecs.umich.edu>
Tue, 1 Jan 2008 23:20:08 +0000
(18:20 -0500)
--HG--
extra : convert_revision :
631b3b6a1416121b54bd9717ca1cdccdd5b8a1eb
src/arch/sparc/tlb.cc
patch
|
blob
|
history
diff --git
a/src/arch/sparc/tlb.cc
b/src/arch/sparc/tlb.cc
index c0ad75c6e89ef1bdc6089bb124bf918f19159b8b..740da37ab14f9ce31118be2dc6b79c4e6e7ad079 100644
(file)
--- a/
src/arch/sparc/tlb.cc
+++ b/
src/arch/sparc/tlb.cc
@@
-223,7
+223,7
@@
TLB::lookup(Addr va, int partition_id, bool real, int context_id, bool
va, partition_id, context_id, real);
// Assemble full address structure
tr.va = va;
- tr.size =
MachineBytes
;
+ tr.size =
1
;
tr.contextId = context_id;
tr.partitionId = partition_id;
tr.real = real;
@@
-282,7
+282,7
@@
TLB::demapPage(Addr va, int partition_id, bool real, int context_id)
// Assemble full address structure
tr.va = va;
- tr.size =
MachineBytes
;
+ tr.size =
1
;
tr.contextId = context_id;
tr.partitionId = partition_id;
tr.real = real;