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; --- 98 unchanged lines hidden (view full) --- 107 }; 108 109 public: 110 CheckerCPU(Params *p); 111 virtual ~CheckerCPU(); 112 113 Process *process; 114 |
115 void setMemory(MemObject *mem); 116 117 MemObject *memPtr; 118 |
119 void setSystem(System *system); 120 121 System *systemPtr; 122 123 void setIcachePort(Port *icache_port); 124 125 Port *icachePort; 126 --- 196 unchanged lines hidden (view full) --- 323 void recordNextPCChange(uint64_t val) { changedNextPC = true; } 324 325 bool translateInstReq(Request *req); 326 void translateDataWriteReq(Request *req); 327 void translateDataReadReq(Request *req); 328 329#if FULL_SYSTEM 330 Fault hwrei() { return thread->hwrei(); } |
331 bool inPalMode() { return thread->inPalMode(); } 332 void ev5_trap(Fault fault) { fault->invoke(tc); } 333 bool simPalCheck(int palFunc) { return thread->simPalCheck(palFunc); } 334#else 335 // Assume that the normal CPU's call to syscall was successful. 336 // The checker's state would have already been updated by the syscall. 337 void syscall(uint64_t callnum) { } 338#endif --- 76 unchanged lines hidden --- |