cpu.hh (3479:4fbcaa81d105) cpu.hh (3521:0b0b3551def0)
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;

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

322 void recordNextPCChange(uint64_t val) { changedNextPC = true; }
323
324 bool translateInstReq(Request *req);
325 void translateDataWriteReq(Request *req);
326 void translateDataReadReq(Request *req);
327
328#if FULL_SYSTEM
329 Fault hwrei() { return thread->hwrei(); }
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;

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

322 void recordNextPCChange(uint64_t val) { changedNextPC = true; }
323
324 bool translateInstReq(Request *req);
325 void translateDataWriteReq(Request *req);
326 void translateDataReadReq(Request *req);
327
328#if FULL_SYSTEM
329 Fault hwrei() { return thread->hwrei(); }
330 bool inPalMode() { return thread->inPalMode(); }
331 void ev5_trap(Fault fault) { fault->invoke(tc); }
332 bool simPalCheck(int palFunc) { return thread->simPalCheck(palFunc); }
333#else
334 // Assume that the normal CPU's call to syscall was successful.
335 // The checker's state would have already been updated by the syscall.
336 void syscall(uint64_t callnum) { }
337#endif
338

--- 75 unchanged lines hidden ---
330 void ev5_trap(Fault fault) { fault->invoke(tc); }
331 bool simPalCheck(int palFunc) { return thread->simPalCheck(palFunc); }
332#else
333 // Assume that the normal CPU's call to syscall was successful.
334 // The checker's state would have already been updated by the syscall.
335 void syscall(uint64_t callnum) { }
336#endif
337

--- 75 unchanged lines hidden ---