1// -*- mode:c++ -*- 2 3// Copyright (c) 2009 The University of Edinburgh 4// All rights reserved. 5// 6// Redistribution and use in source and binary forms, with or without 7// modification, are permitted provided that the following conditions are 8// met: redistributions of source code must retain the above copyright --- 111 unchanged lines hidden (view full) --- 120 121def template LoadCompleteAcc {{ 122 Fault %(class_name)s::completeAcc(PacketPtr pkt, 123 %(CPU_exec_context)s *xc, 124 Trace::InstRecord *traceData) const 125 { 126 Addr EA; 127 Fault fault = NoFault; |
128 129 %(op_decl)s; 130 %(op_rd)s; 131 132 EA = xc->getEA(); 133 |
134 getMem(pkt, Mem, traceData); |
135 136 if (fault == NoFault) { 137 %(memacc_code)s; 138 } 139 140 if (fault == NoFault) { 141 %(op_wb)s; 142 } --- 197 unchanged lines hidden --- |