process.hh (12431:000549e1f497) process.hh (13617:34a793c681ce)
1/*
2 * Copyright (c) 2007-2008 The Florida State University
3 * Copyright (c) 2009 The University of Edinburgh
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

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

45{
46 protected:
47 PowerProcess(ProcessParams * params, ObjectFile *objFile);
48
49 void initState();
50
51 public:
52 void argsInit(int intSize, int pageSize);
1/*
2 * Copyright (c) 2007-2008 The Florida State University
3 * Copyright (c) 2009 The University of Edinburgh
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

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

45{
46 protected:
47 PowerProcess(ProcessParams * params, ObjectFile *objFile);
48
49 void initState();
50
51 public:
52 void argsInit(int intSize, int pageSize);
53 PowerISA::IntReg getSyscallArg(ThreadContext *tc, int &i);
53 RegVal getSyscallArg(ThreadContext *tc, int &i);
54 /// Explicitly import the otherwise hidden getSyscallArg
55 using Process::getSyscallArg;
54 /// Explicitly import the otherwise hidden getSyscallArg
55 using Process::getSyscallArg;
56 void setSyscallArg(ThreadContext *tc, int i, PowerISA::IntReg val);
56 void setSyscallArg(ThreadContext *tc, int i, RegVal val);
57 void setSyscallReturn(ThreadContext *tc, SyscallReturn return_value);
58};
59
60#endif // __POWER_PROCESS_HH__
61
57 void setSyscallReturn(ThreadContext *tc, SyscallReturn return_value);
58};
59
60#endif // __POWER_PROCESS_HH__
61