utility.hh (7627:3b0c4b819651) | utility.hh (7693:f1db1000d957) |
---|---|
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 --- 31 unchanged lines hidden (view full) --- 40#include "base/types.hh" 41#include "config/full_system.hh" 42#include "cpu/thread_context.hh" 43 44class ThreadContext; 45 46namespace MipsISA { 47 | 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 --- 31 unchanged lines hidden (view full) --- 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, bool fp); | 48uint64_t getArgument(ThreadContext *tc, int &number, uint8_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); 56double truncFP(double val); --- 41 unchanged lines hidden (view full) --- 98// 99// CPU Utility 100// 101void startupCPU(ThreadContext *tc, int cpuId); 102 103void copyRegs(ThreadContext *src, ThreadContext *dest); 104void copyMiscRegs(ThreadContext *src, ThreadContext *dest); 105 | 49 50//////////////////////////////////////////////////////////////////////// 51// 52// Floating Point Utility Functions 53// 54uint64_t fpConvert(ConvertType cvt_type, double fp_val); 55double roundFP(double val, int digits); 56double truncFP(double val); --- 41 unchanged lines hidden (view full) --- 98// 99// CPU Utility 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 |
|
106}; 107 108 109#endif | 108}; 109 110 111#endif |