mem.isa (6691:cd68b6ecd68d) mem.isa (7045:e21fe6a62b1c)
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

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

161
162 if (fault == NoFault) {
163 %(memacc_code)s;
164 }
165
166 if (fault == NoFault) {
167 fault = xc->write((uint%(mem_acc_size)d_t&)Mem, EA,
168 memAccessFlags, NULL);
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

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

161
162 if (fault == NoFault) {
163 %(memacc_code)s;
164 }
165
166 if (fault == NoFault) {
167 fault = xc->write((uint%(mem_acc_size)d_t&)Mem, EA,
168 memAccessFlags, NULL);
169 if (traceData) { traceData->setData(Mem); }
170 }
171
172 if (fault == NoFault) {
173 %(op_wb)s;
174 }
175
176 return fault;
177 }

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

191
192 if (fault == NoFault) {
193 %(memacc_code)s;
194 }
195
196 if (fault == NoFault) {
197 fault = xc->write((uint%(mem_acc_size)d_t&)Mem, EA,
198 memAccessFlags, NULL);
169 }
170
171 if (fault == NoFault) {
172 %(op_wb)s;
173 }
174
175 return fault;
176 }

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

190
191 if (fault == NoFault) {
192 %(memacc_code)s;
193 }
194
195 if (fault == NoFault) {
196 fault = xc->write((uint%(mem_acc_size)d_t&)Mem, EA,
197 memAccessFlags, NULL);
199 if (traceData) { traceData->setData(Mem); }
200 }
201
202 // Need to write back any potential address register update
203 if (fault == NoFault) {
204 %(op_wb)s;
205 }
206
207 return fault;

--- 144 unchanged lines hidden ---
198 }
199
200 // Need to write back any potential address register update
201 if (fault == NoFault) {
202 %(op_wb)s;
203 }
204
205 return fault;

--- 144 unchanged lines hidden ---