summaryrefslogtreecommitdiff
path: root/src/arch/x86/linux/linux.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/x86/linux/linux.hh')
-rw-r--r--src/arch/x86/linux/linux.hh18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/arch/x86/linux/linux.hh b/src/arch/x86/linux/linux.hh
index fb8e611cb..ef0715fd6 100644
--- a/src/arch/x86/linux/linux.hh
+++ b/src/arch/x86/linux/linux.hh
@@ -67,6 +67,24 @@ class X86Linux64 : public Linux
int64_t unused0[3];
} tgt_stat64;
+ typedef struct {
+ long val[2];
+ } tgt_fsid;
+
+ typedef struct {
+ long f_type;
+ long f_bsize;
+ long f_blocks;
+ long f_bfree;
+ long f_bavail;
+ long f_files;
+ long f_ffree;
+ tgt_fsid f_fsid;
+ long f_namelen;
+ long f_frsize;
+ long f_spare[5];
+ } tgt_statfs;
+
static const int TGT_SIGHUP = 0x000001;
static const int TGT_SIGINT = 0x000002;
static const int TGT_SIGQUIT = 0x000003;