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
349
350MipsISA::PTE &
351TLB::index(bool advance)
352{
353 PTE *pte = &table[nlu];
354
355 if (advance)
356 nextnlu();
357
358 return *pte;
359}
360
361MipsISA::TLB *
362MipsTLBParams::create()
363{
364 return new TLB(this);
365}