mem.isa (6307:067515d22824) | mem.isa (7045:e21fe6a62b1c) |
---|---|
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); | 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); | 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); |
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 --- | 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 --- |