linux.hh (5971:9c6391381323) linux.hh (5976:536125d85fa3)
1/*
2 * Copyright (c) 2007 The Hewlett-Packard Development Company
3 * All rights reserved.
4 *
5 * Redistribution and use of this software in source and binary forms,
6 * with or without modification, are permitted provided that the
7 * following conditions are met:
8 *

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

112 uint64_t iov_len; // size_t
113 } tgt_iovec;
114};
115
116class X86Linux32 : public Linux
117{
118 public:
119
1/*
2 * Copyright (c) 2007 The Hewlett-Packard Development Company
3 * All rights reserved.
4 *
5 * Redistribution and use of this software in source and binary forms,
6 * with or without modification, are permitted provided that the
7 * following conditions are met:
8 *

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

112 uint64_t iov_len; // size_t
113 } tgt_iovec;
114};
115
116class X86Linux32 : public Linux
117{
118 public:
119
120 typedef struct {
121 uint64_t st_dev;
122 uint8_t __pad0[4];
123 uint32_t __st_ino;
124 uint32_t st_mode;
125 uint32_t st_nlink;
126 uint32_t st_uid;
127 uint32_t st_gid;
128 uint64_t st_rdev;
129 int64_t st_size;
130 uint8_t __pad3[4];
131 uint32_t st_blksize;
132 uint64_t st_blocks;
133 uint32_t st_atimeX;
134 uint32_t st_atime_nsec;
135 uint32_t st_mtimeX;
136 uint32_t st_mtime_nsec;
137 uint32_t st_ctimeX;
138 uint32_t st_ctime_nsec;
139 uint64_t st_ino;
140 } tgt_stat64;
141
120 static OpenFlagTransTable openFlagTable[];
121
122 static const int TGT_O_RDONLY = 00000000; //!< O_RDONLY
123 static const int TGT_O_WRONLY = 00000001; //!< O_WRONLY
124 static const int TGT_O_RDWR = 00000002; //!< O_RDWR
125 static const int TGT_O_NONBLOCK = 00004000; //!< O_NONBLOCK
126 static const int TGT_O_APPEND = 00002000; //!< O_APPEND
127 static const int TGT_O_CREAT = 00000100; //!< O_CREAT

--- 16 unchanged lines hidden ---
142 static OpenFlagTransTable openFlagTable[];
143
144 static const int TGT_O_RDONLY = 00000000; //!< O_RDONLY
145 static const int TGT_O_WRONLY = 00000001; //!< O_WRONLY
146 static const int TGT_O_RDWR = 00000002; //!< O_RDWR
147 static const int TGT_O_NONBLOCK = 00004000; //!< O_NONBLOCK
148 static const int TGT_O_APPEND = 00002000; //!< O_APPEND
149 static const int TGT_O_CREAT = 00000100; //!< O_CREAT

--- 16 unchanged lines hidden ---