linux.hh (6689:67d980fcbc7a) linux.hh (8600:b0d7c64ada19)
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;

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

64 static const int TGT_O_DIRECTIO = 00200000; //!< O_DIRECTIO
65 static const int TGT_O_CACHE = 00400000; //!< O_CACHE
66 static const int TGT_O_DSYNC = 02000000; //!< O_DSYNC
67 static const int TGT_O_RSYNC = 04000000; //!< O_RSYNC
68 //@}
69
70 /// For mmap().
71 static const unsigned TGT_MAP_ANONYMOUS = 0x10;
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;

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

64 static const int TGT_O_DIRECTIO = 00200000; //!< O_DIRECTIO
65 static const int TGT_O_CACHE = 00400000; //!< O_CACHE
66 static const int TGT_O_DSYNC = 02000000; //!< O_DSYNC
67 static const int TGT_O_RSYNC = 04000000; //!< O_RSYNC
68 //@}
69
70 /// For mmap().
71 static const unsigned TGT_MAP_ANONYMOUS = 0x10;
72 static const unsigned TGT_MAP_FIXED = 0x100;
72
73 //@{
74 /// For getsysinfo().
75 static const unsigned GSI_PLATFORM_NAME = 103; //!< platform name as string
76 static const unsigned GSI_CPU_INFO = 59; //!< CPU information
77 static const unsigned GSI_PROC_TYPE = 60; //!< get proc_type
78 static const unsigned GSI_MAX_CPU = 30; //!< max # CPUs on machine
79 static const unsigned GSI_CPUS_IN_BOX = 55; //!< number of CPUs in system

--- 67 unchanged lines hidden ---
73
74 //@{
75 /// For getsysinfo().
76 static const unsigned GSI_PLATFORM_NAME = 103; //!< platform name as string
77 static const unsigned GSI_CPU_INFO = 59; //!< CPU information
78 static const unsigned GSI_PROC_TYPE = 60; //!< get proc_type
79 static const unsigned GSI_MAX_CPU = 30; //!< max # CPUs on machine
80 static const unsigned GSI_CPUS_IN_BOX = 55; //!< number of CPUs in system

--- 67 unchanged lines hidden ---