thread_context.hh (12109:f29e9c5418aa) thread_context.hh (12406:86bde4a026b5)
1/*
2 * Copyright (c) 2011-2012, 2016 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

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

74
75 /** Pointer to the CPU. */
76 O3CPU *cpu;
77
78 /** Pointer to the thread state that this TC corrseponds to. */
79 O3ThreadState<Impl> *thread;
80
81 /** Returns a pointer to the ITB. */
1/*
2 * Copyright (c) 2011-2012, 2016 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

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

74
75 /** Pointer to the CPU. */
76 O3CPU *cpu;
77
78 /** Pointer to the thread state that this TC corrseponds to. */
79 O3ThreadState<Impl> *thread;
80
81 /** Returns a pointer to the ITB. */
82 TheISA::TLB *getITBPtr() { return cpu->itb; }
82 BaseTLB *getITBPtr() { return cpu->itb; }
83
84 /** Returns a pointer to the DTB. */
83
84 /** Returns a pointer to the DTB. */
85 TheISA::TLB *getDTBPtr() { return cpu->dtb; }
85 BaseTLB *getDTBPtr() { return cpu->dtb; }
86
87 CheckerCPU *getCheckerCpuPtr() { return NULL; }
88
89 TheISA::Decoder *
90 getDecoderPtr()
91 {
92 return cpu->fetch.decoder[thread->threadId()];
93 }

--- 307 unchanged lines hidden ---
86
87 CheckerCPU *getCheckerCpuPtr() { return NULL; }
88
89 TheISA::Decoder *
90 getDecoderPtr()
91 {
92 return cpu->fetch.decoder[thread->threadId()];
93 }

--- 307 unchanged lines hidden ---