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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [linux/] [linux-2.4/] [include/] [asm-sh64/] [sembuf.h] - Blame information for rev 1774

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1276 phoenix
#ifndef __ASM_SH64_SEMBUF_H
2
#define __ASM_SH64_SEMBUF_H
3
 
4
/*
5
 * This file is subject to the terms and conditions of the GNU General Public
6
 * License.  See the file "COPYING" in the main directory of this archive
7
 * for more details.
8
 *
9
 * include/asm-sh64/sembuf.h
10
 *
11
 * Copyright (C) 2000, 2001  Paolo Alberelli
12
 *
13
 */
14
 
15
/*
16
 * The semid64_ds structure for i386 architecture.
17
 * Note extra padding because this structure is passed back and forth
18
 * between kernel and user space.
19
 *
20
 * Pad space is left for:
21
 * - 64-bit time_t to solve y2038 problem
22
 * - 2 miscellaneous 32-bit values
23
 */
24
 
25
struct semid64_ds {
26
        struct ipc64_perm sem_perm;             /* permissions .. see ipc.h */
27
        __kernel_time_t sem_otime;              /* last semop time */
28
        unsigned long   __unused1;
29
        __kernel_time_t sem_ctime;              /* last change time */
30
        unsigned long   __unused2;
31
        unsigned long   sem_nsems;              /* no. of semaphores in array */
32
        unsigned long   __unused3;
33
        unsigned long   __unused4;
34
};
35
 
36
#endif /* __ASM_SH64_SEMBUF_H */

powered by: WebSVN 2.1.0

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