linux.hh (6689:67d980fcbc7a) linux.hh (8600:b0d7c64ada19)
1/*
2 * Copyright (c) 2006 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;

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

60 static const int TGT_O_DIRECTIO = 0x00020000; //!< O_DIRECTIO
61 static const int TGT_O_CACHE = 0x00002000; //!< O_CACHE
62 static const int TGT_O_DSYNC = 0x00008000; //!< O_DSYNC
63 static const int TGT_O_RSYNC = 0x00040000; //!< O_RSYNC
64 //@}
65
66 /// For mmap().
67 static const unsigned TGT_MAP_ANONYMOUS = 0x800;
1/*
2 * Copyright (c) 2006 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;

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

60 static const int TGT_O_DIRECTIO = 0x00020000; //!< O_DIRECTIO
61 static const int TGT_O_CACHE = 0x00002000; //!< O_CACHE
62 static const int TGT_O_DSYNC = 0x00008000; //!< O_DSYNC
63 static const int TGT_O_RSYNC = 0x00040000; //!< O_RSYNC
64 //@}
65
66 /// For mmap().
67 static const unsigned TGT_MAP_ANONYMOUS = 0x800;
68 static const unsigned TGT_MAP_FIXED = 0x10;
68
69 //@{
70 /// For getsysinfo().
71 static const unsigned GSI_PLATFORM_NAME = 103; //!< platform name as string
72 static const unsigned GSI_CPU_INFO = 59; //!< CPU information
73 static const unsigned GSI_PROC_TYPE = 60; //!< get proc_type
74 static const unsigned GSI_MAX_CPU = 30; //!< max # cpu's on this machine
75 static const unsigned GSI_CPUS_IN_BOX = 55; //!< number of CPUs in system

--- 73 unchanged lines hidden ---
69
70 //@{
71 /// For getsysinfo().
72 static const unsigned GSI_PLATFORM_NAME = 103; //!< platform name as string
73 static const unsigned GSI_CPU_INFO = 59; //!< CPU information
74 static const unsigned GSI_PROC_TYPE = 60; //!< get proc_type
75 static const unsigned GSI_MAX_CPU = 30; //!< max # cpu's on this machine
76 static const unsigned GSI_CPUS_IN_BOX = 55; //!< number of CPUs in system

--- 73 unchanged lines hidden ---