process.hh (10299:bec0c5ffc323) process.hh (10905:a6ca6831e775)
1/*
2 * Copyright (c) 2003-2004 The Regents of The University of Michigan
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;

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

37class AlphaLiveProcess : public LiveProcess
38{
39 private:
40 void setupASNReg();
41
42 protected:
43 AlphaLiveProcess(LiveProcessParams *params, ObjectFile *objFile);
44
1/*
2 * Copyright (c) 2003-2004 The Regents of The University of Michigan
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;

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

37class AlphaLiveProcess : public LiveProcess
38{
39 private:
40 void setupASNReg();
41
42 protected:
43 AlphaLiveProcess(LiveProcessParams *params, ObjectFile *objFile);
44
45 void loadState(Checkpoint *cp);
45 void loadState(CheckpointIn &cp) M5_ATTR_OVERRIDE;
46 void initState();
47
48 void argsInit(int intSize, int pageSize);
49
50 public:
51 AlphaISA::IntReg getSyscallArg(ThreadContext *tc, int &i);
52 /// Explicitly import the otherwise hidden getSyscallArg
53 using LiveProcess::getSyscallArg;
54 void setSyscallArg(ThreadContext *tc, int i, AlphaISA::IntReg val);
55 void setSyscallReturn(ThreadContext *tc, SyscallReturn return_value);
56};
57
58/* No architectural page table defined for this ISA */
59typedef NoArchPageTable ArchPageTable;
60
61#endif // __ARCH_ALPHA_PROCESS_HH__
46 void initState();
47
48 void argsInit(int intSize, int pageSize);
49
50 public:
51 AlphaISA::IntReg getSyscallArg(ThreadContext *tc, int &i);
52 /// Explicitly import the otherwise hidden getSyscallArg
53 using LiveProcess::getSyscallArg;
54 void setSyscallArg(ThreadContext *tc, int i, AlphaISA::IntReg val);
55 void setSyscallReturn(ThreadContext *tc, SyscallReturn return_value);
56};
57
58/* No architectural page table defined for this ISA */
59typedef NoArchPageTable ArchPageTable;
60
61#endif // __ARCH_ALPHA_PROCESS_HH__