gem5  v20.1.0.0
linux.hh
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2010, 2011-2012, 2015 ARM Limited
3  * All rights reserved
4  *
5  * The license below extends only to copyright in the software and shall
6  * not be construed as granting a license to any other intellectual
7  * property including but not limited to intellectual property relating
8  * to a hardware implementation of the functionality of the software
9  * licensed hereunder. You may use the software subject to the license
10  * terms below provided that you ensure that this notice is replicated
11  * unmodified and in its entirety in all distributions of the software,
12  * modified or unmodified, in source code or in binary form.
13  *
14  * Copyright (c) 2003-2005 The Regents of The University of Michigan
15  * Copyright (c) 2007-2008 The Florida State University
16  * All rights reserved.
17  *
18  * Redistribution and use in source and binary forms, with or without
19  * modification, are permitted provided that the following conditions are
20  * met: redistributions of source code must retain the above copyright
21  * notice, this list of conditions and the following disclaimer;
22  * redistributions in binary form must reproduce the above copyright
23  * notice, this list of conditions and the following disclaimer in the
24  * documentation and/or other materials provided with the distribution;
25  * neither the name of the copyright holders nor the names of its
26  * contributors may be used to endorse or promote products derived from
27  * this software without specific prior written permission.
28  *
29  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
30  * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
31  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
32  * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
33  * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
34  * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
35  * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
36  * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
37  * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
38  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
39  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
40  */
41 
42 #ifndef __ARCH_ARM_LINUX_LINUX_HH__
43 #define __ARCH_ARM_LINUX_LINUX_HH__
44 
45 #include "arch/arm/utility.hh"
46 #include "kern/linux/linux.hh"
47 
48 class ArmLinux : public Linux
49 {
50  public:
51  static const ByteOrder byteOrder = ByteOrder::little;
52 
53  static void
54  archClone(uint64_t flags,
55  Process *pp, Process *cp,
57  uint64_t stack, uint64_t tls)
58  {
59  ArmISA::copyRegs(ptc, ctc);
60 
61  if (flags & TGT_CLONE_SETTLS) {
62  /* TPIDR_EL0 is architecturally mapped to TPIDRURW, so
63  * this works for both aarch32 and aarch64. */
65  }
66  }
67 };
68 
69 class ArmLinux32 : public ArmLinux
70 {
71  public:
72 
73  static const int TGT_SIGHUP = 0x000001;
74  static const int TGT_SIGINT = 0x000002;
75  static const int TGT_SIGQUIT = 0x000003;
76  static const int TGT_SIGILL = 0x000004;
77  static const int TGT_SIGTRAP = 0x000005;
78  static const int TGT_SIGABRT = 0x000006;
79  static const int TGT_SIGIOT = 0x000006;
80  static const int TGT_SIGBUS = 0x000007;
81  static const int TGT_SIGFPE = 0x000008;
82  static const int TGT_SIGKILL = 0x000009;
83  static const int TGT_SIGUSR1 = 0x00000a;
84  static const int TGT_SIGSEGV = 0x00000b;
85  static const int TGT_SIGUSR2 = 0x00000c;
86  static const int TGT_SIGPIPE = 0x00000d;
87  static const int TGT_SIGALRM = 0x00000e;
88  static const int TGT_SIGTERM = 0x00000f;
89  static const int TGT_SIGSTKFLT = 0x000010;
90  static const int TGT_SIGCHLD = 0x000011;
91  static const int TGT_SIGCONT = 0x000012;
92  static const int TGT_SIGSTOP = 0x000013;
93  static const int TGT_SIGTSTP = 0x000014;
94  static const int TGT_SIGTTIN = 0x000015;
95  static const int TGT_SIGTTOU = 0x000016;
96  static const int TGT_SIGURG = 0x000017;
97  static const int TGT_SIGXCPU = 0x000018;
98  static const int TGT_SIGXFSZ = 0x000019;
99  static const int TGT_SIGVTALRM = 0x00001a;
100  static const int TGT_SIGPROF = 0x00001b;
101  static const int TGT_SIGWINCH = 0x00001c;
102  static const int TGT_SIGIO = 0x00001d;
103  static const int TGT_SIGPOLL = 0x00001d;
104  static const int TGT_SIGPWR = 0x00001e;
105  static const int TGT_SIGSYS = 0x00001f;
106  static const int TGT_SIGUNUSED = 0x00001f;
107 
111 
113  static const int NUM_OPEN_FLAGS;
114 
116  typedef uint32_t size_t;
118  typedef uint32_t off_t;
119  typedef int32_t time_t;
120  typedef int32_t clock_t;
122 
124  static const int TGT_O_RDONLY = 000000000;
126  static const int TGT_O_WRONLY = 000000001;
127  static const int TGT_O_RDWR = 000000002;
128  static const int TGT_O_CREAT = 000000100;
129  static const int TGT_O_EXCL = 000000200;
130  static const int TGT_O_NOCTTY = 000000400;
131  static const int TGT_O_TRUNC = 000001000;
132  static const int TGT_O_APPEND = 000002000;
133  static const int TGT_O_NONBLOCK = 000004000;
134  static const int TGT_O_DSYNC = 000010000;
135  static const int TGT_FASYNC = 000020000;
136  static const int TGT_O_DIRECT = 000200000;
137  static const int TGT_O_LARGEFILE = 000400000;
138  static const int TGT_O_DIRECTORY = 000040000;
139  static const int TGT_O_NOFOLLOW = 000100000;
140  static const int TGT_O_NOATIME = 001000000;
141  static const int TGT_O_CLOEXEC = 002000000;
142  static const int TGT_O_SYNC = 004010000;
143  static const int TGT_O_PATH = 010000000;
144 
145 
146  static const unsigned TGT_MAP_SHARED = 0x00001;
147  static const unsigned TGT_MAP_PRIVATE = 0x00002;
148  static const unsigned TGT_MAP_ANON = 0x00020;
149  static const unsigned TGT_MAP_DENYWRITE = 0x00800;
150  static const unsigned TGT_MAP_EXECUTABLE = 0x01000;
151  static const unsigned TGT_MAP_FILE = 0x00000;
152  static const unsigned TGT_MAP_GROWSDOWN = 0x00100;
153  static const unsigned TGT_MAP_HUGETLB = 0x40000;
154  static const unsigned TGT_MAP_LOCKED = 0x02000;
155  static const unsigned TGT_MAP_NONBLOCK = 0x10000;
156  static const unsigned TGT_MAP_NORESERVE = 0x04000;
157  static const unsigned TGT_MAP_POPULATE = 0x08000;
158  static const unsigned TGT_MAP_STACK = 0x20000;
159  static const unsigned TGT_MAP_ANONYMOUS = 0x00020;
160  static const unsigned TGT_MAP_FIXED = 0x00010;
161 
162  static const unsigned NUM_MMAP_FLAGS;
163 
165  static const int TBL_SYSINFO = 12;
166 
168  struct rlimit {
169  uint32_t rlim_cur;
170  uint32_t rlim_max;
171  };
172 
174  struct timeval {
175  int32_t tv_sec;
176  int32_t tv_usec;
177  };
178 
179  struct timespec {
180  int32_t tv_sec;
181  int32_t tv_nsec;
182  };
183 
184  // For writev/readv
185  struct tgt_iovec {
186  uint32_t iov_base; // void *
187  uint32_t iov_len;
188  };
189 
190 
191  typedef struct {
192  uint32_t st_dev;
193  uint32_t st_ino;
194  uint16_t st_mode;
195  uint16_t st_nlink;
196  uint16_t st_uid;
197  uint16_t st_gid;
198  uint32_t st_rdev;
199  uint32_t __pad1;
200  uint32_t st_size;
201  uint32_t st_blksize;
202  uint32_t __pad2;
203  uint32_t st_blocks;
204  uint32_t st_atimeX;
205  uint32_t st_atime_nsec;
206  uint32_t st_mtimeX;
207  uint32_t st_mtime_nsec;
208  uint32_t st_ctimeX;
209  uint32_t st_ctime_nsec;
210  } tgt_stat;
211 
212  typedef struct {
213  uint64_t st_dev;
214  uint8_t __pad0[4];
215  uint32_t __st_ino;
216  uint32_t st_mode;
217  uint32_t st_nlink;
218  uint32_t st_uid;
219  uint32_t st_gid;
220  uint64_t st_rdev;
221  uint8_t __pad3[4];
222  int64_t __attribute__ ((aligned (8))) st_size;
223  uint32_t st_blksize;
224  uint64_t __attribute__ ((aligned (8))) st_blocks;
225  uint32_t st_atimeX;
226  uint32_t st_atime_nsec;
227  uint32_t st_mtimeX;
228  uint32_t st_mtime_nsec;
229  uint32_t st_ctimeX;
230  uint32_t st_ctime_nsec;
231  uint64_t st_ino;
232  } tgt_stat64;
233 
234  typedef struct {
235  int32_t uptime; /* Seconds since boot */
236  uint32_t loads[3]; /* 1, 5, and 15 minute load averages */
237  uint32_t totalram; /* Total usable main memory size */
238  uint32_t freeram; /* Available memory size */
239  uint32_t sharedram; /* Amount of shared memory */
240  uint32_t bufferram; /* Memory used by buffers */
241  uint32_t totalswap; /* Total swap space size */
242  uint32_t freeswap; /* swap space still available */
243  uint16_t procs; /* Number of current processes */
244  uint32_t totalhigh; /* Total high memory size */
245  uint32_t freehigh; /* Available high memory size */
246  uint32_t mem_unit; /* Memory unit size in bytes */
247  } tgt_sysinfo;
248 
250  struct rusage {
251  struct timeval ru_utime;
252  struct timeval ru_stime;
253  int32_t ru_maxrss;
254  int32_t ru_ixrss;
255  int32_t ru_idrss;
256  int32_t ru_isrss;
257  int32_t ru_minflt;
258  int32_t ru_majflt;
259  int32_t ru_nswap;
260  int32_t ru_inblock;
261  int32_t ru_oublock;
262  int32_t ru_msgsnd;
263  int32_t ru_msgrcv;
264  int32_t ru_nsignals;
265  int32_t ru_nvcsw;
266  int32_t ru_nivcsw;
267  };
268 
270  struct tms {
271  int32_t tms_utime;
272  int32_t tms_stime;
273  int32_t tms_cutime;
274  int32_t tms_cstime;
275  };
276 
277  static void
278  archClone(uint64_t flags,
279  Process *pp, Process *cp,
281  uint64_t stack, uint64_t tls)
282  {
283  ArmLinux::archClone(flags, pp, cp, ptc, ctc, stack, tls);
284 
285  if (stack)
287  }
288 };
289 
290 class ArmLinux64 : public ArmLinux
291 {
292  public:
293 
294  static const int TGT_SIGHUP = 0x000001;
295  static const int TGT_SIGINT = 0x000002;
296  static const int TGT_SIGQUIT = 0x000003;
297  static const int TGT_SIGILL = 0x000004;
298  static const int TGT_SIGTRAP = 0x000005;
299  static const int TGT_SIGABRT = 0x000006;
300  static const int TGT_SIGIOT = 0x000006;
301  static const int TGT_SIGBUS = 0x000007;
302  static const int TGT_SIGFPE = 0x000008;
303  static const int TGT_SIGKILL = 0x000009;
304  static const int TGT_SIGUSR1 = 0x00000a;
305  static const int TGT_SIGSEGV = 0x00000b;
306  static const int TGT_SIGUSR2 = 0x00000c;
307  static const int TGT_SIGPIPE = 0x00000d;
308  static const int TGT_SIGALRM = 0x00000e;
309  static const int TGT_SIGTERM = 0x00000f;
310  static const int TGT_SIGSTKFLT = 0x000010;
311  static const int TGT_SIGCHLD = 0x000011;
312  static const int TGT_SIGCONT = 0x000012;
313  static const int TGT_SIGSTOP = 0x000013;
314  static const int TGT_SIGTSTP = 0x000014;
315  static const int TGT_SIGTTIN = 0x000015;
316  static const int TGT_SIGTTOU = 0x000016;
317  static const int TGT_SIGURG = 0x000017;
318  static const int TGT_SIGXCPU = 0x000018;
319  static const int TGT_SIGXFSZ = 0x000019;
320  static const int TGT_SIGVTALRM = 0x00001a;
321  static const int TGT_SIGPROF = 0x00001b;
322  static const int TGT_SIGWINCH = 0x00001c;
323  static const int TGT_SIGIO = 0x00001d;
324  static const int TGT_SIGPOLL = 0x00001d;
325  static const int TGT_SIGPWR = 0x00001e;
326  static const int TGT_SIGSYS = 0x00001f;
327  static const int TGT_SIGUNUSED = 0x00001f;
328 
332 
334  static const int NUM_OPEN_FLAGS;
335 
337  typedef uint64_t size_t;
339  typedef uint64_t off_t;
340  typedef int64_t time_t;
341  typedef int64_t clock_t;
343 
345  static const int TGT_O_RDONLY = 000000000;
347  static const int TGT_O_WRONLY = 000000001;
348  static const int TGT_O_RDWR = 000000002;
349  static const int TGT_O_CREAT = 000000100;
350  static const int TGT_O_EXCL = 000000200;
351  static const int TGT_O_NOCTTY = 000000400;
352  static const int TGT_O_TRUNC = 000001000;
353  static const int TGT_O_APPEND = 000002000;
354  static const int TGT_O_NONBLOCK = 000004000;
355  static const int TGT_O_DSYNC = 000010000;
356  static const int TGT_FASYNC = 000020000;
357  static const int TGT_O_DIRECT = 000200000;
358  static const int TGT_O_LARGEFILE = 000400000;
359  static const int TGT_O_DIRECTORY = 000040000;
360  static const int TGT_O_NOFOLLOW = 000100000;
361  static const int TGT_O_NOATIME = 001000000;
362  static const int TGT_O_CLOEXEC = 002000000;
363  static const int TGT_O_SYNC = 004010000;
364  static const int TGT_O_PATH = 010000000;
365 
366 
368  static SyscallFlagTransTable mmapFlagTable[];
369 
370  static const unsigned TGT_MAP_SHARED = 0x00001;
371  static const unsigned TGT_MAP_PRIVATE = 0x00002;
372  static const unsigned TGT_MAP_ANON = 0x00020;
373  static const unsigned TGT_MAP_DENYWRITE = 0x00800;
374  static const unsigned TGT_MAP_EXECUTABLE = 0x01000;
375  static const unsigned TGT_MAP_FILE = 0x00000;
376  static const unsigned TGT_MAP_GROWSDOWN = 0x00100;
377  static const unsigned TGT_MAP_HUGETLB = 0x40000;
378  static const unsigned TGT_MAP_LOCKED = 0x02000;
379  static const unsigned TGT_MAP_NONBLOCK = 0x10000;
380  static const unsigned TGT_MAP_NORESERVE = 0x04000;
381  static const unsigned TGT_MAP_POPULATE = 0x08000;
382  static const unsigned TGT_MAP_STACK = 0x20000;
383  static const unsigned TGT_MAP_ANONYMOUS = 0x00020;
384  static const unsigned TGT_MAP_FIXED = 0x00010;
385 
386  static const unsigned NUM_MMAP_FLAGS;
387 
389  static const int TGT_RUSAGE_SELF = 0;
391  static const int TGT_RUSAGE_CHILDREN = -1;
392  static const int TGT_RUSAGE_BOTH = -2;
394 
396  static const unsigned TIOCGETP_ = 0x5401;
398  static const unsigned TIOCSETP_ = 0x80067409;
399  static const unsigned TIOCSETN_ = 0x8006740a;
400  static const unsigned TIOCSETC_ = 0x80067411;
401  static const unsigned TIOCGETC_ = 0x40067412;
402  static const unsigned FIONREAD_ = 0x4004667f;
403  static const unsigned TIOCISATTY_ = 0x2000745e;
404  static const unsigned TIOCGETS_ = 0x402c7413;
405  static const unsigned TIOCGETA_ = 0x5405;
406  static const unsigned TCSETAW_ = 0x5407; // 2.6.15 kernel
408 
410  static const int TBL_SYSINFO = 12;
411 
425  };
426 
428  struct rlimit {
429  uint64_t rlim_cur;
430  uint64_t rlim_max;
431  };
432 
434  struct timeval {
435  int64_t tv_sec;
436  int64_t tv_usec;
437  };
438 
439  struct timespec {
440  int64_t tv_sec;
441  int64_t tv_nsec;
442  };
443 
444  // For writev/readv
445  struct tgt_iovec {
446  uint64_t iov_base; // void *
447  uint64_t iov_len;
448  };
449 
450  typedef struct {
451  uint64_t st_dev;
452  uint64_t st_ino;
453  uint64_t st_nlink;
454  uint32_t st_mode;
455  uint32_t st_uid;
456  uint32_t st_gid;
457  uint32_t __pad0;
458  uint64_t st_rdev;
459  uint64_t st_size;
460  uint64_t st_blksize;
461  uint64_t st_blocks;
462  uint64_t st_atimeX;
463  uint64_t st_atime_nsec;
464  uint64_t st_mtimeX;
465  uint64_t st_mtime_nsec;
466  uint64_t st_ctimeX;
467  uint64_t st_ctime_nsec;
468  } tgt_stat;
469 
470  typedef struct {
471  uint64_t st_dev;
472  uint64_t st_ino;
473  uint32_t st_mode;
474  uint32_t st_nlink;
475  uint32_t st_uid;
476  uint32_t st_gid;
477  uint32_t __pad0;
478  uint64_t st_rdev;
479  uint64_t st_size;
480  uint64_t st_blksize;
481  uint64_t st_blocks;
482  uint64_t st_atimeX;
483  uint64_t st_atime_nsec;
484  uint64_t st_mtimeX;
485  uint64_t st_mtime_nsec;
486  uint64_t st_ctimeX;
487  uint64_t st_ctime_nsec;
488  } tgt_stat64;
489 
490  typedef struct {
491  int64_t uptime; /* Seconds since boot */
492  uint64_t loads[3]; /* 1, 5, and 15 minute load averages */
493  uint64_t totalram; /* Total usable main memory size */
494  uint64_t freeram; /* Available memory size */
495  uint64_t sharedram; /* Amount of shared memory */
496  uint64_t bufferram; /* Memory used by buffers */
497  uint64_t totalswap; /* Total swap space size */
498  uint64_t freeswap; /* swap space still available */
499  uint16_t procs; /* Number of current processes */
500  uint16_t pad;
501  uint64_t totalhigh; /* Total high memory size */
502  uint64_t freehigh; /* Available high memory size */
503  uint32_t mem_unit; /* Memory unit size in bytes */
504  } tgt_sysinfo;
505 
507  struct rusage {
508  struct timeval ru_utime;
509  struct timeval ru_stime;
510  int64_t ru_maxrss;
511  int64_t ru_ixrss;
512  int64_t ru_idrss;
513  int64_t ru_isrss;
514  int64_t ru_minflt;
515  int64_t ru_majflt;
516  int64_t ru_nswap;
517  int64_t ru_inblock;
518  int64_t ru_oublock;
519  int64_t ru_msgsnd;
520  int64_t ru_msgrcv;
521  int64_t ru_nsignals;
522  int64_t ru_nvcsw;
523  int64_t ru_nivcsw;
524  };
525 
527  struct tms {
528  int64_t tms_utime;
529  int64_t tms_stime;
530  int64_t tms_cutime;
531  int64_t tms_cstime;
532  };
533 
534  static void archClone(uint64_t flags,
535  Process *pp, Process *cp,
537  uint64_t stack, uint64_t tls)
538  {
539  ArmLinux::archClone(flags, pp, cp, ptc, ctc, stack, tls);
540 
541  if (stack)
543  }
544 };
545 
546 #endif
ArmLinux32::tgt_stat64::st_rdev
uint64_t st_rdev
Definition: linux.hh:220
ArmLinux64::rlimit_resources
rlimit_resources
Resource enumeration for getrlimit().
Definition: linux.hh:413
ArmLinux32::TGT_MAP_FIXED
static const unsigned TGT_MAP_FIXED
Definition: linux.hh:160
ArmLinux32::tgt_stat::st_mtime_nsec
uint32_t st_mtime_nsec
Definition: linux.hh:207
ArmLinux64::timespec
Definition: linux.hh:439
ArmLinux32::TGT_SIGURG
static const int TGT_SIGURG
Definition: linux.hh:96
ArmLinux32::rusage::ru_nswap
int32_t ru_nswap
swaps
Definition: linux.hh:259
ArmLinux32::rusage::ru_majflt
int32_t ru_majflt
page faults
Definition: linux.hh:258
ArmISA::copyRegs
void copyRegs(ThreadContext *src, ThreadContext *dest)
Definition: utility.cc:136
ArmLinux64::tgt_stat::st_rdev
uint64_t st_rdev
Definition: linux.hh:458
ArmLinux32::TGT_O_EXCL
static const int TGT_O_EXCL
O_EXCL.
Definition: linux.hh:129
Linux::TGT_RLIMIT_RSS
static const unsigned TGT_RLIMIT_RSS
Definition: linux.hh:196
ArmLinux64::tgt_stat64::st_mtime_nsec
uint64_t st_mtime_nsec
Definition: linux.hh:485
ArmLinux64::tgt_iovec::iov_len
uint64_t iov_len
Definition: linux.hh:447
ArmLinux32::TGT_SIGTSTP
static const int TGT_SIGTSTP
Definition: linux.hh:93
ArmLinux32::tgt_stat::st_size
uint32_t st_size
Definition: linux.hh:200
ArmLinux::byteOrder
static const ByteOrder byteOrder
Definition: linux.hh:51
ArmLinux32::TGT_O_DSYNC
static const int TGT_O_DSYNC
O_DSYNC.
Definition: linux.hh:134
ArmLinux64::timespec::tv_nsec
int64_t tv_nsec
nanoseconds
Definition: linux.hh:441
ArmLinux32::tgt_stat::st_atime_nsec
uint32_t st_atime_nsec
Definition: linux.hh:205
ArmLinux32::TGT_O_CLOEXEC
static const int TGT_O_CLOEXEC
O_NOATIME.
Definition: linux.hh:141
ArmLinux32::rusage::ru_maxrss
int32_t ru_maxrss
max rss
Definition: linux.hh:253
ArmLinux32::timespec::tv_nsec
int32_t tv_nsec
nanoseconds
Definition: linux.hh:181
linux.hh
ArmLinux64::tgt_sysinfo::sharedram
uint64_t sharedram
Definition: linux.hh:495
ArmLinux32::TGT_SIGIO
static const int TGT_SIGIO
Definition: linux.hh:102
ArmLinux32::rusage::ru_nsignals
int32_t ru_nsignals
signals received
Definition: linux.hh:264
ArmLinux32::TGT_SIGPWR
static const int TGT_SIGPWR
Definition: linux.hh:104
ArmLinux32::TGT_SIGSYS
static const int TGT_SIGSYS
Definition: linux.hh:105
ArmLinux32::rusage::ru_nivcsw
int32_t ru_nivcsw
involuntary "
Definition: linux.hh:266
ArmLinux64::rusage
For getrusage().
Definition: linux.hh:507
ArmLinux32::openFlagTable
static SyscallFlagTransTable openFlagTable[]
This table maps the target open() flags to the corresponding host open() flags.
Definition: linux.hh:110
Linux::TGT_RLIMIT_MEMLOCK
static const unsigned TGT_RLIMIT_MEMLOCK
Definition: linux.hh:199
ArmLinux64::rusage::ru_oublock
int64_t ru_oublock
block output operations
Definition: linux.hh:518
ArmLinux32::TGT_SIGIOT
static const int TGT_SIGIOT
Definition: linux.hh:79
ArmLinux32::TGT_O_RDWR
static const int TGT_O_RDWR
O_RDWR.
Definition: linux.hh:127
ArmLinux32::rusage::ru_idrss
int32_t ru_idrss
integral unshared data "
Definition: linux.hh:255
ArmLinux64::rusage::ru_majflt
int64_t ru_majflt
page faults
Definition: linux.hh:515
ArmLinux32::tgt_sysinfo::freehigh
uint32_t freehigh
Definition: linux.hh:245
Linux::TGT_RUSAGE_CHILDREN
static const int TGT_RUSAGE_CHILDREN
Definition: linux.hh:211
Linux::TGT_RLIMIT_AS
static const unsigned TGT_RLIMIT_AS
Definition: linux.hh:200
ArmLinux32::tgt_iovec::iov_len
uint32_t iov_len
Definition: linux.hh:187
ArmLinux32::rusage::ru_msgsnd
int32_t ru_msgsnd
messages sent
Definition: linux.hh:262
ArmLinux64::rlimit::rlim_max
uint64_t rlim_max
hard limit
Definition: linux.hh:430
ArmLinux32::tgt_stat::__pad1
uint32_t __pad1
Definition: linux.hh:199
Process
Definition: process.hh:65
ArmLinux::archClone
static void archClone(uint64_t flags, Process *pp, Process *cp, ThreadContext *ptc, ThreadContext *ctc, uint64_t stack, uint64_t tls)
Definition: linux.hh:54
ArmLinux32::TGT_SIGSTOP
static const int TGT_SIGSTOP
Definition: linux.hh:92
ArmLinux64::tgt_iovec
Definition: linux.hh:445
ArmLinux32::TGT_SIGTRAP
static const int TGT_SIGTRAP
Definition: linux.hh:77
ArmLinux32::TGT_MAP_LOCKED
static const unsigned TGT_MAP_LOCKED
Definition: linux.hh:154
ArmLinux32::TGT_SIGQUIT
static const int TGT_SIGQUIT
Definition: linux.hh:75
ArmLinux32::TGT_MAP_STACK
static const unsigned TGT_MAP_STACK
Definition: linux.hh:158
ArmLinux64::tms::tms_cstime
int64_t tms_cstime
system time of children
Definition: linux.hh:531
ArmLinux64::tgt_stat64::st_blocks
uint64_t st_blocks
Definition: linux.hh:481
ArmLinux64::rusage::ru_idrss
int64_t ru_idrss
integral unshared data "
Definition: linux.hh:512
ArmLinux64::tgt_stat64::st_mtimeX
uint64_t st_mtimeX
Definition: linux.hh:484
ArmLinux32::TGT_SIGFPE
static const int TGT_SIGFPE
Definition: linux.hh:81
ArmLinux64::tgt_stat::st_dev
uint64_t st_dev
Definition: linux.hh:451
ArmLinux32::tgt_sysinfo::uptime
int32_t uptime
Definition: linux.hh:235
ArmLinux64::rlimit::rlim_cur
uint64_t rlim_cur
soft limit
Definition: linux.hh:429
ArmLinux64::tgt_sysinfo::freeswap
uint64_t freeswap
Definition: linux.hh:498
ArmLinux32::tgt_stat::st_blksize
uint32_t st_blksize
Definition: linux.hh:201
ArmLinux32::TGT_SIGILL
static const int TGT_SIGILL
Definition: linux.hh:76
ArmLinux64::tgt_stat64::st_blksize
uint64_t st_blksize
Definition: linux.hh:480
ArmLinux32::tgt_stat64::st_dev
uint64_t st_dev
Definition: linux.hh:213
ArmLinux32::rusage::ru_oublock
int32_t ru_oublock
block output operations
Definition: linux.hh:261
ThreadContext::setIntReg
virtual void setIntReg(RegIndex reg_idx, RegVal val)=0
ArmLinux32::tgt_iovec
Definition: linux.hh:185
ArmISA::MISCREG_TPIDR_EL0
@ MISCREG_TPIDR_EL0
Definition: miscregs.hh:740
ArmLinux64::tgt_sysinfo::pad
uint16_t pad
Definition: linux.hh:500
Linux::TGT_RLIMIT_NOFILE
static const unsigned TGT_RLIMIT_NOFILE
Definition: linux.hh:198
ArmLinux32::tgt_sysinfo::freeram
uint32_t freeram
Definition: linux.hh:238
ArmLinux32::tgt_sysinfo::freeswap
uint32_t freeswap
Definition: linux.hh:242
ArmLinux64::tms::tms_cutime
int64_t tms_cutime
user time of children
Definition: linux.hh:530
ArmLinux32::tgt_stat::st_ctime_nsec
uint32_t st_ctime_nsec
Definition: linux.hh:209
ArmLinux64::tgt_stat64::st_nlink
uint32_t st_nlink
Definition: linux.hh:474
ArmLinux32::tgt_stat::st_mtimeX
uint32_t st_mtimeX
Definition: linux.hh:206
ArmLinux64::tgt_stat64::st_ctimeX
uint64_t st_ctimeX
Definition: linux.hh:486
ArmLinux32::TGT_O_NOATIME
static const int TGT_O_NOATIME
O_NOATIME.
Definition: linux.hh:140
ArmLinux32::TGT_O_NOCTTY
static const int TGT_O_NOCTTY
O_NOCTTY.
Definition: linux.hh:130
ArmLinux32::TGT_SIGINT
static const int TGT_SIGINT
Definition: linux.hh:74
OperatingSystem::tgt_stat64
void tgt_stat64
Definition: operatingsystem.hh:62
ArmLinux32::TGT_SIGTTIN
static const int TGT_SIGTTIN
Definition: linux.hh:94
ArmLinux64::rusage::ru_nivcsw
int64_t ru_nivcsw
involuntary "
Definition: linux.hh:523
ArmLinux32::TGT_SIGKILL
static const int TGT_SIGKILL
Definition: linux.hh:82
ArmLinux32::rusage
For getrusage().
Definition: linux.hh:250
ArmLinux32::tgt_stat64::st_nlink
uint32_t st_nlink
Definition: linux.hh:217
ArmLinux64::tgt_stat64::st_ino
uint64_t st_ino
Definition: linux.hh:472
ArmLinux32::TGT_SIGCHLD
static const int TGT_SIGCHLD
Definition: linux.hh:90
ArmLinux64::tgt_stat::st_uid
uint32_t st_uid
Definition: linux.hh:455
ArmLinux32::tgt_stat::st_rdev
uint32_t st_rdev
Definition: linux.hh:198
ArmLinux32::tgt_stat::st_dev
uint32_t st_dev
Definition: linux.hh:192
ArmLinux32::TGT_SIGUNUSED
static const int TGT_SIGUNUSED
Definition: linux.hh:106
ArmLinux32::TGT_O_DIRECT
static const int TGT_O_DIRECT
O_DIRECT.
Definition: linux.hh:136
ArmLinux64::tgt_sysinfo::procs
uint16_t procs
Definition: linux.hh:499
ArmLinux64::rusage::ru_nswap
int64_t ru_nswap
swaps
Definition: linux.hh:516
ArmLinux32::TGT_O_DIRECTORY
static const int TGT_O_DIRECTORY
O_DIRECTORY.
Definition: linux.hh:138
Linux::TGT_RLIMIT_DATA
static const unsigned TGT_RLIMIT_DATA
Definition: linux.hh:193
ArmISA::INTREG_SP
@ INTREG_SP
Definition: intregs.hh:68
ArmLinux64::tgt_sysinfo::freehigh
uint64_t freehigh
Definition: linux.hh:502
X86ISA::stack
Bitfield< 17, 16 > stack
Definition: misc.hh:587
ArmLinux32::TGT_O_TRUNC
static const int TGT_O_TRUNC
O_TRUNC.
Definition: linux.hh:131
ArmLinux32::TGT_O_NONBLOCK
static const int TGT_O_NONBLOCK
O_NONBLOCK.
Definition: linux.hh:133
ArmLinux64::tgt_stat::st_atimeX
uint64_t st_atimeX
Definition: linux.hh:462
ArmLinux32::tgt_sysinfo::mem_unit
uint32_t mem_unit
Definition: linux.hh:246
ArmLinux32::rlimit
Limit struct for getrlimit/setrlimit.
Definition: linux.hh:168
ArmLinux32::TBL_SYSINFO
static const int TBL_SYSINFO
For table().
Definition: linux.hh:165
ArmLinux64::tgt_sysinfo::totalhigh
uint64_t totalhigh
Definition: linux.hh:501
ArmLinux32::TGT_SIGPIPE
static const int TGT_SIGPIPE
Definition: linux.hh:86
ArmLinux
Definition: linux.hh:48
ArmLinux32::TGT_SIGHUP
static const int TGT_SIGHUP
Definition: linux.hh:73
ArmLinux32::TGT_MAP_PRIVATE
static const unsigned TGT_MAP_PRIVATE
Definition: linux.hh:147
Linux::TGT_CLONE_SETTLS
static const unsigned TGT_CLONE_SETTLS
Definition: linux.hh:289
ArmLinux32::tgt_stat::st_blocks
uint32_t st_blocks
Definition: linux.hh:203
ArmLinux32::TGT_MAP_SHARED
static const unsigned TGT_MAP_SHARED
Definition: linux.hh:146
ArmLinux32::TGT_SIGUSR1
static const int TGT_SIGUSR1
Definition: linux.hh:83
Linux::TGT_RLIMIT_CORE
static const unsigned TGT_RLIMIT_CORE
Definition: linux.hh:195
ArmLinux64::tgt_stat64::st_mode
uint32_t st_mode
Definition: linux.hh:473
ArmLinux64::tgt_stat::st_ctime_nsec
uint64_t st_ctime_nsec
Definition: linux.hh:467
ArmLinux64::tgt_stat64::st_atimeX
uint64_t st_atimeX
Definition: linux.hh:482
ArmLinux32::tgt_sysinfo::procs
uint16_t procs
Definition: linux.hh:243
ArmLinux32::timeval::tv_sec
int32_t tv_sec
seconds
Definition: linux.hh:175
cp
Definition: cprintf.cc:40
ArmLinux32::TGT_SIGCONT
static const int TGT_SIGCONT
Definition: linux.hh:91
ArmLinux32::TGT_SIGTERM
static const int TGT_SIGTERM
Definition: linux.hh:88
ArmLinux32::tgt_sysinfo::totalswap
uint32_t totalswap
Definition: linux.hh:241
ArmLinux64::rusage::ru_inblock
int64_t ru_inblock
block input operations
Definition: linux.hh:517
ArmLinux64::tgt_stat::st_gid
uint32_t st_gid
Definition: linux.hh:456
Linux::TGT_RLIMIT_STACK
static const unsigned TGT_RLIMIT_STACK
Definition: linux.hh:194
ThreadContext
ThreadContext is the external interface to all thread state for anything outside of the CPU.
Definition: thread_context.hh:88
ArmLinux64::tgt_stat64::st_dev
uint64_t st_dev
Definition: linux.hh:471
ArmLinux32::TGT_MAP_NORESERVE
static const unsigned TGT_MAP_NORESERVE
Definition: linux.hh:156
ArmLinux32::rusage::ru_utime
struct timeval ru_utime
user time used
Definition: linux.hh:251
ArmLinux32::TGT_SIGSEGV
static const int TGT_SIGSEGV
Definition: linux.hh:84
ArmLinux32::TGT_SIGVTALRM
static const int TGT_SIGVTALRM
Definition: linux.hh:99
ArmLinux32::TGT_FASYNC
static const int TGT_FASYNC
FASYNC.
Definition: linux.hh:135
ArmLinux32::TGT_SIGXFSZ
static const int TGT_SIGXFSZ
Definition: linux.hh:98
ArmLinux32::TGT_SIGUSR2
static const int TGT_SIGUSR2
Definition: linux.hh:85
ArmLinux32::NUM_OPEN_FLAGS
static const int NUM_OPEN_FLAGS
Number of entries in openFlagTable[].
Definition: linux.hh:113
ArmLinux32::tgt_sysinfo::bufferram
uint32_t bufferram
Definition: linux.hh:240
ArmLinux64::archClone
static void archClone(uint64_t flags, Process *pp, Process *cp, ThreadContext *ptc, ThreadContext *ctc, uint64_t stack, uint64_t tls)
Definition: linux.hh:534
ArmLinux32::tgt_stat::st_ctimeX
uint32_t st_ctimeX
Definition: linux.hh:208
ArmLinux64::rusage::ru_ixrss
int64_t ru_ixrss
integral shared memory size
Definition: linux.hh:511
ArmLinux32::rlimit::rlim_max
uint32_t rlim_max
hard limit
Definition: linux.hh:170
ArmLinux32::TGT_MAP_NONBLOCK
static const unsigned TGT_MAP_NONBLOCK
Definition: linux.hh:155
ArmLinux32::tgt_stat::__pad2
uint32_t __pad2
Definition: linux.hh:202
ArmLinux64::tgt_stat::st_atime_nsec
uint64_t st_atime_nsec
Definition: linux.hh:463
ArmLinux64::tgt_sysinfo
Definition: linux.hh:490
ArmLinux64::tgt_stat::st_mtime_nsec
uint64_t st_mtime_nsec
Definition: linux.hh:465
ArmLinux32::tms::tms_cutime
int32_t tms_cutime
user time of children
Definition: linux.hh:273
ArmLinux32
Definition: linux.hh:69
ArmLinux32::tgt_stat::st_uid
uint16_t st_uid
Definition: linux.hh:196
ArmLinux32::TGT_O_LARGEFILE
static const int TGT_O_LARGEFILE
O_LARGEFILE.
Definition: linux.hh:137
ArmLinux64::tgt_stat64::st_atime_nsec
uint64_t st_atime_nsec
Definition: linux.hh:483
ArmLinux64::rusage::ru_nsignals
int64_t ru_nsignals
signals received
Definition: linux.hh:521
ArmLinux32::TGT_MAP_ANONYMOUS
static const unsigned TGT_MAP_ANONYMOUS
Definition: linux.hh:159
ArmLinux32::TGT_SIGSTKFLT
static const int TGT_SIGSTKFLT
Definition: linux.hh:89
ArmLinux64::rusage::ru_maxrss
int64_t ru_maxrss
max rss
Definition: linux.hh:510
ArmISA::INTREG_SP0
@ INTREG_SP0
Definition: intregs.hh:118
ArmLinux32::off_t
uint32_t off_t
Definition: linux.hh:118
ArmLinux64::rusage::ru_msgsnd
int64_t ru_msgsnd
messages sent
Definition: linux.hh:519
ArmLinux32::TGT_MAP_HUGETLB
static const unsigned TGT_MAP_HUGETLB
Definition: linux.hh:153
ArmLinux64::NUM_MMAP_FLAGS
static const unsigned NUM_MMAP_FLAGS
Definition: linux.hh:386
ArmLinux32::TGT_O_CREAT
static const int TGT_O_CREAT
O_CREAT.
Definition: linux.hh:128
ArmLinux64::tgt_sysinfo::mem_unit
uint32_t mem_unit
Definition: linux.hh:503
ArmLinux32::tgt_stat::st_mode
uint16_t st_mode
Definition: linux.hh:194
ArmLinux32::tgt_sysinfo::totalram
uint32_t totalram
Definition: linux.hh:237
ArmLinux32::tgt_stat::st_atimeX
uint32_t st_atimeX
Definition: linux.hh:204
ArmLinux64::tgt_sysinfo::totalswap
uint64_t totalswap
Definition: linux.hh:497
SyscallFlagTransTable
This struct is used to build target-OS-dependent tables that map the target's flags to the host's fla...
Definition: operatingsystem.hh:41
ArmLinux64::time_t
int64_t time_t
Definition: linux.hh:340
ArmLinux64::rusage::ru_nvcsw
int64_t ru_nvcsw
voluntary context switches
Definition: linux.hh:522
ArmLinux64::tgt_stat64::__pad0
uint32_t __pad0
Definition: linux.hh:477
ArmLinux64::off_t
uint64_t off_t
Definition: linux.hh:339
ArmLinux32::TGT_MAP_EXECUTABLE
static const unsigned TGT_MAP_EXECUTABLE
Definition: linux.hh:150
ArmLinux32::rusage::ru_ixrss
int32_t ru_ixrss
integral shared memory size
Definition: linux.hh:254
ArmLinux64::timeval
For gettimeofday().
Definition: linux.hh:434
ArmLinux32::rusage::ru_msgrcv
int32_t ru_msgrcv
messages received
Definition: linux.hh:263
ArmLinux64::tgt_iovec::iov_base
uint64_t iov_base
Definition: linux.hh:446
ArmLinux32::tgt_stat64::st_uid
uint32_t st_uid
Definition: linux.hh:218
ArmLinux64::tgt_stat::st_mtimeX
uint64_t st_mtimeX
Definition: linux.hh:464
ArmLinux32::tgt_stat::st_gid
uint16_t st_gid
Definition: linux.hh:197
ArmLinux32::tgt_sysinfo::totalhigh
uint32_t totalhigh
Definition: linux.hh:244
ArmLinux32::TGT_O_RDONLY
static const int TGT_O_RDONLY
open(2) flag values.
Definition: linux.hh:125
ArmLinux64::timeval::tv_sec
int64_t tv_sec
seconds
Definition: linux.hh:435
ArmLinux64::tgt_stat::__pad0
uint32_t __pad0
Definition: linux.hh:457
ArmLinux32::size_t
uint32_t size_t
Basic ARM Linux types.
Definition: linux.hh:117
ArmLinux32::timeval::tv_usec
int32_t tv_usec
microseconds
Definition: linux.hh:176
ArmLinux32::TGT_SIGWINCH
static const int TGT_SIGWINCH
Definition: linux.hh:101
ArmLinux64::tms
For times().
Definition: linux.hh:527
ArmLinux32::rusage::ru_isrss
int32_t ru_isrss
integral unshared stack "
Definition: linux.hh:256
utility.hh
ArmLinux64::tgt_stat::st_ctimeX
uint64_t st_ctimeX
Definition: linux.hh:466
MipsISA::ptc
Bitfield< 7, 0 > ptc
Definition: mt_constants.hh:53
ArmLinux64::tgt_stat::st_mode
uint32_t st_mode
Definition: linux.hh:454
Linux::TGT_RLIMIT_LOCKS
static const unsigned TGT_RLIMIT_LOCKS
Definition: linux.hh:201
ArmLinux64::tgt_stat::st_nlink
uint64_t st_nlink
Definition: linux.hh:453
ArmLinux64
Definition: linux.hh:290
ArmLinux64::tgt_sysinfo::freeram
uint64_t freeram
Definition: linux.hh:494
ArmLinux32::TGT_O_WRONLY
static const int TGT_O_WRONLY
O_WRONLY.
Definition: linux.hh:126
Linux::TGT_RUSAGE_SELF
static const int TGT_RUSAGE_SELF
For getrusage().
Definition: linux.hh:210
ArmLinux32::tgt_sysinfo::sharedram
uint32_t sharedram
Definition: linux.hh:239
ArmLinux64::NUM_OPEN_FLAGS
static const int NUM_OPEN_FLAGS
Number of entries in openFlagTable[].
Definition: linux.hh:334
Linux::TGT_RLIMIT_NPROC
static const unsigned TGT_RLIMIT_NPROC
Definition: linux.hh:197
ArmLinux64::tms::tms_stime
int64_t tms_stime
system time
Definition: linux.hh:529
ArmLinux64::tgt_sysinfo::uptime
int64_t uptime
Definition: linux.hh:491
ArmLinux32::TGT_SIGTTOU
static const int TGT_SIGTTOU
Definition: linux.hh:95
ArmLinux32::timespec
Definition: linux.hh:179
ArmLinux64::tgt_stat64::st_uid
uint32_t st_uid
Definition: linux.hh:475
ArmLinux32::TGT_O_APPEND
static const int TGT_O_APPEND
O_APPEND.
Definition: linux.hh:132
ArmLinux32::rusage::ru_nvcsw
int32_t ru_nvcsw
voluntary context switches
Definition: linux.hh:265
Linux::TGT_RLIMIT_CPU
static const unsigned TGT_RLIMIT_CPU
Resource constants for getrlimit().
Definition: linux.hh:191
ArmLinux32::TGT_MAP_GROWSDOWN
static const unsigned TGT_MAP_GROWSDOWN
Definition: linux.hh:152
ArmLinux32::rusage::ru_minflt
int32_t ru_minflt
page reclaims - total vmfaults
Definition: linux.hh:257
ArmLinux32::TGT_O_NOFOLLOW
static const int TGT_O_NOFOLLOW
O_NOFOLLOW.
Definition: linux.hh:139
ArmLinux32::tms::tms_cstime
int32_t tms_cstime
system time of children
Definition: linux.hh:274
ArmLinux32::tgt_iovec::iov_base
uint32_t iov_base
Definition: linux.hh:186
ArmLinux64::tgt_stat64::st_size
uint64_t st_size
Definition: linux.hh:479
ArmLinux32::TGT_O_PATH
static const int TGT_O_PATH
O_PATH.
Definition: linux.hh:143
ArmLinux32::clock_t
int32_t clock_t
Definition: linux.hh:120
ArmLinux64::tgt_sysinfo::bufferram
uint64_t bufferram
Definition: linux.hh:496
ArmLinux32::rusage::ru_inblock
int32_t ru_inblock
block input operations
Definition: linux.hh:260
ArmLinux64::tgt_stat::st_blocks
uint64_t st_blocks
Definition: linux.hh:461
ArmLinux32::tms::tms_stime
int32_t tms_stime
system time
Definition: linux.hh:272
ArmLinux64::timeval::tv_usec
int64_t tv_usec
microseconds
Definition: linux.hh:436
ArmLinux64::timespec::tv_sec
int64_t tv_sec
seconds
Definition: linux.hh:440
ArmLinux32::TGT_SIGBUS
static const int TGT_SIGBUS
Definition: linux.hh:80
ThreadContext::setMiscReg
virtual void setMiscReg(RegIndex misc_reg, RegVal val)=0
ArmLinux64::rusage::ru_msgrcv
int64_t ru_msgrcv
messages received
Definition: linux.hh:520
ArmLinux64::tms::tms_utime
int64_t tms_utime
user time
Definition: linux.hh:528
ArmLinux32::tgt_stat64::st_gid
uint32_t st_gid
Definition: linux.hh:219
ArmLinux64::tgt_stat64::st_gid
uint32_t st_gid
Definition: linux.hh:476
ArmLinux32::tgt_stat64::st_mode
uint32_t st_mode
Definition: linux.hh:216
ArmLinux64::clock_t
int64_t clock_t
Definition: linux.hh:341
ArmLinux32::tms::tms_utime
int32_t tms_utime
user time
Definition: linux.hh:271
OperatingSystem::tgt_stat
void tgt_stat
Stat buffer.
Definition: operatingsystem.hh:59
ArmLinux32::NUM_MMAP_FLAGS
static const unsigned NUM_MMAP_FLAGS
Definition: linux.hh:162
ArmLinux32::TGT_O_SYNC
static const int TGT_O_SYNC
O_SYNC.
Definition: linux.hh:142
ArmLinux32::timeval
For gettimeofday().
Definition: linux.hh:174
ArmLinux32::rlimit::rlim_cur
uint32_t rlim_cur
soft limit
Definition: linux.hh:169
ArmLinux64::rusage::ru_minflt
int64_t ru_minflt
page reclaims - total vmfaults
Definition: linux.hh:514
ArmLinux32::TGT_MAP_FILE
static const unsigned TGT_MAP_FILE
Definition: linux.hh:151
ArmLinux32::TGT_SIGXCPU
static const int TGT_SIGXCPU
Definition: linux.hh:97
ArmLinux64::tgt_sysinfo::totalram
uint64_t totalram
Definition: linux.hh:493
ArmLinux64::rlimit
Limit struct for getrlimit/setrlimit.
Definition: linux.hh:428
ArmLinux32::tgt_stat::st_nlink
uint16_t st_nlink
Definition: linux.hh:195
ArmLinux64::tgt_stat::st_size
uint64_t st_size
Definition: linux.hh:459
ArmLinux32::TGT_MAP_POPULATE
static const unsigned TGT_MAP_POPULATE
Definition: linux.hh:157
ArmLinux32::TGT_SIGALRM
static const int TGT_SIGALRM
Definition: linux.hh:87
ArmLinux32::tgt_stat::st_ino
uint32_t st_ino
Definition: linux.hh:193
Linux
Definition: threadinfo.hh:35
ArmLinux32::archClone
static void archClone(uint64_t flags, Process *pp, Process *cp, ThreadContext *ptc, ThreadContext *ctc, uint64_t stack, uint64_t tls)
Definition: linux.hh:278
ArmLinux64::tgt_stat::st_blksize
uint64_t st_blksize
Definition: linux.hh:460
ArmLinux64::tgt_stat::st_ino
uint64_t st_ino
Definition: linux.hh:452
Linux::TGT_RLIMIT_FSIZE
static const unsigned TGT_RLIMIT_FSIZE
Definition: linux.hh:192
__attribute__
const char * __attribute__((weak)) m5MainCommands[]
ArmLinux32::tms
For times().
Definition: linux.hh:270
ArmLinux32::time_t
int32_t time_t
Definition: linux.hh:119
ArmLinux32::tgt_stat64
Definition: linux.hh:212
ArmLinux64::tgt_stat64::st_ctime_nsec
uint64_t st_ctime_nsec
Definition: linux.hh:487
ArmLinux32::tgt_stat64::__st_ino
uint32_t __st_ino
Definition: linux.hh:215
ArmLinux32::rusage::ru_stime
struct timeval ru_stime
system time used
Definition: linux.hh:252
Linux::TGT_RUSAGE_BOTH
static const int TGT_RUSAGE_BOTH
Definition: linux.hh:212
ArmLinux32::TGT_MAP_DENYWRITE
static const unsigned TGT_MAP_DENYWRITE
Definition: linux.hh:149
ArmLinux64::rusage::ru_isrss
int64_t ru_isrss
integral unshared stack "
Definition: linux.hh:513
ArmLinux32::timespec::tv_sec
int32_t tv_sec
seconds
Definition: linux.hh:180
ArmLinux64::tgt_stat64::st_rdev
uint64_t st_rdev
Definition: linux.hh:478
ArmLinux32::TGT_SIGABRT
static const int TGT_SIGABRT
Definition: linux.hh:78
ArmLinux32::tgt_sysinfo
Definition: linux.hh:234
ArmLinux32::TGT_MAP_ANON
static const unsigned TGT_MAP_ANON
Definition: linux.hh:148
ArmLinux32::TGT_SIGPROF
static const int TGT_SIGPROF
Definition: linux.hh:100
ArmLinux32::TGT_SIGPOLL
static const int TGT_SIGPOLL
Definition: linux.hh:103

Generated on Wed Sep 30 2020 14:02:00 for gem5 by doxygen 1.8.17