cpu.hh (5543:3af77710f397) cpu.hh (5639:67cc7f0427e7)
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;

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

331 this->dtb->demapPage(vaddr, asn);
332 }
333
334 bool translateInstReq(Request *req);
335 void translateDataWriteReq(Request *req);
336 void translateDataReadReq(Request *req);
337
338#if FULL_SYSTEM
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;

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

331 this->dtb->demapPage(vaddr, asn);
332 }
333
334 bool translateInstReq(Request *req);
335 void translateDataWriteReq(Request *req);
336 void translateDataReadReq(Request *req);
337
338#if FULL_SYSTEM
339 Fault hwrei() { return thread->hwrei(); }
340 void ev5_trap(Fault fault) { fault->invoke(tc); }
341 bool simPalCheck(int palFunc) { return thread->simPalCheck(palFunc); }
342#else
343 // Assume that the normal CPU's call to syscall was successful.
344 // The checker's state would have already been updated by the syscall.
345 void syscall(uint64_t callnum) { }
346#endif
347

--- 75 unchanged lines hidden ---
339 void ev5_trap(Fault fault) { fault->invoke(tc); }
340 bool simPalCheck(int palFunc) { return thread->simPalCheck(palFunc); }
341#else
342 // Assume that the normal CPU's call to syscall was successful.
343 // The checker's state would have already been updated by the syscall.
344 void syscall(uint64_t callnum) { }
345#endif
346

--- 75 unchanged lines hidden ---