cpu.hh (4172:141705d83494) cpu.hh (5358:e9acb84bbafb)
1/*
2 * Copyright (c) 2006 The Regents of The University of Michigan
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;

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

319 {
320 miscRegIdxs.push(misc_reg);
321 return thread->setMiscReg(misc_reg, val);
322 }
323
324 void recordPCChange(uint64_t val) { changedPC = true; newPC = val; }
325 void recordNextPCChange(uint64_t val) { changedNextPC = true; }
326
1/*
2 * Copyright (c) 2006 The Regents of The University of Michigan
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;

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

319 {
320 miscRegIdxs.push(misc_reg);
321 return thread->setMiscReg(misc_reg, val);
322 }
323
324 void recordPCChange(uint64_t val) { changedPC = true; newPC = val; }
325 void recordNextPCChange(uint64_t val) { changedNextPC = true; }
326
327 void demapPage(Addr vaddr, uint64_t asn)
328 {
329 this->itb->demapPage(vaddr, asn);
330 this->dtb->demapPage(vaddr, asn);
331 }
332
333 void demapInstPage(Addr vaddr, uint64_t asn)
334 {
335 this->itb->demapPage(vaddr, asn);
336 }
337
338 void demapDataPage(Addr vaddr, uint64_t asn)
339 {
340 this->dtb->demapPage(vaddr, asn);
341 }
342
327 bool translateInstReq(Request *req);
328 void translateDataWriteReq(Request *req);
329 void translateDataReadReq(Request *req);
330
331#if FULL_SYSTEM
332 Fault hwrei() { return thread->hwrei(); }
333 void ev5_trap(Fault fault) { fault->invoke(tc); }
334 bool simPalCheck(int palFunc) { return thread->simPalCheck(palFunc); }

--- 81 unchanged lines hidden ---
343 bool translateInstReq(Request *req);
344 void translateDataWriteReq(Request *req);
345 void translateDataReadReq(Request *req);
346
347#if FULL_SYSTEM
348 Fault hwrei() { return thread->hwrei(); }
349 void ev5_trap(Fault fault) { fault->invoke(tc); }
350 bool simPalCheck(int palFunc) { return thread->simPalCheck(palFunc); }

--- 81 unchanged lines hidden ---