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 } 176 177 if (fault == NoFault) { 178 %(op_wb)s; 179 } 180 } 181 182 return fault; --- 15 unchanged lines hidden (view full) --- 198 { 199 if (fault == NoFault) { 200 %(memacc_code)s; 201 } 202 203 if (fault == NoFault) { 204 fault = xc->write((uint%(mem_acc_size)d_t&)Mem, EA, 205 memAccessFlags, NULL); |
206 } 207 208 // Need to write back any potential address register update 209 if (fault == NoFault) { 210 %(op_wb)s; 211 } 212 } 213 --- 175 unchanged lines hidden --- |