AbstractController.cc (12749:223c83ed9979) AbstractController.cc (12823:ba630bc7a36d)
1/*
2 * Copyright (c) 2017 ARM Limited
3 * All rights reserved.
4 *
5 * The license below extends only to copyright in the software and shall
6 * not be construed as granting a license to any other intellectual
7 * property including but not limited to intellectual property relating
8 * to a hardware implementation of the functionality of the software

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

313}
314
315int
316AbstractController::functionalMemoryWrite(PacketPtr pkt)
317{
318 int num_functional_writes = 0;
319
320 // Check the buffer from the controller to the memory.
1/*
2 * Copyright (c) 2017 ARM Limited
3 * All rights reserved.
4 *
5 * The license below extends only to copyright in the software and shall
6 * not be construed as granting a license to any other intellectual
7 * property including but not limited to intellectual property relating
8 * to a hardware implementation of the functionality of the software

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

313}
314
315int
316AbstractController::functionalMemoryWrite(PacketPtr pkt)
317{
318 int num_functional_writes = 0;
319
320 // Check the buffer from the controller to the memory.
321 if (memoryPort.checkFunctional(pkt)) {
321 if (memoryPort.trySatisfyFunctional(pkt)) {
322 num_functional_writes++;
323 }
324
325 // Update memory itself.
326 memoryPort.sendFunctional(pkt);
327 return num_functional_writes + 1;
328}
329

--- 62 unchanged lines hidden ---
322 num_functional_writes++;
323 }
324
325 // Update memory itself.
326 memoryPort.sendFunctional(pkt);
327 return num_functional_writes + 1;
328}
329

--- 62 unchanged lines hidden ---