tlb.cc (5736:426510e758ad) | tlb.cc (5891:73084c6bb183) |
---|---|
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 --- 296 unchanged lines hidden (view full) --- 305 ; 306 307 hits = read_hits + write_hits; 308 misses = read_misses + write_misses; 309 accesses = read_accesses + write_accesses; 310} 311 312Fault | 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 --- 296 unchanged lines hidden (view full) --- 305 ; 306 307 hits = read_hits + write_hits; 308 misses = read_misses + write_misses; 309 accesses = read_accesses + write_accesses; 310} 311 312Fault |
313ITB::translate(RequestPtr &req, ThreadContext *tc) | 313ITB::translateAtomic(RequestPtr &req, ThreadContext *tc) |
314{ 315#if !FULL_SYSTEM 316 Process * p = tc->getProcessPtr(); 317 318 Fault fault = p->pTable->translate(req); 319 if(fault != NoFault) 320 return fault; 321 --- 100 unchanged lines hidden (view full) --- 422 return Flt; 423 } 424 } 425 return checkCacheability(req); 426#endif 427} 428 429Fault | 314{ 315#if !FULL_SYSTEM 316 Process * p = tc->getProcessPtr(); 317 318 Fault fault = p->pTable->translate(req); 319 if(fault != NoFault) 320 return fault; 321 --- 100 unchanged lines hidden (view full) --- 422 return Flt; 423 } 424 } 425 return checkCacheability(req); 426#endif 427} 428 429Fault |
430DTB::translate(RequestPtr &req, ThreadContext *tc, bool write) | 430DTB::translateAtomic(RequestPtr &req, ThreadContext *tc, bool write) |
431{ 432#if !FULL_SYSTEM 433 Process * p = tc->getProcessPtr(); 434 435 Fault fault = p->pTable->translate(req); 436 if(fault != NoFault) 437 return fault; 438 --- 204 unchanged lines hidden --- | 431{ 432#if !FULL_SYSTEM 433 Process * p = tc->getProcessPtr(); 434 435 Fault fault = p->pTable->translate(req); 436 if(fault != NoFault) 437 return fault; 438 --- 204 unchanged lines hidden --- |