thread_context.hh (13628:332f730a1855) thread_context.hh (13693:85fa3a41014b)
1/*
2 * Copyright (c) 2011-2012, 2016-2018 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

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

81 /** Returns a pointer to the ITB. */
82 BaseTLB *getITBPtr() override { return cpu->itb; }
83
84 /** Returns a pointer to the DTB. */
85 BaseTLB *getDTBPtr() override { return cpu->dtb; }
86
87 CheckerCPU *getCheckerCpuPtr() override { return NULL; }
88
1/*
2 * Copyright (c) 2011-2012, 2016-2018 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

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

81 /** Returns a pointer to the ITB. */
82 BaseTLB *getITBPtr() override { return cpu->itb; }
83
84 /** Returns a pointer to the DTB. */
85 BaseTLB *getDTBPtr() override { return cpu->dtb; }
86
87 CheckerCPU *getCheckerCpuPtr() override { return NULL; }
88
89 TheISA::ISA *
90 getIsaPtr() override
91 {
92 return cpu->isa[thread->threadId()];
93 }
94
89 TheISA::Decoder *
90 getDecoderPtr() override
91 {
92 return cpu->fetch.decoder[thread->threadId()];
93 }
94
95 /** Returns a pointer to this CPU. */
96 virtual BaseCPU *getCpuPtr() override { return cpu; }

--- 347 unchanged lines hidden ---
95 TheISA::Decoder *
96 getDecoderPtr() override
97 {
98 return cpu->fetch.decoder[thread->threadId()];
99 }
100
101 /** Returns a pointer to this CPU. */
102 virtual BaseCPU *getCpuPtr() override { return cpu; }

--- 347 unchanged lines hidden ---