cpu.hh (11169:44b5c183c3cd) cpu.hh (11302:bce9037689b0)
1/*
2 * Copyright (c) 2011-2013 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

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

673 /** Mapping for system thread id to cpu id */
674 std::map<ThreadID, unsigned> threadMap;
675
676 /** Available thread ids in the cpu*/
677 std::vector<ThreadID> tids;
678
679 /** CPU read function, forwards read to LSQ. */
680 Fault read(RequestPtr &req, RequestPtr &sreqLow, RequestPtr &sreqHigh,
1/*
2 * Copyright (c) 2011-2013 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

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

673 /** Mapping for system thread id to cpu id */
674 std::map<ThreadID, unsigned> threadMap;
675
676 /** Available thread ids in the cpu*/
677 std::vector<ThreadID> tids;
678
679 /** CPU read function, forwards read to LSQ. */
680 Fault read(RequestPtr &req, RequestPtr &sreqLow, RequestPtr &sreqHigh,
681 uint8_t *data, int load_idx)
681 int load_idx)
682 {
682 {
683 return this->iew.ldstQueue.read(req, sreqLow, sreqHigh,
684 data, load_idx);
683 return this->iew.ldstQueue.read(req, sreqLow, sreqHigh, load_idx);
685 }
686
687 /** CPU write function, forwards write to LSQ. */
688 Fault write(RequestPtr &req, RequestPtr &sreqLow, RequestPtr &sreqHigh,
689 uint8_t *data, int store_idx)
690 {
691 return this->iew.ldstQueue.write(req, sreqLow, sreqHigh,
692 data, store_idx);

--- 43 unchanged lines hidden ---
684 }
685
686 /** CPU write function, forwards write to LSQ. */
687 Fault write(RequestPtr &req, RequestPtr &sreqLow, RequestPtr &sreqHigh,
688 uint8_t *data, int store_idx)
689 {
690 return this->iew.ldstQueue.write(req, sreqLow, sreqHigh,
691 data, store_idx);

--- 43 unchanged lines hidden ---