aboutsummaryrefslogtreecommitdiff
path: root/sys/linux/riscv64/arch/types.h
blob: 5109adf14a61c53f21eb773d1065ce30bcc652ea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#pragma once

typedef union sys·DoubleWord sys·DoubleWord;

/* little-endian */
union sys·DoubleWord
{
    double x;
    struct{
        uint32 lo;
        uint32 hi;
    };
};

#if 0
struct sys·Info
{
    uint64 devid;
    uint64 inode;
    uint    mode;

    uregister_t nlinks;

    uint uid;
    uint gid;
    uint64 spdevid;
    ulong _pad;
    intptr len;
    long blklen;
    int __pad;
    int64 nblock;

    sys·TimeNano access;
    sys·TimeNano modify;
    sys·TimeNano change;

    unsigned _unused[2];
}
#endif