base.hh (10408:a59c189de383) base.hh (10529:05b5a6cf3521)
1/*
2 * Copyright (c) 2011-2012 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

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

457 thread->syscall(callnum);
458 }
459
460 bool misspeculating() { return thread->misspeculating(); }
461 ThreadContext *tcBase() { return tc; }
462
463 private:
464 TheISA::PCState pred_pc;
1/*
2 * Copyright (c) 2011-2012 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

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

457 thread->syscall(callnum);
458 }
459
460 bool misspeculating() { return thread->misspeculating(); }
461 ThreadContext *tcBase() { return tc; }
462
463 private:
464 TheISA::PCState pred_pc;
465
466 public:
467 // monitor/mwait funtions
468 void armMonitor(Addr address) { BaseCPU::armMonitor(address); }
469 bool mwait(PacketPtr pkt) { return BaseCPU::mwait(pkt); }
470 void mwaitAtomic(ThreadContext *tc)
471 { return BaseCPU::mwaitAtomic(tc, thread->dtb); }
472 AddressMonitor *getAddrMonitor() { return BaseCPU::getCpuAddrMonitor(); }
465};
466
467#endif // __CPU_SIMPLE_BASE_HH__
473};
474
475#endif // __CPU_SIMPLE_BASE_HH__