util.isa (12234:78ece221f9f5) util.isa (12236:126ac9da6050)
1// Copyright (c) 2006-2007 The Regents of The University of Michigan
2// All rights reserved.
3//
4// Redistribution and use in source and binary forms, with or without
5// modification, are permitted provided that the following conditions are
6// met: redistributions of source code must retain the above copyright
7// notice, this list of conditions and the following disclaimer;
8// redistributions in binary form must reproduce the above copyright

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

275 %(EA_trunc)s
276 xc->setEA(EA);
277 }
278
279 return fault;
280 }
281}};
282
1// Copyright (c) 2006-2007 The Regents of The University of Michigan
2// All rights reserved.
3//
4// Redistribution and use in source and binary forms, with or without
5// modification, are permitted provided that the following conditions are
6// met: redistributions of source code must retain the above copyright
7// notice, this list of conditions and the following disclaimer;
8// redistributions in binary form must reproduce the above copyright

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

275 %(EA_trunc)s
276 xc->setEA(EA);
277 }
278
279 return fault;
280 }
281}};
282
283def template EACompDeclare {{
284 Fault eaComp(ExecContext *, Trace::InstRecord *) const;
285}};
286
287// This delcares the initiateAcc function in memory operations
288def template InitiateAccDeclare {{
289 Fault initiateAcc(ExecContext *, Trace::InstRecord *) const;
290}};
291
292// This declares the completeAcc function in memory operations
293def template CompleteAccDeclare {{
294 Fault completeAcc(PacketPtr, ExecContext *, Trace::InstRecord *) const;
295}};
296
297// Here are some code snippets which check for various fault conditions
298let {{
299 LoadFuncs = [LoadExecute, LoadInitiateAcc, LoadCompleteAcc]

--- 68 unchanged lines hidden ---
283// This declares the completeAcc function in memory operations
284def template CompleteAccDeclare {{
285 Fault completeAcc(PacketPtr, ExecContext *, Trace::InstRecord *) const;
286}};
287
288// Here are some code snippets which check for various fault conditions
289let {{
290 LoadFuncs = [LoadExecute, LoadInitiateAcc, LoadCompleteAcc]

--- 68 unchanged lines hidden ---