process.hh (3114:7a4771b9b720) | process.hh (3311:7eb47a60dbd4) |
---|---|
1/* 2 * Copyright (c) 2001-2005 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; --- 148 unchanged lines hidden (view full) --- 157 158 // free target fd (e.g., after close) 159 void free_fd(int tgt_fd); 160 161 // look up simulator fd for given target fd 162 int sim_fd(int tgt_fd); 163 164 virtual void syscall(int64_t callnum, ThreadContext *tc) = 0; | 1/* 2 * Copyright (c) 2001-2005 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; --- 148 unchanged lines hidden (view full) --- 157 158 // free target fd (e.g., after close) 159 void free_fd(int tgt_fd); 160 161 // look up simulator fd for given target fd 162 int sim_fd(int tgt_fd); 163 164 virtual void syscall(int64_t callnum, ThreadContext *tc) = 0; |
165 166 void serialize(std::ostream &os); 167 void unserialize(Checkpoint *cp, const std::string §ion); |
|
165}; 166 167// 168// "Live" process with system calls redirected to host system 169// 170class ObjectFile; 171class LiveProcess : public Process 172{ --- 56 unchanged lines hidden --- | 168}; 169 170// 171// "Live" process with system calls redirected to host system 172// 173class ObjectFile; 174class LiveProcess : public Process 175{ --- 56 unchanged lines hidden --- |