tlb.cc (5288:7dd5694453b3) tlb.cc (5312:1dc4440797b6)
1/*
2 * Copyright (c) 2001-2005 The Regents of The University of Michigan
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;

--- 209 unchanged lines hidden (view full) ---

218 MapIter i;
219 TlbRange tr;
220 TlbEntry *t;
221
222 DPRINTF(TLB, "TLB: Looking up entry va=%#x pid=%d cid=%d r=%d\n",
223 va, partition_id, context_id, real);
224 // Assemble full address structure
225 tr.va = va;
1/*
2 * Copyright (c) 2001-2005 The Regents of The University of Michigan
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;

--- 209 unchanged lines hidden (view full) ---

218 MapIter i;
219 TlbRange tr;
220 TlbEntry *t;
221
222 DPRINTF(TLB, "TLB: Looking up entry va=%#x pid=%d cid=%d r=%d\n",
223 va, partition_id, context_id, real);
224 // Assemble full address structure
225 tr.va = va;
226 tr.size = MachineBytes;
226 tr.size = 1;
227 tr.contextId = context_id;
228 tr.partitionId = partition_id;
229 tr.real = real;
230
231 // Try to find the entry
232 i = lookupTable.find(tr);
233 if (i == lookupTable.end()) {
234 DPRINTF(TLB, "TLB: No valid entry found\n");

--- 42 unchanged lines hidden (view full) ---

277
278 DPRINTF(IPR, "TLB: Demapping Page va=%#x pid=%#d cid=%d r=%d\n",
279 va, partition_id, context_id, real);
280
281 cacheValid = false;
282
283 // Assemble full address structure
284 tr.va = va;
227 tr.contextId = context_id;
228 tr.partitionId = partition_id;
229 tr.real = real;
230
231 // Try to find the entry
232 i = lookupTable.find(tr);
233 if (i == lookupTable.end()) {
234 DPRINTF(TLB, "TLB: No valid entry found\n");

--- 42 unchanged lines hidden (view full) ---

277
278 DPRINTF(IPR, "TLB: Demapping Page va=%#x pid=%#d cid=%d r=%d\n",
279 va, partition_id, context_id, real);
280
281 cacheValid = false;
282
283 // Assemble full address structure
284 tr.va = va;
285 tr.size = MachineBytes;
285 tr.size = 1;
286 tr.contextId = context_id;
287 tr.partitionId = partition_id;
288 tr.real = real;
289
290 // Demap any entry that conflicts
291 i = lookupTable.find(tr);
292 if (i != lookupTable.end()) {
293 DPRINTF(IPR, "TLB: Demapped page\n");

--- 1150 unchanged lines hidden ---
286 tr.contextId = context_id;
287 tr.partitionId = partition_id;
288 tr.real = real;
289
290 // Demap any entry that conflicts
291 i = lookupTable.find(tr);
292 if (i != lookupTable.end()) {
293 DPRINTF(IPR, "TLB: Demapped page\n");

--- 1150 unchanged lines hidden ---