summaryrefslogtreecommitdiff
path: root/src/arch/sparc/linux
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2006-09-15 21:43:12 -0400
committerGabe Black <gblack@eecs.umich.edu>2006-09-15 21:43:12 -0400
commite4fcef58518840c8191c468aff6d314175d68e21 (patch)
tree0da46d852ab27fd9c43db77da63f577ffa8218cb /src/arch/sparc/linux
parent8abab05c833bcba09ef0093a5fbfb77398c10bf3 (diff)
downloadgem5-e4fcef58518840c8191c468aff6d314175d68e21.tar.xz
Changes to correct stat behavior
--HG-- extra : convert_revision : 43e5788105738aebd79acb05301bb7da68bfe129
Diffstat (limited to 'src/arch/sparc/linux')
-rw-r--r--src/arch/sparc/linux/linux.hh19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/arch/sparc/linux/linux.hh b/src/arch/sparc/linux/linux.hh
index 926c2cb77..fefd27197 100644
--- a/src/arch/sparc/linux/linux.hh
+++ b/src/arch/sparc/linux/linux.hh
@@ -37,6 +37,25 @@ class SparcLinux : public Linux
{
public:
+ typedef struct {
+ uint32_t st_dev;
+ char __pad1[4];
+ uint64_t st_ino;
+ uint32_t st_mode;
+ uint16_t st_nlink;
+ uint32_t st_uid;
+ uint32_t st_gid;
+ uint32_t st_rdev;
+ char __pad2[4];
+ int64_t st_size;
+ int64_t st_atimeX;
+ int64_t st_mtimeX;
+ int64_t st_ctimeX;
+ int64_t st_blksize;
+ int64_t st_blocks;
+ uint64_t __unused4[2];
+ } tgt_stat;
+
static OpenFlagTransTable openFlagTable[];
static const int TGT_O_RDONLY = 0x00000000; //!< O_RDONLY