utility.cc (7629:0f0c231e3e97) utility.cc (7693:f1db1000d957)
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

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

47#include "arch/x86/regs/segment.hh"
48#include "arch/x86/utility.hh"
49#include "arch/x86/x86_traits.hh"
50#include "cpu/base.hh"
51#include "sim/system.hh"
52
53namespace X86ISA {
54
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

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

47#include "arch/x86/regs/segment.hh"
48#include "arch/x86/utility.hh"
49#include "arch/x86/x86_traits.hh"
50#include "cpu/base.hh"
51#include "sim/system.hh"
52
53namespace X86ISA {
54
55uint64_t getArgument(ThreadContext *tc, int number, bool fp) {
55uint64_t getArgument(ThreadContext *tc, int &number, uint8_t size, bool fp) {
56#if FULL_SYSTEM
57 panic("getArgument() not implemented for x86!\n");
58#else
59 panic("getArgument() only implemented for FULL_SYSTEM\n");
60 M5_DUMMY_RETURN
61#endif
62}
63

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

228 //copy int regs
229 //copy float regs
230 copyMiscRegs(src, dest);
231
232 dest->setPC(src->readPC());
233 dest->setNextPC(src->readNextPC());
234}
235
56#if FULL_SYSTEM
57 panic("getArgument() not implemented for x86!\n");
58#else
59 panic("getArgument() only implemented for FULL_SYSTEM\n");
60 M5_DUMMY_RETURN
61#endif
62}
63

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

228 //copy int regs
229 //copy float regs
230 copyMiscRegs(src, dest);
231
232 dest->setPC(src->readPC());
233 dest->setNextPC(src->readNextPC());
234}
235
236void
237skipFunction(ThreadContext *tc)
238{
239 panic("Not implemented for x86\n");
240}
241
242
236} //namespace X86_ISA
243} //namespace X86_ISA