Deleted Added
sdiff udiff text old ( 7707:e5b6f1157be3 ) new ( 7720:65d338a8dba4 )
full compact
1/*
2 * Copyright (c) 2003-2005 The Regents of The University of Michigan
3 * Copyright (c) 2007 MIPS Technologies, Inc.
4 * All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions are
8 * met: redistributions of source code must retain the above copyright

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

34#ifndef __ARCH_MIPS_UTILITY_HH__
35#define __ARCH_MIPS_UTILITY_HH__
36#include "config/full_system.hh"
37#include "arch/mips/types.hh"
38#include "arch/mips/isa_traits.hh"
39#include "base/misc.hh"
40#include "base/types.hh"
41#include "config/full_system.hh"
42#include "cpu/thread_context.hh"
43
44class ThreadContext;
45
46namespace MipsISA {
47
48uint64_t getArgument(ThreadContext *tc, int &number, uint16_t size, bool fp);
49
50////////////////////////////////////////////////////////////////////////
51//
52// Floating Point Utility Functions
53//
54uint64_t fpConvert(ConvertType cvt_type, double fp_val);
55double roundFP(double val, int digits);

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

100//
101void startupCPU(ThreadContext *tc, int cpuId);
102
103void copyRegs(ThreadContext *src, ThreadContext *dest);
104void copyMiscRegs(ThreadContext *src, ThreadContext *dest);
105
106void skipFunction(ThreadContext *tc);
107
108};
109
110
111#endif