linux.hh (9146:a61fdbbc1d45) linux.hh (9238:9fa13250abd8)
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;

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

220 static int openSpecialFile(std::string path, LiveProcess *process, ThreadContext *tc);
221 static std::string procMeminfo(LiveProcess *process, ThreadContext *tc);
222
223 // For futex system call
224 static const unsigned TGT_FUTEX_WAIT = 0;
225 static const unsigned TGT_FUTEX_WAKE = 1;
226 static const unsigned TGT_EAGAIN = 11;
227 static const unsigned TGT_EWOULDBLOCK = TGT_EAGAIN;
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;

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

220 static int openSpecialFile(std::string path, LiveProcess *process, ThreadContext *tc);
221 static std::string procMeminfo(LiveProcess *process, ThreadContext *tc);
222
223 // For futex system call
224 static const unsigned TGT_FUTEX_WAIT = 0;
225 static const unsigned TGT_FUTEX_WAKE = 1;
226 static const unsigned TGT_EAGAIN = 11;
227 static const unsigned TGT_EWOULDBLOCK = TGT_EAGAIN;
228 static const unsigned TGT_FUTEX_PRIVATE_FLAG = 128;
228
229}; // class Linux
230
231#endif // __LINUX_HH__
229
230}; // class Linux
231
232#endif // __LINUX_HH__