Deleted Added
sdiff udiff text old ( 6307:067515d22824 ) new ( 7045:e21fe6a62b1c )
full compact
1// -*- mode:c++ -*-
2
3// Copyright (c) 2007-2008 The Florida State University
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

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

167 {
168 if (fault == NoFault) {
169 %(memacc_code)s;
170 }
171
172 if (fault == NoFault) {
173 fault = xc->write((uint%(mem_acc_size)d_t&)Mem, EA,
174 memAccessFlags, NULL);
175 if (traceData) { traceData->setData(Mem); }
176 }
177
178 if (fault == NoFault) {
179 %(op_wb)s;
180 }
181 }
182
183 return fault;

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

199 {
200 if (fault == NoFault) {
201 %(memacc_code)s;
202 }
203
204 if (fault == NoFault) {
205 fault = xc->write((uint%(mem_acc_size)d_t&)Mem, EA,
206 memAccessFlags, NULL);
207 if (traceData) { traceData->setData(Mem); }
208 }
209
210 // Need to write back any potential address register update
211 if (fault == NoFault) {
212 %(op_wb)s;
213 }
214 }
215

--- 175 unchanged lines hidden ---