linux.hh (11320:42ecb523c64a) | linux.hh (11381:516213d2f0cf) |
---|---|
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; --- 25 unchanged lines hidden (view full) --- 34#include "kern/linux/linux.hh" 35 36class MipsLinux : public Linux 37{ 38 public: 39 40 /// This table maps the target open() flags to the corresponding 41 /// host open() flags. | 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; --- 25 unchanged lines hidden (view full) --- 34#include "kern/linux/linux.hh" 35 36class MipsLinux : public Linux 37{ 38 public: 39 40 /// This table maps the target open() flags to the corresponding 41 /// host open() flags. |
42 static OpenFlagTransTable openFlagTable[]; | 42 static SyscallFlagTransTable openFlagTable[]; |
43 44 /// Number of entries in openFlagTable[]. 45 static const int NUM_OPEN_FLAGS; 46 47 //@{ 48 /// open(2) flag values. 49 static const int TGT_O_RDONLY = 0x00000000; //!< O_RDONLY 50 static const int TGT_O_WRONLY = 0x00000001; //!< O_WRONLY --- 96 unchanged lines hidden --- | 43 44 /// Number of entries in openFlagTable[]. 45 static const int NUM_OPEN_FLAGS; 46 47 //@{ 48 /// open(2) flag values. 49 static const int TGT_O_RDONLY = 0x00000000; //!< O_RDONLY 50 static const int TGT_O_WRONLY = 0x00000001; //!< O_WRONLY --- 96 unchanged lines hidden --- |