Deleted Added
sdiff udiff text old ( 3669:3607aaed36b6 ) new ( 3971:e935846cccfa )
full compact
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;

--- 37 unchanged lines hidden (view full) ---

46#include "base/statistics.hh"
47#include "sim/sim_object.hh"
48
49class ThreadContext;
50class SyscallDesc;
51class PageTable;
52class TranslatingPort;
53class System;
54
55void
56copyStringArray(std::vector<std::string> &strings, Addr array_ptr,
57 Addr data_ptr, TranslatingPort* memPort);
58
59class Process : public SimObject
60{
61 public:

--- 5 unchanged lines hidden (view full) ---

67 // have we initialized a thread context from this process? If
68 // yes, subsequent contexts are assumed to be for dynamically
69 // created threads and are not initialized.
70 bool initialContextLoaded;
71
72 // thread contexts associated with this process
73 std::vector<ThreadContext *> threadContexts;
74
75 // number of CPUs (esxec contexts, really) assigned to this process.
76 unsigned int numCpus() { return threadContexts.size(); }
77
78 // record of blocked context
79 struct WaitRec
80 {
81 Addr waitChan;
82 ThreadContext *waitingContext;

--- 166 unchanged lines hidden ---