linux.hh (9141:593fe25c86a6) linux.hh (9146:a61fdbbc1d45)
1/*
2 * Copyright (c) 2003-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;

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

162 uint32_t totalswap; /* Total swap space size */
163 uint32_t freeswap; /* swap space still available */
164 uint16_t procs; /* Number of current processes */
165 uint32_t totalhigh; /* Total high memory size */
166 uint32_t freehigh; /* Available high memory size */
167 uint32_t mem_unit; /* Memory unit size in bytes */
168 } tgt_sysinfo;
169
1/*
2 * Copyright (c) 2003-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;

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

162 uint32_t totalswap; /* Total swap space size */
163 uint32_t freeswap; /* swap space still available */
164 uint16_t procs; /* Number of current processes */
165 uint32_t totalhigh; /* Total high memory size */
166 uint32_t freehigh; /* Available high memory size */
167 uint32_t mem_unit; /* Memory unit size in bytes */
168 } tgt_sysinfo;
169
170 /// Resource constants for getrlimit() (overide some generics).
171 static const unsigned TGT_RLIMIT_NPROC = 7;
172 static const unsigned TGT_RLIMIT_NOFILE = 6;
170};
171
172#endif
173};
174
175#endif