linux.cc (8229:78bf55f23338) | linux.cc (11381:516213d2f0cf) |
---|---|
1/* 2 * Copyright (c) 2003-2005 The Regents of The University of Michigan 3 * Copyright (c) 2009 The University of Edinburgh 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions are 8 * met: redistributions of source code must retain the above copyright --- 20 unchanged lines hidden (view full) --- 29 * Authors: Timothy M. Jones 30 */ 31 32#include <fcntl.h> 33 34#include "arch/power/linux/linux.hh" 35 36// open(2) flags translation table | 1/* 2 * Copyright (c) 2003-2005 The Regents of The University of Michigan 3 * Copyright (c) 2009 The University of Edinburgh 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions are 8 * met: redistributions of source code must retain the above copyright --- 20 unchanged lines hidden (view full) --- 29 * Authors: Timothy M. Jones 30 */ 31 32#include <fcntl.h> 33 34#include "arch/power/linux/linux.hh" 35 36// open(2) flags translation table |
37OpenFlagTransTable PowerLinux::openFlagTable[] = { | 37SyscallFlagTransTable PowerLinux::openFlagTable[] = { |
38#ifdef _MSC_VER 39 { PowerLinux::TGT_O_RDONLY, _O_RDONLY }, 40 { PowerLinux::TGT_O_WRONLY, _O_WRONLY }, 41 { PowerLinux::TGT_O_RDWR, _O_RDWR }, 42 { PowerLinux::TGT_O_APPEND, _O_APPEND }, 43 { PowerLinux::TGT_O_CREAT, _O_CREAT }, 44 { PowerLinux::TGT_O_TRUNC, _O_TRUNC }, 45 { PowerLinux::TGT_O_EXCL, _O_EXCL }, --- 34 unchanged lines hidden --- | 38#ifdef _MSC_VER 39 { PowerLinux::TGT_O_RDONLY, _O_RDONLY }, 40 { PowerLinux::TGT_O_WRONLY, _O_WRONLY }, 41 { PowerLinux::TGT_O_RDWR, _O_RDWR }, 42 { PowerLinux::TGT_O_APPEND, _O_APPEND }, 43 { PowerLinux::TGT_O_CREAT, _O_CREAT }, 44 { PowerLinux::TGT_O_TRUNC, _O_TRUNC }, 45 { PowerLinux::TGT_O_EXCL, _O_EXCL }, --- 34 unchanged lines hidden --- |