tlb.cc (5358:e9acb84bbafb) tlb.cc (5359:8c6ff200e4c1)
1/*
2 * Copyright (c) 2007 The Hewlett-Packard Development Company
3 * All rights reserved.
4 *
5 * Redistribution and use of this software in source and binary forms,
6 * with or without modification, are permitted provided that the
7 * following conditions are met:
8 *

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

166 entryIt++;
167 }
168 }
169}
170
171void
172TLB::demapPage(Addr va, uint64_t asn)
173{
1/*
2 * Copyright (c) 2007 The Hewlett-Packard Development Company
3 * All rights reserved.
4 *
5 * Redistribution and use of this software in source and binary forms,
6 * with or without modification, are permitted provided that the
7 * following conditions are met:
8 *

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

166 entryIt++;
167 }
168 }
169}
170
171void
172TLB::demapPage(Addr va, uint64_t asn)
173{
174 EntryList::iterator entry = lookupIt(va, false);
175 if (entry != entryList.end()) {
176 freeList.push_back(*entry);
177 entryList.erase(entry);
178 }
174}
175
176template<class TlbFault>
177Fault
178TLB::translate(RequestPtr &req, ThreadContext *tc, bool write, bool execute)
179{
180 Addr vaddr = req->getVaddr();
181 DPRINTF(TLB, "Translating vaddr %#x.\n", vaddr);

--- 460 unchanged lines hidden ---
179}
180
181template<class TlbFault>
182Fault
183TLB::translate(RequestPtr &req, ThreadContext *tc, bool write, bool execute)
184{
185 Addr vaddr = req->getVaddr();
186 DPRINTF(TLB, "Translating vaddr %#x.\n", vaddr);

--- 460 unchanged lines hidden ---