linux.hh (8600:b0d7c64ada19) linux.hh (9112:6e854ea87bab)
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;

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

137 uint64_t bufferram; /* Memory used by buffers */
138 uint64_t totalswap; /* Total swap space size */
139 uint64_t freeswap; /* swap space still available */
140 uint16_t procs; /* Number of current processes */
141 uint64_t totalhigh; /* Total high memory size */
142 uint64_t freehigh; /* Available high memory size */
143 uint64_t mem_unit; /* Memory unit size in bytes */
144 } tgt_sysinfo;
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;

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

137 uint64_t bufferram; /* Memory used by buffers */
138 uint64_t totalswap; /* Total swap space size */
139 uint64_t freeswap; /* swap space still available */
140 uint16_t procs; /* Number of current processes */
141 uint64_t totalhigh; /* Total high memory size */
142 uint64_t freehigh; /* Available high memory size */
143 uint64_t mem_unit; /* Memory unit size in bytes */
144 } tgt_sysinfo;
145
146 // For futex system call
147 static const unsigned TGT_EAGAIN = 35;
148 static const unsigned TGT_EWOULDBLOCK = TGT_EAGAIN;
145};
146
147#endif // __ALPHA_ALPHA_LINUX_LINUX_HH__
149};
150
151#endif // __ALPHA_ALPHA_LINUX_LINUX_HH__