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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [gdb-5.0/] [gdb/] [osf-share/] [cma_sequence.h] - Blame information for rev 1774

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

Line No. Rev Author Line
1 106 markom
/*
2
 * (c) Copyright 1990-1996 OPEN SOFTWARE FOUNDATION, INC.
3
 * (c) Copyright 1990-1996 HEWLETT-PACKARD COMPANY
4
 * (c) Copyright 1990-1996 DIGITAL EQUIPMENT CORPORATION
5
 * (c) Copyright 1991, 1992 Siemens-Nixdorf Information Systems
6
 * To anyone who acknowledges that this file is provided "AS IS" without
7
 * any express or implied warranty: permission to use, copy, modify, and
8
 * distribute this file for any purpose is hereby granted without fee,
9
 * provided that the above copyright notices and this notice appears in
10
 * all source code copies, and that none of the names listed above be used
11
 * in advertising or publicity pertaining to distribution of the software
12
 * without specific, written prior permission.  None of these organizations
13
 * makes any representations about the suitability of this software for
14
 * any purpose.
15
 */
16
/*
17
 *      Header file for sequence generator functions
18
 */
19
 
20
#ifndef CMA_SEQUENCE
21
#define CMA_SEQUENCE
22
 
23
/*
24
 *  INCLUDE FILES
25
 */
26
 
27
/*
28
 * CONSTANTS AND MACROS
29
 */
30
 
31
/*
32
 * TYPEDEFS
33
 */
34
 
35
#ifndef __STDC__
36
struct CMA__T_INT_MUTEX;
37
#endif
38
 
39
typedef struct CMA__T_SEQUENCE {
40
    struct CMA__T_INT_MUTEX     *mutex; /* Serialize access to counter */
41
    cma_t_natural               seq;    /* Sequence number for object */
42
    } cma__t_sequence;
43
 
44
/*
45
 *  GLOBAL DATA
46
 */
47
 
48
/*
49
 * INTERNAL INTERFACES
50
 */
51
 
52
extern cma_t_natural cma__assign_sequence (cma__t_sequence *);
53
 
54
extern void cma__init_sequence (cma__t_sequence *);
55
 
56
#endif

powered by: WebSVN 2.1.0

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