linux.hh (11320:42ecb523c64a) linux.hh (11381:516213d2f0cf)
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;

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

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.
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;

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

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 OpenFlagTransTable openFlagTable[];
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

--- 97 unchanged lines hidden ---
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

--- 97 unchanged lines hidden ---