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; --- 31 unchanged lines hidden (view full) --- 40#include "config/full_system.hh" 41 42#if !FULL_SYSTEM 43 44#include <string> 45#include <vector> 46 47#include "base/statistics.hh" |
48#include "sim/host.hh" 49#include "sim/sim_object.hh" 50 51class ThreadContext; 52class SyscallDesc; 53class PageTable; 54class TranslatingPort; 55class System; 56class GDBListener; 57namespace TheISA 58{ 59 class RemoteGDB; 60} 61 |
62class Process : public SimObject 63{ 64 public: 65 66 /// Pointer to object representing the system this process is 67 /// running on. 68 System *system; 69 --- 96 unchanged lines hidden (view full) --- 166 // free target fd (e.g., after close) 167 void free_fd(int tgt_fd); 168 169 // look up simulator fd for given target fd 170 int sim_fd(int tgt_fd); 171 172 virtual void syscall(int64_t callnum, ThreadContext *tc) = 0; 173 |
174 // check if the this addr is on the next available page and allocate it 175 // if it's not we'll panic 176 bool checkAndAllocNextPage(Addr vaddr); 177 |
178 void serialize(std::ostream &os); 179 void unserialize(Checkpoint *cp, const std::string §ion); 180}; 181 182// 183// "Live" process with system calls redirected to host system 184// 185class ObjectFile; --- 75 unchanged lines hidden --- |