1/* 2 * Copyright (c) 2004-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; --- 26 unchanged lines hidden (view full) --- 35 36#include <inttypes.h> 37 38#if FULL_SYSTEM 39 40class OperatingSystem {}; 41 42#else //!FULL_SYSTEM |
43#include <string> |
44 |
45class LiveProcess; 46class ThreadContext; 47 |
48/// This struct is used to build an target-OS-dependent table that 49/// maps the target's open() flags to the host open() flags. 50struct OpenFlagTransTable { 51 int tgtFlag; //!< Target system flag value. 52 int hostFlag; //!< Corresponding host system flag value. 53}; 54 55 --- 60 unchanged lines hidden (view full) --- 116 int64_t ru_oublock; //!< block output operations 117 int64_t ru_msgsnd; //!< messages sent 118 int64_t ru_msgrcv; //!< messages received 119 int64_t ru_nsignals; //!< signals received 120 int64_t ru_nvcsw; //!< voluntary context switches 121 int64_t ru_nivcsw; //!< involuntary " 122 } rusage; 123 |
124 static int openSpecialFile(std::string path, LiveProcess *process, ThreadContext *tc); 125 |
126}; // class OperatingSystem 127 128 129#endif // FULL_SYSTEM 130 131#endif // __OPERATINGSYSTEM_HH__ |