exec_context.hh (11005:e7f403b6b76f) | exec_context.hh (11148:1bc3d93c7eaa) |
---|---|
1/* 2 * Copyright (c) 2011-2014 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 --- 329 unchanged lines hidden (view full) --- 338 } else { /* Misc */ 339 return other_thread->setMiscReg(idx 340 - TheISA::Misc_Reg_Base, val); 341 } 342 } 343 344 public: 345 // monitor/mwait funtions | 1/* 2 * Copyright (c) 2011-2014 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 --- 329 unchanged lines hidden (view full) --- 338 } else { /* Misc */ 339 return other_thread->setMiscReg(idx 340 - TheISA::Misc_Reg_Base, val); 341 } 342 } 343 344 public: 345 // monitor/mwait funtions |
346 void armMonitor(Addr address) { getCpuPtr()->armMonitor(address); } 347 bool mwait(PacketPtr pkt) { return getCpuPtr()->mwait(pkt); } | 346 void armMonitor(Addr address) { getCpuPtr()->armMonitor(0, address); } 347 bool mwait(PacketPtr pkt) { return getCpuPtr()->mwait(0, pkt); } |
348 void mwaitAtomic(ThreadContext *tc) | 348 void mwaitAtomic(ThreadContext *tc) |
349 { return getCpuPtr()->mwaitAtomic(tc, thread.dtb); } | 349 { return getCpuPtr()->mwaitAtomic(0, tc, thread.dtb); } |
350 AddressMonitor *getAddrMonitor() | 350 AddressMonitor *getAddrMonitor() |
351 { return getCpuPtr()->getCpuAddrMonitor(); } | 351 { return getCpuPtr()->getCpuAddrMonitor(0); } |
352}; 353 354} 355 356#endif /* __CPU_MINOR_EXEC_CONTEXT_HH__ */ | 352}; 353 354} 355 356#endif /* __CPU_MINOR_EXEC_CONTEXT_HH__ */ |