linux.hh (11320:42ecb523c64a) linux.hh (11381:516213d2f0cf)
1/*
2 * Copyright (c) 2010, 2011-2012, 2015 ARM Limited
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

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

48#include "kern/linux/linux.hh"
49
50class ArmLinux32 : public Linux
51{
52 public:
53
54 /// This table maps the target open() flags to the corresponding
55 /// host open() flags.
1/*
2 * Copyright (c) 2010, 2011-2012, 2015 ARM Limited
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

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

48#include "kern/linux/linux.hh"
49
50class ArmLinux32 : public Linux
51{
52 public:
53
54 /// This table maps the target open() flags to the corresponding
55 /// host open() flags.
56 static OpenFlagTransTable openFlagTable[];
56 static SyscallFlagTransTable openFlagTable[];
57
58 /// Number of entries in openFlagTable[].
59 static const int NUM_OPEN_FLAGS;
60
61 //@{
62 /// Basic ARM Linux types
63 typedef uint32_t size_t;
64 typedef uint32_t off_t;

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

208};
209
210class ArmLinux64 : public Linux
211{
212 public:
213
214 /// This table maps the target open() flags to the corresponding
215 /// host open() flags.
57
58 /// Number of entries in openFlagTable[].
59 static const int NUM_OPEN_FLAGS;
60
61 //@{
62 /// Basic ARM Linux types
63 typedef uint32_t size_t;
64 typedef uint32_t off_t;

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

208};
209
210class ArmLinux64 : public Linux
211{
212 public:
213
214 /// This table maps the target open() flags to the corresponding
215 /// host open() flags.
216 static OpenFlagTransTable openFlagTable[];
216 static SyscallFlagTransTable openFlagTable[];
217
218 /// Number of entries in openFlagTable[].
219 static const int NUM_OPEN_FLAGS;
220
221 //@{
222 /// Basic ARM Linux types
223 typedef uint64_t size_t;
224 typedef uint64_t off_t;

--- 177 unchanged lines hidden ---
217
218 /// Number of entries in openFlagTable[].
219 static const int NUM_OPEN_FLAGS;
220
221 //@{
222 /// Basic ARM Linux types
223 typedef uint64_t size_t;
224 typedef uint64_t off_t;

--- 177 unchanged lines hidden ---