1/* 2 * Copyright (c) 2014-2016 Advanced Micro Devices, Inc. 3 * Copyright (c) 2001-2005 The Regents of The University of Michigan 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions are 8 * met: redistributions of source code must retain the above copyright --- 48 unchanged lines hidden (view full) --- 57class SyscallDesc; 58class SyscallReturn; 59class System; 60class ThreadContext; 61 62class Process : public SimObject 63{ 64 public: |
65 |
66 struct MemState 67 { 68 Addr brkPoint; 69 Addr stackBase; 70 unsigned stackSize; 71 Addr stackMin; 72 Addr nextThreadStackBase; 73 Addr mmapEnd; --- 118 unchanged lines hidden (view full) --- 192 bool map(Addr vaddr, Addr paddr, int size, bool cacheable = true); 193 194 void replicatePage(Addr vaddr, Addr new_paddr, ThreadContext *old_tc, 195 ThreadContext *new_tc, bool alloc_page); 196 197 void clone(ThreadContext *old_tc, ThreadContext *new_tc, Process *new_p, 198 TheISA::IntReg flags); 199 |
200 // thread contexts associated with this process 201 std::vector<ContextID> contextIds; 202 203 // system object which owns this process 204 System *system; 205 206 Stats::Scalar numSyscalls; // track how many system calls are executed 207 --- 46 unchanged lines hidden --- |