thread_context.hh (4997:e7380529bd2d) | thread_context.hh (5499:8bfc7650c344) |
---|---|
1/* 2 * Copyright (c) 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; --- 84 unchanged lines hidden (view full) --- 93 94 PhysicalMemory *getPhysMemPtr() { return actualTC->getPhysMemPtr(); } 95 96 TheISA::Kernel::Statistics *getKernelStats() 97 { return actualTC->getKernelStats(); } 98 99 FunctionalPort *getPhysPort() { return actualTC->getPhysPort(); } 100 | 1/* 2 * Copyright (c) 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; --- 84 unchanged lines hidden (view full) --- 93 94 PhysicalMemory *getPhysMemPtr() { return actualTC->getPhysMemPtr(); } 95 96 TheISA::Kernel::Statistics *getKernelStats() 97 { return actualTC->getKernelStats(); } 98 99 FunctionalPort *getPhysPort() { return actualTC->getPhysPort(); } 100 |
101 VirtualPort *getVirtPort(ThreadContext *tc = NULL) | 101 VirtualPort *getVirtPort() |
102 { return actualTC->getVirtPort(); } | 102 { return actualTC->getVirtPort(); } |
103 104 void delVirtPort(VirtualPort *vp) { actualTC->delVirtPort(vp); } | |
105#else 106 TranslatingPort *getMemPort() { return actualTC->getMemPort(); } 107 108 Process *getProcessPtr() { return actualTC->getProcessPtr(); } 109#endif 110 111 Status status() const { return actualTC->status(); } 112 --- 195 unchanged lines hidden --- | 103#else 104 TranslatingPort *getMemPort() { return actualTC->getMemPort(); } 105 106 Process *getProcessPtr() { return actualTC->getProcessPtr(); } 107#endif 108 109 Status status() const { return actualTC->status(); } 110 --- 195 unchanged lines hidden --- |