process.hh (5758:9c3edb28db1a) | process.hh (5958:2d9737bf3c2f) |
---|---|
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; --- 55 unchanged lines hidden (view full) --- 64 65 Addr readFillStart() 66 { return fillStart; } 67 68 Addr readSpillStart() 69 { return spillStart; } 70 71 virtual void flushWindows(ThreadContext *tc) = 0; | 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; --- 55 unchanged lines hidden (view full) --- 64 65 Addr readFillStart() 66 { return fillStart; } 67 68 Addr readSpillStart() 69 { return spillStart; } 70 71 virtual void flushWindows(ThreadContext *tc) = 0; |
72 void setSyscallReturn(ThreadContext *tc, SyscallReturn return_value); |
|
72}; 73 74class Sparc32LiveProcess : public SparcLiveProcess 75{ 76 protected: 77 78 Sparc32LiveProcess(LiveProcessParams * params, ObjectFile *objFile) : 79 SparcLiveProcess(params, objFile, 0) --- 8 unchanged lines hidden (view full) --- 88 89 void startup(); 90 91 public: 92 93 void argsInit(int intSize, int pageSize); 94 95 void flushWindows(ThreadContext *tc); | 73}; 74 75class Sparc32LiveProcess : public SparcLiveProcess 76{ 77 protected: 78 79 Sparc32LiveProcess(LiveProcessParams * params, ObjectFile *objFile) : 80 SparcLiveProcess(params, objFile, 0) --- 8 unchanged lines hidden (view full) --- 89 90 void startup(); 91 92 public: 93 94 void argsInit(int intSize, int pageSize); 95 96 void flushWindows(ThreadContext *tc); |
97 98 SparcISA::IntReg getSyscallArg(ThreadContext *tc, int i); 99 void setSyscallArg(ThreadContext *tc, int i, SparcISA::IntReg val); |
|
96}; 97 98class Sparc64LiveProcess : public SparcLiveProcess 99{ 100 protected: 101 102 Sparc64LiveProcess(LiveProcessParams * params, ObjectFile *objFile) : 103 SparcLiveProcess(params, objFile, 2047) --- 9 unchanged lines hidden (view full) --- 113 114 void startup(); 115 116 public: 117 118 void argsInit(int intSize, int pageSize); 119 120 void flushWindows(ThreadContext *tc); | 100}; 101 102class Sparc64LiveProcess : public SparcLiveProcess 103{ 104 protected: 105 106 Sparc64LiveProcess(LiveProcessParams * params, ObjectFile *objFile) : 107 SparcLiveProcess(params, objFile, 2047) --- 9 unchanged lines hidden (view full) --- 117 118 void startup(); 119 120 public: 121 122 void argsInit(int intSize, int pageSize); 123 124 void flushWindows(ThreadContext *tc); |
125 126 SparcISA::IntReg getSyscallArg(ThreadContext *tc, int i); 127 void setSyscallArg(ThreadContext *tc, int i, SparcISA::IntReg val); |
|
121}; 122 123#endif // __SPARC_PROCESS_HH__ | 128}; 129 130#endif // __SPARC_PROCESS_HH__ |