Deleted Added
sdiff udiff text old ( 8888:befcf4d79fc1 ) new ( 9738:304a37519d11 )
full compact
1/*
2 * Copyright (c) 2001-2005 The Regents of The University of Michigan
3 * Copyright (c) 2007 MIPS Technologies, Inc.
4 * All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions are
8 * met: redistributions of source code must retain the above copyright

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

341
342Fault
343TLB::translateFunctional(RequestPtr req, ThreadContext *tc, Mode mode)
344{
345 panic("Not implemented\n");
346 return NoFault;
347}
348
349Fault
350TLB::finalizePhysical(RequestPtr req, ThreadContext *tc, Mode mode) const
351{
352 return NoFault;
353}
354
355
356MipsISA::PTE &
357TLB::index(bool advance)
358{
359 PTE *pte = &table[nlu];
360
361 if (advance)
362 nextnlu();
363
364 return *pte;
365}
366
367MipsISA::TLB *
368MipsTLBParams::create()
369{
370 return new TLB(this);
371}