process.hh (6399:bf122a97f88b) | process.hh (6658:f4de76601762) |
---|---|
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; --- 33 unchanged lines hidden (view full) --- 42#if !FULL_SYSTEM 43 44#include <string> 45#include <vector> 46 47#include "arch/registers.hh" 48#include "base/statistics.hh" 49#include "base/types.hh" | 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; --- 33 unchanged lines hidden (view full) --- 42#if !FULL_SYSTEM 43 44#include <string> 45#include <vector> 46 47#include "arch/registers.hh" 48#include "base/statistics.hh" 49#include "base/types.hh" |
50#include "config/the_isa.hh" |
|
50#include "sim/sim_object.hh" 51#include "sim/syscallreturn.hh" 52 | 51#include "sim/sim_object.hh" 52#include "sim/syscallreturn.hh" 53 |
54class BaseRemoteGDB; |
|
53class GDBListener; 54class PageTable; 55class ProcessParams; 56class LiveProcessParams; 57class SyscallDesc; 58class System; 59class ThreadContext; 60class TranslatingPort; | 55class GDBListener; 56class PageTable; 57class ProcessParams; 58class LiveProcessParams; 59class SyscallDesc; 60class System; 61class ThreadContext; 62class TranslatingPort; |
61namespace TheISA 62{ 63 class RemoteGDB; 64} | |
65 66template<class IntType> 67struct AuxVector 68{ 69 IntType a_type; 70 IntType a_val; 71 72 AuxVector() --- 16 unchanged lines hidden (view full) --- 89 bool initialContextLoaded; 90 91 bool checkpointRestored; 92 93 // thread contexts associated with this process 94 std::vector<int> contextIds; 95 96 // remote gdb objects | 63 64template<class IntType> 65struct AuxVector 66{ 67 IntType a_type; 68 IntType a_val; 69 70 AuxVector() --- 16 unchanged lines hidden (view full) --- 87 bool initialContextLoaded; 88 89 bool checkpointRestored; 90 91 // thread contexts associated with this process 92 std::vector<int> contextIds; 93 94 // remote gdb objects |
97 std::vector<TheISA::RemoteGDB *> remoteGDB; | 95 std::vector<BaseRemoteGDB *> remoteGDB; |
98 std::vector<GDBListener *> gdbListen; 99 bool breakpoint(); 100 101 // number of CPUs (esxec contexts, really) assigned to this process. 102 unsigned int numCpus() { return contextIds.size(); } 103 104 // record of blocked context 105 struct WaitRec --- 242 unchanged lines hidden --- | 96 std::vector<GDBListener *> gdbListen; 97 bool breakpoint(); 98 99 // number of CPUs (esxec contexts, really) assigned to this process. 100 unsigned int numCpus() { return contextIds.size(); } 101 102 // record of blocked context 103 struct WaitRec --- 242 unchanged lines hidden --- |