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 } 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); |
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 --- |