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; --- 227 unchanged lines hidden (view full) --- 236 ThreadContext *tc); 237 static std::string procMeminfo(Process *process, ThreadContext *tc); 238 static std::string etcPasswd(Process *process, ThreadContext *tc); 239 static std::string cpuOnline(Process *process, ThreadContext *tc); 240 241 // For futex system call 242 static const unsigned TGT_FUTEX_WAIT = 0; 243 static const unsigned TGT_FUTEX_WAKE = 1; |
244 static const unsigned TGT_FUTEX_REQUEUE = 3; 245 static const unsigned TGT_FUTEX_CMP_REQUEUE = 4; |
246 static const unsigned TGT_FUTEX_WAIT_BITSET = 9; 247 static const unsigned TGT_FUTEX_WAKE_BITSET = 10; 248 static const unsigned TGT_EAGAIN = 11; 249 static const unsigned TGT_EWOULDBLOCK = TGT_EAGAIN; 250 static const unsigned TGT_FUTEX_PRIVATE_FLAG = 128; 251 static const unsigned TGT_FUTEX_CLOCK_REALTIME_FLAG = 256; 252 253 // for *at syscalls --- 39 unchanged lines hidden --- |