operatingsystem.hh (11386:94c09b607a84) | operatingsystem.hh (11851:824055fe6b30) |
---|---|
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; --- 21 unchanged lines hidden (view full) --- 30 31#ifndef __KERN_OPERATINGSYSTEM_HH__ 32#define __KERN_OPERATINGSYSTEM_HH__ 33 34#include "base/types.hh" 35 36#include <string> 37 | 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; --- 21 unchanged lines hidden (view full) --- 30 31#ifndef __KERN_OPERATINGSYSTEM_HH__ 32#define __KERN_OPERATINGSYSTEM_HH__ 33 34#include "base/types.hh" 35 36#include <string> 37 |
38class LiveProcess; | 38class Process; |
39class ThreadContext; 40 41/// This struct is used to build target-OS-dependent tables that 42/// map the target's flags to the host's flags. 43struct SyscallFlagTransTable { 44 int tgtFlag; //!< Target system flag value. 45 int hostFlag; //!< Corresponding host system flag value. 46}; --- 62 unchanged lines hidden (view full) --- 109 int64_t ru_oublock; //!< block output operations 110 int64_t ru_msgsnd; //!< messages sent 111 int64_t ru_msgrcv; //!< messages received 112 int64_t ru_nsignals; //!< signals received 113 int64_t ru_nvcsw; //!< voluntary context switches 114 int64_t ru_nivcsw; //!< involuntary " 115 } rusage; 116 | 39class ThreadContext; 40 41/// This struct is used to build target-OS-dependent tables that 42/// map the target's flags to the host's flags. 43struct SyscallFlagTransTable { 44 int tgtFlag; //!< Target system flag value. 45 int hostFlag; //!< Corresponding host system flag value. 46}; --- 62 unchanged lines hidden (view full) --- 109 int64_t ru_oublock; //!< block output operations 110 int64_t ru_msgsnd; //!< messages sent 111 int64_t ru_msgrcv; //!< messages received 112 int64_t ru_nsignals; //!< signals received 113 int64_t ru_nvcsw; //!< voluntary context switches 114 int64_t ru_nivcsw; //!< involuntary " 115 } rusage; 116 |
117 static int openSpecialFile(std::string path, LiveProcess *process, ThreadContext *tc); | 117 static int openSpecialFile(std::string path, Process *process, 118 ThreadContext *tc); |
118 119}; // class OperatingSystem 120 121#endif // __OPERATINGSYSTEM_HH__ | 119 120}; // class OperatingSystem 121 122#endif // __OPERATINGSYSTEM_HH__ |