Deleted Added
sdiff udiff text old ( 11097:da477ae38907 ) new ( 11148:1bc3d93c7eaa )
full compact
1/*
2 * Copyright (c) 2011,2013 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

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

858 { return thread->storeCondFailures; }
859
860 /** Sets the number of consecutive store conditional failures. */
861 void setStCondFailures(unsigned int sc_failures)
862 { thread->storeCondFailures = sc_failures; }
863
864 public:
865 // monitor/mwait funtions
866 void armMonitor(Addr address) { cpu->armMonitor(address); }
867 bool mwait(PacketPtr pkt) { return cpu->mwait(pkt); }
868 void mwaitAtomic(ThreadContext *tc)
869 { return cpu->mwaitAtomic(tc, cpu->dtb); }
870 AddressMonitor *getAddrMonitor() { return cpu->getCpuAddrMonitor(); }
871};
872
873template<class Impl>
874Fault
875BaseDynInst<Impl>::readMem(Addr addr, uint8_t *data,
876 unsigned size, unsigned flags)
877{
878 instFlags[ReqMade] = true;

--- 210 unchanged lines hidden ---