Deleted Added
sdiff udiff text old ( 5543:3af77710f397 ) new ( 5795:72ce7502dc71 )
full compact
1/*
2 * Copyright (c) 2004-2009 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;
9 * redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the

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

34
35#if FULL_SYSTEM
36
37class Linux {};
38
39#else //!FULL_SYSTEM
40
41#include <inttypes.h>
42#include <string>
43
44#include "kern/operatingsystem.hh"
45
46class ThreadContext;
47class LiveProcess;
48
49///
50/// This class encapsulates the types, structures, constants,
51/// functions, and syscall-number mappings specific to the Alpha Linux
52/// syscall interface.
53///
54class Linux : public OperatingSystem
55{
56

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

157 int64_t ru_oublock; //!< block output operations
158 int64_t ru_msgsnd; //!< messages sent
159 int64_t ru_msgrcv; //!< messages received
160 int64_t ru_nsignals; //!< signals received
161 int64_t ru_nvcsw; //!< voluntary context switches
162 int64_t ru_nivcsw; //!< involuntary "
163 };
164
165 static int openSpecialFile(std::string path, LiveProcess *process, ThreadContext *tc);
166 static std::string procMeminfo(LiveProcess *process, ThreadContext *tc);
167
168}; // class Linux
169
170
171#endif // FULL_SYSTEM
172
173#endif // __LINUX_HH__