utility.hh (11168:f98eb2da15a4) | utility.hh (11800:54436a1784dc) |
---|---|
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 | 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 "arch/x86/regs/misc.hh" 44#include "arch/x86/types.hh" 45#include "base/misc.hh" 46#include "base/types.hh" | |
47#include "cpu/static_inst.hh" 48#include "cpu/thread_context.hh" 49#include "sim/full_system.hh" 50 | 43#include "cpu/static_inst.hh" 44#include "cpu/thread_context.hh" 45#include "sim/full_system.hh" 46 |
51class ThreadContext; 52 | |
53namespace X86ISA 54{ 55 56 inline PCState 57 buildRetPC(const PCState &curPC, const PCState &callPC) 58 { 59 PCState retPC = callPC; 60 retPC.uEnd(); --- 147 unchanged lines hidden --- | 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 --- |