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
--- 289 unchanged lines hidden (view full) ---
298}
299
300Fault
301TLB::translateData(RequestPtr req, ThreadContext *tc, bool write)
302{
303 if (FullSystem)
304 panic("translateData not implemented in RISC-V.\n");
305
306 Process * p = tc->getProcessPtr();
307
308 Fault fault = p->pTable->translate(req);
309 if (fault != NoFault)
310 return fault;
311
312 return NoFault;
313}
--- 48 unchanged lines hidden ---
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
--- 289 unchanged lines hidden (view full) ---
298}
299
300Fault
301TLB::translateData(RequestPtr req, ThreadContext *tc, bool write)
302{
303 if (FullSystem)
304 panic("translateData not implemented in RISC-V.\n");
305
306 Process * p = tc->getProcessPtr();
307
308 Fault fault = p->pTable->translate(req);
309 if (fault != NoFault)
310 return fault;
311
312 return NoFault;
313}
--- 48 unchanged lines hidden ---