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 |
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} |