Revision 99a0949b m68k-semi.c
b/m68k-semi.c | ||
---|---|---|
53 | 53 |
#define HOSTED_ISATTY 12 |
54 | 54 |
#define HOSTED_SYSTEM 13 |
55 | 55 |
|
56 |
typedef uint32_t gdb_mode_t;
|
|
57 |
typedef uint32_t gdb_time_t;
|
|
56 |
typedef uint32_t a_gdb_mode;
|
|
57 |
typedef uint32_t a_gdb_time;
|
|
58 | 58 |
|
59 | 59 |
struct m68k_gdb_stat { |
60 | 60 |
uint32_t gdb_st_dev; /* device */ |
61 | 61 |
uint32_t gdb_st_ino; /* inode */ |
62 |
gdb_mode_t gdb_st_mode; /* protection */
|
|
62 |
a_gdb_mode gdb_st_mode; /* protection */
|
|
63 | 63 |
uint32_t gdb_st_nlink; /* number of hard links */ |
64 | 64 |
uint32_t gdb_st_uid; /* user ID of owner */ |
65 | 65 |
uint32_t gdb_st_gid; /* group ID of owner */ |
... | ... | |
67 | 67 |
uint64_t gdb_st_size; /* total size, in bytes */ |
68 | 68 |
uint64_t gdb_st_blksize; /* blocksize for filesystem I/O */ |
69 | 69 |
uint64_t gdb_st_blocks; /* number of blocks allocated */ |
70 |
gdb_time_t gdb_st_atime; /* time of last access */
|
|
71 |
gdb_time_t gdb_st_mtime; /* time of last modification */
|
|
72 |
gdb_time_t gdb_st_ctime; /* time of last change */
|
|
70 |
a_gdb_time gdb_st_atime; /* time of last access */
|
|
71 |
a_gdb_time gdb_st_mtime; /* time of last modification */
|
|
72 |
a_gdb_time gdb_st_ctime; /* time of last change */
|
|
73 | 73 |
} __attribute__((packed)); |
74 | 74 |
|
75 | 75 |
struct gdb_timeval { |
76 |
gdb_time_t tv_sec; /* second */
|
|
76 |
a_gdb_time tv_sec; /* second */
|
|
77 | 77 |
uint64_t tv_usec; /* microsecond */ |
78 | 78 |
} __attribute__((packed)); |
79 | 79 |
|
Also available in: Unified diff