1// -*- mode:c++ -*- 2 3// Copyright (c) 2007 MIPS Technologies, Inc. 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 --- 291 unchanged lines hidden (view full) --- 300 301 if (fault == NoFault) { 302 %(memacc_code)s; 303 } 304 305 if (fault == NoFault) { 306 fault = xc->write((uint%(mem_acc_size)d_t&)Mem, EA, 307 memAccessFlags, NULL); |
308 } 309 310 if (fault == NoFault) { 311 %(postacc_code)s; 312 } 313 314 if (fault == NoFault) { 315 %(op_wb)s; --- 20 unchanged lines hidden (view full) --- 336 337 if (fault == NoFault) { 338 %(memacc_code)s; 339 } 340 341 if (fault == NoFault) { 342 fault = xc->write((uint%(mem_acc_size)d_t&)Mem, EA, 343 memAccessFlags, NULL); |
344 } 345 346 if (fault == NoFault) { 347 %(postacc_code)s; 348 } 349 350 if (fault == NoFault) { 351 %(op_wb)s; --- 18 unchanged lines hidden (view full) --- 370 371 if (fault == NoFault) { 372 %(memacc_code)s; 373 } 374 375 if (fault == NoFault) { 376 fault = xc->write((uint%(mem_acc_size)d_t&)Mem, EA, 377 memAccessFlags, &write_result); |
378 } 379 380 if (fault == NoFault) { 381 %(postacc_code)s; 382 } 383 384 if (fault == NoFault) { 385 %(op_wb)s; --- 17 unchanged lines hidden (view full) --- 403 404 if (fault == NoFault) { 405 %(memacc_code)s; 406 } 407 408 if (fault == NoFault) { 409 fault = xc->write((uint%(mem_acc_size)d_t&)Mem, EA, 410 memAccessFlags, NULL); |
411 } 412 413 return fault; 414 } 415}}; 416 417 418def template StoreCompleteAcc {{ --- 7 unchanged lines hidden (view full) --- 426 %(op_dest_decl)s; 427 428 if (fault == NoFault) { 429 %(postacc_code)s; 430 } 431 432 if (fault == NoFault) { 433 %(op_wb)s; |
434 } 435 436 return fault; 437 } 438}}; 439 440 441def template StoreCompleteAcc {{ --- 6 unchanged lines hidden (view full) --- 448 %(op_dest_decl)s; 449 450 if (fault == NoFault) { 451 %(postacc_code)s; 452 } 453 454 if (fault == NoFault) { 455 %(op_wb)s; |
456 } 457 458 return fault; 459 } 460}}; 461 462def template StoreCondCompleteAcc {{ 463 Fault %(class_name)s::completeAcc(Packet *pkt, --- 168 unchanged lines hidden --- |