diff options
Diffstat (limited to 'src/arch/arm/linux/linux.hh')
-rw-r--r-- | src/arch/arm/linux/linux.hh | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/src/arch/arm/linux/linux.hh b/src/arch/arm/linux/linux.hh index fbf5d2185..0dd1df373 100644 --- a/src/arch/arm/linux/linux.hh +++ b/src/arch/arm/linux/linux.hh @@ -1,5 +1,5 @@ /* - * Copyright (c) 2010, 2011-2012 ARM Limited + * Copyright (c) 2010, 2011-2012, 2015 ARM Limited * All rights reserved * * The license below extends only to copyright in the software and shall @@ -108,6 +108,11 @@ class ArmLinux32 : public Linux int32_t tv_usec; //!< microseconds }; + struct timespec { + int32_t tv_sec; //!< seconds + int32_t tv_nsec; //!< nanoseconds + }; + // For writev/readv struct tgt_iovec { uint32_t iov_base; // void * @@ -297,6 +302,11 @@ class ArmLinux64 : public Linux int64_t tv_usec; //!< microseconds }; + struct timespec { + int64_t tv_sec; //!< seconds + int64_t tv_nsec; //!< nanoseconds + }; + // For writev/readv struct tgt_iovec { uint64_t iov_base; // void * |