1/* 2 * Copyright (c) 2007 The Hewlett-Packard Development Company 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 --- 26 unchanged lines hidden (view full) --- 35 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 36 * 37 * Authors: Gabe Black 38 */ 39 40#ifndef __ARCH_X86_UTILITY_HH__ 41#define __ARCH_X86_UTILITY_HH__ 42 |
43#include "cpu/static_inst.hh" 44#include "cpu/thread_context.hh" 45#include "sim/full_system.hh" 46 |
47namespace X86ISA 48{ 49 50 inline PCState 51 buildRetPC(const PCState &curPC, const PCState &callPC) 52 { 53 PCState retPC = callPC; 54 retPC.uEnd(); --- 147 unchanged lines hidden --- |