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

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

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;
229
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;

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

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;
229
230 // for *at syscalls
231 static const int TGT_AT_FDCWD = -100;
232
233 // for MREMAP
234 static const unsigned TGT_MREMAP_MAYMOVE = 0x1;
235 static const unsigned TGT_MREMAP_FIXED = 0x2;
230}; // class Linux
231
232#endif // __LINUX_HH__
236}; // class Linux
237
238#endif // __LINUX_HH__