linux.cc (7799:5d0f62927d75) | linux.cc (8229:78bf55f23338) |
---|---|
1/* 2 * Copyright (c) 2003-2005 The Regents of The University of Michigan 3 * Copyright (c) 2007-2008 The Florida State University 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 --- 15 unchanged lines hidden (view full) --- 24 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 25 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 26 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 27 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 * 29 * Authors: Stephen Hines 30 */ 31 | 1/* 2 * Copyright (c) 2003-2005 The Regents of The University of Michigan 3 * Copyright (c) 2007-2008 The Florida State University 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 --- 15 unchanged lines hidden (view full) --- 24 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 25 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 26 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 27 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 * 29 * Authors: Stephen Hines 30 */ 31 |
32#include "arch/arm/linux/linux.hh" 33 | |
34#include <fcntl.h> 35 | 32#include <fcntl.h> 33 |
34#include "arch/arm/linux/linux.hh" 35 |
|
36// open(2) flags translation table 37OpenFlagTransTable ArmLinux::openFlagTable[] = { 38#ifdef _MSC_VER 39 { ArmLinux::TGT_O_RDONLY, _O_RDONLY }, 40 { ArmLinux::TGT_O_WRONLY, _O_WRONLY }, 41 { ArmLinux::TGT_O_RDWR, _O_RDWR }, 42 { ArmLinux::TGT_O_APPEND, _O_APPEND }, 43 { ArmLinux::TGT_O_CREAT, _O_CREAT }, --- 45 unchanged lines hidden --- | 36// open(2) flags translation table 37OpenFlagTransTable ArmLinux::openFlagTable[] = { 38#ifdef _MSC_VER 39 { ArmLinux::TGT_O_RDONLY, _O_RDONLY }, 40 { ArmLinux::TGT_O_WRONLY, _O_WRONLY }, 41 { ArmLinux::TGT_O_RDWR, _O_RDWR }, 42 { ArmLinux::TGT_O_APPEND, _O_APPEND }, 43 { ArmLinux::TGT_O_CREAT, _O_CREAT }, --- 45 unchanged lines hidden --- |