linux.cc (7087:fb8d5786ff30) linux.cc (8229:78bf55f23338)
1/*
2 * Copyright (c) 2007 The Hewlett-Packard Development Company
3 * All rights reserved.
4 *
5 * The license below extends only to copyright in the software and shall
6 * not be construed as granting a license to any other intellectual
7 * property including but not limited to intellectual property relating
8 * to a hardware implementation of the functionality of the software

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

32 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
33 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
34 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
35 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
36 *
37 * Authors: Gabe Black
38 */
39
1/*
2 * Copyright (c) 2007 The Hewlett-Packard Development Company
3 * All rights reserved.
4 *
5 * The license below extends only to copyright in the software and shall
6 * not be construed as granting a license to any other intellectual
7 * property including but not limited to intellectual property relating
8 * to a hardware implementation of the functionality of the software

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

32 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
33 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
34 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
35 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
36 *
37 * Authors: Gabe Black
38 */
39
40#include "arch/x86/linux/linux.hh"
41#include <fcntl.h>
42
40#include <fcntl.h>
41
42#include "arch/x86/linux/linux.hh"
43
43// open(2) flags translation table
44OpenFlagTransTable X86Linux64::openFlagTable[] = {
45#ifdef _MSC_VER
46 { TGT_O_RDONLY, _O_RDONLY },
47 { TGT_O_WRONLY, _O_WRONLY },
48 { TGT_O_RDWR, _O_RDWR },
49 { TGT_O_APPEND, _O_APPEND },
50 { TGT_O_CREAT, _O_CREAT },

--- 70 unchanged lines hidden ---
44// open(2) flags translation table
45OpenFlagTransTable X86Linux64::openFlagTable[] = {
46#ifdef _MSC_VER
47 { TGT_O_RDONLY, _O_RDONLY },
48 { TGT_O_WRONLY, _O_WRONLY },
49 { TGT_O_RDWR, _O_RDWR },
50 { TGT_O_APPEND, _O_APPEND },
51 { TGT_O_CREAT, _O_CREAT },

--- 70 unchanged lines hidden ---