33 #ifndef __ARCH_ARM_FREEBSD_FREEBSD_HH__ 34 #define __ARCH_ARM_FREEBSD_FREEBSD_HH__ 63 static const int TGT_O_RDONLY = 0x00000000;
65 static const int TGT_O_WRONLY = 0x00000001;
66 static const int TGT_O_RDWR = 0x00000002;
67 static const int TGT_O_CREAT = 0x00000200;
68 static const int TGT_O_EXCL = 0x00000800;
69 static const int TGT_O_NOCTTY = 0x00008000;
70 static const int TGT_O_TRUNC = 0x00000400;
71 static const int TGT_O_APPEND = 0x00000008;
72 static const int TGT_O_NONBLOCK = 0x00000004;
73 static const int TGT_O_SYNC = 0x00000080;
74 static const int TGT_FASYNC = 0x00000040;
75 static const int TGT_O_DIRECT = 0x00010000;
76 static const int TGT_O_DIRECTORY = 0x00020000;
77 static const int TGT_O_NOFOLLOW = 0x00000100;
78 static const int TGT_O_CLOEXEC = 0x00100000;
82 static const unsigned TGT_MAP_SHARED = 0x0001;
83 static const unsigned TGT_MAP_PRIVATE = 0x0002;
84 static const unsigned TGT_MAP_ANONYMOUS = 0x1000;
85 static const unsigned TGT_MAP_FIXED = 0x0010;
220 static const int TGT_O_RDONLY = 0x00000000;
222 static const int TGT_O_WRONLY = 0x00000001;
223 static const int TGT_O_RDWR = 0x00000002;
224 static const int TGT_O_CREAT = 0x00000200;
225 static const int TGT_O_EXCL = 0x00000800;
226 static const int TGT_O_NOCTTY = 0x00008000;
227 static const int TGT_O_TRUNC = 0x00000400;
228 static const int TGT_O_APPEND = 0x00000008;
229 static const int TGT_O_NONBLOCK = 0x00000004;
230 static const int TGT_O_SYNC = 0x00000080;
231 static const int TGT_FASYNC = 0x00000040;
232 static const int TGT_O_DIRECT = 0x00010000;
233 static const int TGT_O_DIRECTORY = 0x00020000;
234 static const int TGT_O_NOFOLLOW = 0x00000100;
235 static const int TGT_O_CLOEXEC = 0x00100000;
239 static const unsigned TGT_MAP_SHARED = 0x0001;
240 static const unsigned TGT_MAP_PRIVATE = 0x0002;
241 static const unsigned TGT_MAP_ANONYMOUS = 0x1000;
242 static const unsigned TGT_MAP_FIXED = 0x0010;
static const unsigned TGT_RLIMIT_NPTS
static const unsigned TGT_RLIMIT_CORE
static const unsigned TGT_RLIMIT_KQUEUES
int64_t ru_oublock
block output operations
int32_t ru_nvcsw
voluntary context switches
uint32_t rlim_cur
soft limit
uint64_t rlim_max
hard limit
rlimit_resources
Resource enumeration for getrlimit().
static const unsigned TGT_RLIMIT_MEMLOCK
int64_t ru_msgrcv
messages received
int32_t ru_nivcsw
involuntary "
int32_t ru_msgsnd
messages sent
int32_t tms_stime
system time
static const unsigned TGT_RLIMIT_DATA
int64_t ru_majflt
page faults
int32_t ru_minflt
page reclaims - total vmfaults
static const int TGT_RUSAGE_THREAD
int64_t ru_nvcsw
voluntary context switches
static const int NUM_OPEN_FLAGS
Number of entries in openFlagTable[].
static const unsigned TGT_RLIMIT_STACK
static const int NUM_OPEN_FLAGS
Number of entries in openFlagTable[].
int32_t ru_inblock
block input operations
static const unsigned TGT_RLIMIT_VMEM
int64_t ru_idrss
integral unshared data "
int32_t tms_utime
user time
int32_t ru_msgrcv
messages received
static const unsigned TGT_RLIMIT_FSIZE
int32_t tv_usec
microseconds
int64_t ru_minflt
page reclaims - total vmfaults
int32_t tms_cstime
system time of children
static const ByteOrder byteOrder
int64_t ru_inblock
block input operations
int32_t ru_idrss
integral unshared data "
static const unsigned TGT_RLIMIT_NPROC
int64_t tms_cutime
user time of children
void tgt_stat
Stat buffer.
static const unsigned TGT_RLIMIT_SBSIZE
int32_t tms_cutime
user time of children
Limit struct for getrlimit/setrlimit.
int32_t ru_isrss
integral unshared stack "
int64_t tms_stime
system time
int32_t ru_majflt
page faults
int64_t ru_nivcsw
involuntary "
int64_t tms_utime
user time
This struct is used to build target-OS-dependent tables that map the target's flags to the host's fla...
static const unsigned TGT_RLIMIT_NOFILE
static const int TGT_RUSAGE_CHILDREN
int64_t ru_msgsnd
messages sent
int64_t ru_isrss
integral unshared stack "
uint64_t size_t
Basic FreeBSD types.
int32_t ru_nsignals
signals received
uint32_t rlim_max
hard limit
static const unsigned TGT_RLIMIT_CPU
Resource constants for getrlimit().
int64_t tms_cstime
system time of children
Limit struct for getrlimit/setrlimit.
static const unsigned TGT_RLIMIT_SWAP
uint64_t rlim_cur
soft limit
int32_t ru_oublock
block output operations
static const int TGT_RUSAGE_SELF
For getrusage().
static const unsigned TGT_RLIMIT_RSS
int64_t ru_nsignals
signals received
int64_t tv_usec
microseconds
int64_t ru_ixrss
integral shared memory size
int32_t ru_ixrss
integral shared memory size
static const unsigned TGT_RLIMIT_AS