freebsd.hh (10810:683ab55819fd) freebsd.hh (11381:516213d2f0cf)
1/*
2 * Copyright (c) 2015 Ruslan Bukin <br@bsdpad.com>
3 * All rights reserved.
4 *
5 * This software was developed by the University of Cambridge Computer
6 * Laboratory as part of the CTSRD Project, with support from the UK Higher
7 * Education Innovation Fund (HEIF).
8 *

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

36#include "kern/freebsd/freebsd.hh"
37
38class ArmFreebsd32 : public FreeBSD
39{
40 public:
41
42 /// This table maps the target open() flags to the corresponding
43 /// host open() flags.
1/*
2 * Copyright (c) 2015 Ruslan Bukin <br@bsdpad.com>
3 * All rights reserved.
4 *
5 * This software was developed by the University of Cambridge Computer
6 * Laboratory as part of the CTSRD Project, with support from the UK Higher
7 * Education Innovation Fund (HEIF).
8 *

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

36#include "kern/freebsd/freebsd.hh"
37
38class ArmFreebsd32 : public FreeBSD
39{
40 public:
41
42 /// This table maps the target open() flags to the corresponding
43 /// host open() flags.
44 static OpenFlagTransTable openFlagTable[];
44 static SyscallFlagTransTable openFlagTable[];
45
46 /// Number of entries in openFlagTable[].
47 static const int NUM_OPEN_FLAGS;
48
49 //@{
50 /// Basic ARM FreeBSD types
51 typedef uint32_t size_t;
52 typedef uint32_t off_t;

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

191};
192
193class ArmFreebsd64 : public FreeBSD
194{
195 public:
196
197 /// This table maps the target open() flags to the corresponding
198 /// host open() flags.
45
46 /// Number of entries in openFlagTable[].
47 static const int NUM_OPEN_FLAGS;
48
49 //@{
50 /// Basic ARM FreeBSD types
51 typedef uint32_t size_t;
52 typedef uint32_t off_t;

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

191};
192
193class ArmFreebsd64 : public FreeBSD
194{
195 public:
196
197 /// This table maps the target open() flags to the corresponding
198 /// host open() flags.
199 static OpenFlagTransTable openFlagTable[];
199 static SyscallFlagTransTable openFlagTable[];
200
201 /// Number of entries in openFlagTable[].
202 static const int NUM_OPEN_FLAGS;
203
204 //@{
205 /// Basic ARM FreeBSD types
206 typedef uint64_t size_t;
207 typedef uint64_t off_t;

--- 149 unchanged lines hidden ---
200
201 /// Number of entries in openFlagTable[].
202 static const int NUM_OPEN_FLAGS;
203
204 //@{
205 /// Basic ARM FreeBSD types
206 typedef uint64_t size_t;
207 typedef uint64_t off_t;

--- 149 unchanged lines hidden ---