tlb.cc (8888:befcf4d79fc1) tlb.cc (9738:304a37519d11)
1/*
2 * Copyright (c) 2001-2005 The Regents of The University of Michigan
3 * Copyright (c) 2007 MIPS Technologies, Inc.
4 * Copyright (c) 2007-2008 The Florida State University
5 * Copyright (c) 2009 The University of Edinburgh
6 * All rights reserved.
7 *
8 * Redistribution and use in source and binary forms, with or without

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

328
329Fault
330TLB::translateFunctional(RequestPtr req, ThreadContext *tc, Mode mode)
331{
332 panic("Not implemented\n");
333 return NoFault;
334}
335
1/*
2 * Copyright (c) 2001-2005 The Regents of The University of Michigan
3 * Copyright (c) 2007 MIPS Technologies, Inc.
4 * Copyright (c) 2007-2008 The Florida State University
5 * Copyright (c) 2009 The University of Edinburgh
6 * All rights reserved.
7 *
8 * Redistribution and use in source and binary forms, with or without

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

328
329Fault
330TLB::translateFunctional(RequestPtr req, ThreadContext *tc, Mode mode)
331{
332 panic("Not implemented\n");
333 return NoFault;
334}
335
336Fault
337TLB::finalizePhysical(RequestPtr req, ThreadContext *tc, Mode mode) const
338{
339 return NoFault;
340}
341
336PowerISA::PTE &
337TLB::index(bool advance)
338{
339 PowerISA::PTE *pte = &table[nlu];
340
341 if (advance)
342 nextnlu();
343
344 return *pte;
345}
346
347PowerISA::TLB *
348PowerTLBParams::create()
349{
350 return new PowerISA::TLB(this);
351}
342PowerISA::PTE &
343TLB::index(bool advance)
344{
345 PowerISA::PTE *pte = &table[nlu];
346
347 if (advance)
348 nextnlu();
349
350 return *pte;
351}
352
353PowerISA::TLB *
354PowerTLBParams::create()
355{
356 return new PowerISA::TLB(this);
357}