cpu.hh (14195:c5efdb3319aa) cpu.hh (14198:9c2f67392409)
1/*
2 * Copyright (c) 2011-2013, 2016-2019 ARM Limited
3 * Copyright (c) 2013 Advanced Micro Devices, Inc.
4 * All rights reserved
5 *
6 * The license below extends only to copyright in the software and shall
7 * not be construed as granting a license to any other intellectual
8 * property including but not limited to intellectual property relating

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

730
731 /** CPU write function, forwards write to LSQ. */
732 Fault write(LSQRequest* req, uint8_t *data, int store_idx)
733 {
734 return this->iew.ldstQueue.write(req, data, store_idx);
735 }
736
737 /** Used by the fetch unit to get a hold of the instruction port. */
1/*
2 * Copyright (c) 2011-2013, 2016-2019 ARM Limited
3 * Copyright (c) 2013 Advanced Micro Devices, Inc.
4 * All rights reserved
5 *
6 * The license below extends only to copyright in the software and shall
7 * not be construed as granting a license to any other intellectual
8 * property including but not limited to intellectual property relating

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

730
731 /** CPU write function, forwards write to LSQ. */
732 Fault write(LSQRequest* req, uint8_t *data, int store_idx)
733 {
734 return this->iew.ldstQueue.write(req, data, store_idx);
735 }
736
737 /** Used by the fetch unit to get a hold of the instruction port. */
738 MasterPort &
738 Port &
739 getInstPort() override
740 {
741 return this->fetch.getInstPort();
742 }
743
744 /** Get the dcache port (used to find block size for translations). */
739 getInstPort() override
740 {
741 return this->fetch.getInstPort();
742 }
743
744 /** Get the dcache port (used to find block size for translations). */
745 MasterPort &
745 Port &
746 getDataPort() override
747 {
748 return this->iew.ldstQueue.getDataPort();
749 }
750
751 /** Stat for total number of times the CPU is descheduled. */
752 Stats::Scalar timesIdled;
753 /** Stat for total number of cycles the CPU spends descheduled. */

--- 38 unchanged lines hidden ---
746 getDataPort() override
747 {
748 return this->iew.ldstQueue.getDataPort();
749 }
750
751 /** Stat for total number of times the CPU is descheduled. */
752 Stats::Scalar timesIdled;
753 /** Stat for total number of cycles the CPU spends descheduled. */

--- 38 unchanged lines hidden ---