thread_context.hh (5958:2d9737bf3c2f) | thread_context.hh (6022:410194bb3049) |
---|---|
1/* 2 * Copyright (c) 2004-2006 The Regents of The University of Michigan 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 53 unchanged lines hidden (view full) --- 62 63 /** Pointer to the CPU. */ 64 O3CPU *cpu; 65 66 /** Pointer to the thread state that this TC corrseponds to. */ 67 O3ThreadState<Impl> *thread; 68 69 /** Returns a pointer to the ITB. */ | 1/* 2 * Copyright (c) 2004-2006 The Regents of The University of Michigan 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 53 unchanged lines hidden (view full) --- 62 63 /** Pointer to the CPU. */ 64 O3CPU *cpu; 65 66 /** Pointer to the thread state that this TC corrseponds to. */ 67 O3ThreadState<Impl> *thread; 68 69 /** Returns a pointer to the ITB. */ |
70 TheISA::ITB *getITBPtr() { return cpu->itb; } | 70 TheISA::TLB *getITBPtr() { return cpu->itb; } |
71 72 /** Returns a pointer to the DTB. */ | 71 72 /** Returns a pointer to the DTB. */ |
73 TheISA::DTB *getDTBPtr() { return cpu->dtb; } | 73 TheISA::TLB *getDTBPtr() { return cpu->dtb; } |
74 75 /** Returns a pointer to this CPU. */ 76 virtual BaseCPU *getCpuPtr() { return cpu; } 77 78 /** Reads this CPU's ID. */ 79 virtual int cpuId() { return cpu->cpuId(); } 80 81 virtual int contextId() { return thread->contextId(); } --- 213 unchanged lines hidden --- | 74 75 /** Returns a pointer to this CPU. */ 76 virtual BaseCPU *getCpuPtr() { return cpu; } 77 78 /** Reads this CPU's ID. */ 79 virtual int cpuId() { return cpu->cpuId(); } 80 81 virtual int contextId() { return thread->contextId(); } --- 213 unchanged lines hidden --- |