linux.hh (10037:5cac77888310) linux.hh (10850:e4328e028961)
1/*
1/*
2 * Copyright (c) 2010, 2011-2012 ARM Limited
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
9 * licensed hereunder. You may use the software subject to the license
10 * terms below provided that you ensure that this notice is replicated

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

103 };
104
105 /// For gettimeofday().
106 struct timeval {
107 int32_t tv_sec; //!< seconds
108 int32_t tv_usec; //!< microseconds
109 };
110
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
9 * licensed hereunder. You may use the software subject to the license
10 * terms below provided that you ensure that this notice is replicated

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

103 };
104
105 /// For gettimeofday().
106 struct timeval {
107 int32_t tv_sec; //!< seconds
108 int32_t tv_usec; //!< microseconds
109 };
110
111 struct timespec {
112 int32_t tv_sec; //!< seconds
113 int32_t tv_nsec; //!< nanoseconds
114 };
115
111 // For writev/readv
112 struct tgt_iovec {
113 uint32_t iov_base; // void *
114 uint32_t iov_len;
115 };
116
117
118 typedef struct {

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

292 };
293
294 /// For gettimeofday().
295 struct timeval {
296 int64_t tv_sec; //!< seconds
297 int64_t tv_usec; //!< microseconds
298 };
299
116 // For writev/readv
117 struct tgt_iovec {
118 uint32_t iov_base; // void *
119 uint32_t iov_len;
120 };
121
122
123 typedef struct {

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

297 };
298
299 /// For gettimeofday().
300 struct timeval {
301 int64_t tv_sec; //!< seconds
302 int64_t tv_usec; //!< microseconds
303 };
304
305 struct timespec {
306 int64_t tv_sec; //!< seconds
307 int64_t tv_nsec; //!< nanoseconds
308 };
309
300 // For writev/readv
301 struct tgt_iovec {
302 uint64_t iov_base; // void *
303 uint64_t iov_len;
304 };
305
306 typedef struct {
307 uint64_t st_dev;

--- 84 unchanged lines hidden ---
310 // For writev/readv
311 struct tgt_iovec {
312 uint64_t iov_base; // void *
313 uint64_t iov_len;
314 };
315
316 typedef struct {
317 uint64_t st_dev;

--- 84 unchanged lines hidden ---