Deleted Added
sdiff udiff text old ( 11381:516213d2f0cf ) new ( 11382:654272b82e94 )
full compact
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;

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

36/* AlphaLinux class contains static constants/definitions/misc.
37 * structures which are specific to the Linux OS AND the Alpha
38 * architecture
39 */
40class AlphaLinux : public Linux
41{
42 public:
43
44 /// This table maps the target open() flags to the corresponding
45 /// host open() flags.
46 static SyscallFlagTransTable openFlagTable[];
47
48 /// Number of entries in openFlagTable[].
49 static const int NUM_OPEN_FLAGS;
50
51 //@{
52 /// open(2) flag values.
53 static const int TGT_O_RDONLY = 00000000; //!< O_RDONLY
54 static const int TGT_O_WRONLY = 00000001; //!< O_WRONLY
55 static const int TGT_O_RDWR = 00000002; //!< O_RDWR
56 static const int TGT_O_NONBLOCK = 00000004; //!< O_NONBLOCK
57 static const int TGT_O_APPEND = 00000010; //!< O_APPEND
58 static const int TGT_O_CREAT = 00001000; //!< O_CREAT
59 static const int TGT_O_TRUNC = 00002000; //!< O_TRUNC
60 static const int TGT_O_EXCL = 00004000; //!< O_EXCL
61 static const int TGT_O_NOCTTY = 00010000; //!< O_NOCTTY
62 static const int TGT_O_SYNC = 00040000; //!< O_SYNC
63 static const int TGT_O_DRD = 00100000; //!< O_DRD
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;
73
74 //@{
75 /// For getsysinfo().

--- 76 unchanged lines hidden ---