Deleted Added
sdiff udiff text old ( 9294:8fb03b13de02 ) new ( 9439:fce94f92ea0f )
full compact
1/*
2 * Copyright (c) 2010 ARM Limited
3 * All rights reserved
4 *
5 * The license below extends only to copyright in the software and shall
6 * not be construed as granting a license to any other intellectual
7 * property including but not limited to intellectual property relating
8 * to a hardware implementation of the functionality of the software
9 * licensed hereunder. You may use the software subject to the license
10 * terms below provided that you ensure that this notice is replicated

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

248 flushedEntries++;
249 }
250 x++;
251 }
252 flushTlbMva++;
253}
254
255void
256TLB::serialize(ostream &os)
257{
258 DPRINTF(Checkpoint, "Serializing Arm TLB\n");
259
260 SERIALIZE_SCALAR(_attr);
261
262 int num_entries = size;
263 SERIALIZE_SCALAR(num_entries);

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

273 DPRINTF(Checkpoint, "Unserializing Arm TLB\n");
274
275 UNSERIALIZE_SCALAR(_attr);
276 int num_entries;
277 UNSERIALIZE_SCALAR(num_entries);
278 for(int i = 0; i < min(size, num_entries); i++){
279 table[i].unserialize(cp, csprintf("%s.TlbEntry%d", section, i));
280 }
281 miscRegValid = false;
282}
283
284void
285TLB::regStats()
286{
287 instHits
288 .name(name() + ".inst_hits")
289 .desc("ITB inst hits")

--- 448 unchanged lines hidden ---