process.hh (8766:b0773af78423) | process.hh (8795:0909f8ed7aa0) |
---|---|
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; --- 189 unchanged lines hidden (view full) --- 198 // find all offsets for currently open files and save them 199 void find_file_offsets(); 200 201 // set the source of this read pipe for a checkpoint resume 202 void setReadPipeSource(int read_pipe_fd, int source_fd); 203 204 virtual void syscall(int64_t callnum, ThreadContext *tc) = 0; 205 | 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; --- 189 unchanged lines hidden (view full) --- 198 // find all offsets for currently open files and save them 199 void find_file_offsets(); 200 201 // set the source of this read pipe for a checkpoint resume 202 void setReadPipeSource(int read_pipe_fd, int source_fd); 203 204 virtual void syscall(int64_t callnum, ThreadContext *tc) = 0; 205 |
206 void allocateMem(Addr vaddr, int64_t size, bool clobber = false); 207 |
|
206 /// Attempt to fix up a fault at vaddr by allocating a page on the stack. 207 /// @return Whether the fault has been fixed. 208 bool fixupStackFault(Addr vaddr); 209 210 void serialize(std::ostream &os); 211 void unserialize(Checkpoint *cp, const std::string §ion); 212}; 213 --- 98 unchanged lines hidden --- | 208 /// Attempt to fix up a fault at vaddr by allocating a page on the stack. 209 /// @return Whether the fault has been fixed. 210 bool fixupStackFault(Addr vaddr); 211 212 void serialize(std::ostream &os); 213 void unserialize(Checkpoint *cp, const std::string §ion); 214}; 215 --- 98 unchanged lines hidden --- |