process.hh (8325:76095b05f4da) | process.hh (8539:7d3ea3c65c66) |
---|---|
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; --- 198 unchanged lines hidden (view full) --- 207 // find all offsets for currently open files and save them 208 void find_file_offsets(); 209 210 // set the source of this read pipe for a checkpoint resume 211 void setReadPipeSource(int read_pipe_fd, int source_fd); 212 213 virtual void syscall(int64_t callnum, ThreadContext *tc) = 0; 214 | 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; --- 198 unchanged lines hidden (view full) --- 207 // find all offsets for currently open files and save them 208 void find_file_offsets(); 209 210 // set the source of this read pipe for a checkpoint resume 211 void setReadPipeSource(int read_pipe_fd, int source_fd); 212 213 virtual void syscall(int64_t callnum, ThreadContext *tc) = 0; 214 |
215 // check if the this addr is on the next available page and allocate it 216 // if it's not we'll panic 217 bool checkAndAllocNextPage(Addr vaddr); | 215 /// Attempt to fix up a fault at vaddr by allocating a page on the stack. 216 /// @return Whether the fault has been fixed. 217 bool fixupStackFault(Addr vaddr); |
218 219 void serialize(std::ostream &os); 220 void unserialize(Checkpoint *cp, const std::string §ion); 221}; 222 223// 224// "Live" process with system calls redirected to host system 225// --- 97 unchanged lines hidden --- | 218 219 void serialize(std::ostream &os); 220 void unserialize(Checkpoint *cp, const std::string §ion); 221}; 222 223// 224// "Live" process with system calls redirected to host system 225// --- 97 unchanged lines hidden --- |