1/*
2 * Copyright (c) 2009-2010 ARM Limited
3 * All rights reserved.
4 *
5 * The license below extends only to copyright in the software and shall
6 * not be construed as granting a license to any other intellectual
7 * property including but not limited to intellectual property relating
8 * to a hardware implementation of the functionality of the software
--- 119 unchanged lines hidden (view full) ---
128void
129skipFunction(ThreadContext *tc)
130{
131 TheISA::PCState newPC = tc->pcState();
132 newPC.set(tc->readIntReg(ReturnAddressReg) & ~ULL(1));
133 tc->pcState(newPC);
134}
135
136
137}
2 * Copyright (c) 2009-2010 ARM Limited
3 * All rights reserved.
4 *
5 * The license below extends only to copyright in the software and shall
6 * not be construed as granting a license to any other intellectual
7 * property including but not limited to intellectual property relating
8 * to a hardware implementation of the functionality of the software
--- 119 unchanged lines hidden (view full) ---
128void
129skipFunction(ThreadContext *tc)
130{
131 TheISA::PCState newPC = tc->pcState();
132 newPC.set(tc->readIntReg(ReturnAddressReg) & ~ULL(1));
133 tc->pcState(newPC);
134}
135
136
137}