Change-Id: Ided4710d47436fbf8e34be2427dc7ed092a69f56
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/26826
Reviewed-by: Gabe Black <gabeblack@google.com>
Maintainer: Gabe Black <gabeblack@google.com>
Tested-by: kokoro <noreply+kokoro@google.com>
static const ByteOrder byteOrder = BigEndianByteOrder;
- typedef struct {
+ struct tgt_stat
+ {
uint32_t st_dev;
char __pad1[4];
uint64_t st_ino;
int64_t st_blksize;
int64_t st_blocks;
uint64_t __unused4[2];
- } tgt_stat;
+ };
+
+ struct tgt_stat64
+ {
+ uint64_t st_dev;
+ uint64_t st_ino;
+ uint64_t st_nlink;
+
+ uint32_t st_mode;
+ uint32_t st_uid;
+ uint32_t st_gid;
+ uint32_t __pad0;
+
+ uint64_t st_rdev;
+ int64_t st_size;
+ int64_t st_blksize;
+ int64_t st_blocks;
+
+ uint64_t st_atimeX;
+ uint64_t st_atime_nsec;
+ uint64_t st_mtimeX;
+ uint64_t st_mtime_nsec;
+ uint64_t st_ctimeX;
+ uint64_t st_ctime_nsec;
+ int64_t __unused[3];
+ };
// SPARC receives weird subsignals for several of its signals. If you
// find yourself needing to implement these in detail, look at the