OpenCores
URL https://opencores.org/ocsvn/or1k_soc_on_altera_embedded_dev_kit/or1k_soc_on_altera_embedded_dev_kit/trunk

Subversion Repositories or1k_soc_on_altera_embedded_dev_kit

[/] [or1k_soc_on_altera_embedded_dev_kit/] [trunk/] [linux-2.6/] [linux-2.6.24/] [include/] [asm-v850/] [stat.h] - Blame information for rev 3

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 3 xianfeng
/*
2
 * include/asm-v850/stat.h -- v850 stat structure
3
 *
4
 *  Copyright (C) 2001,02,03  NEC Electronics Corporation
5
 *  Copyright (C) 2001,02,03  Miles Bader <miles@gnu.org>
6
 *
7
 * This file is subject to the terms and conditions of the GNU General
8
 * Public License.  See the file COPYING in the main directory of this
9
 * archive for more details.
10
 *
11
 * Written by Miles Bader <miles@gnu.org>
12
 */
13
 
14
#ifndef __V850_STAT_H__
15
#define __V850_STAT_H__
16
 
17
#include <asm/posix_types.h>
18
 
19
struct stat {
20
        unsigned int    st_dev;
21
        unsigned long   st_ino;
22
        unsigned int    st_mode;
23
        unsigned int    st_nlink;
24
        unsigned int    st_uid;
25
        unsigned int    st_gid;
26
        unsigned int    st_rdev;
27
        long            st_size;
28
        unsigned long   st_blksize;
29
        unsigned long   st_blocks;
30
        unsigned long   st_atime;
31
        unsigned long   __unused1;
32
        unsigned long   st_mtime;
33
        unsigned long   __unused2;
34
        unsigned long   st_ctime;
35
        unsigned long   __unused3;
36
        unsigned long   __unused4;
37
        unsigned long   __unused5;
38
};
39
 
40
struct stat64 {
41
        unsigned long long      st_dev;
42
        unsigned long   __unused1;
43
 
44
        unsigned long long      st_ino;
45
 
46
        unsigned int    st_mode;
47
        unsigned int    st_nlink;
48
 
49
        unsigned int    st_uid;
50
        unsigned int    st_gid;
51
 
52
        unsigned long long      st_rdev;
53
        unsigned long   __unused3;
54
 
55
        long long       st_size;
56
        unsigned long   st_blksize;
57
 
58
        unsigned long   st_blocks; /* No. of 512-byte blocks allocated */
59
        unsigned long   __unused4; /* future possible st_blocks high bits */
60
 
61
        unsigned long   st_atime;
62
        unsigned long   st_atime_nsec;
63
 
64
        unsigned long   st_mtime;
65
        unsigned long   st_mtime_nsec;
66
 
67
        unsigned long   st_ctime;
68
        unsigned long   st_ctime_nsec;
69
 
70
        unsigned long   __unused8;
71
};
72
 
73
#endif /* __V850_STAT_H__ */

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.