comparison src/cs/os/nucleus/cs_defs.h @ 0:b6a5e36de839

src/cs: initial import from Magnetite
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 15 Jul 2018 04:39:26 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:b6a5e36de839
1 /*************************************************************************/
2 /* */
3 /* Copyright (c) 1993-1994 Accelerated Technology, Inc. */
4 /* */
5 /* PROPRIETARY RIGHTS of Accelerated Technology are involved in the */
6 /* subject matter of this material. All manufacturing, reproduction, */
7 /* use, and sales rights pertaining to this subject matter are governed */
8 /* by the license agreement. The recipient of this software implicitly */
9 /* accepts the terms of the license. */
10 /* */
11 /*************************************************************************/
12
13 /*************************************************************************/
14 /* */
15 /* FILE NAME VERSION */
16 /* */
17 /* cs_defs.h PLUS 1.1 */
18 /* */
19 /* COMPONENT */
20 /* */
21 /* CS - Common Services */
22 /* */
23 /* DESCRIPTION */
24 /* */
25 /* This file contains data structure definitions used in the common */
26 /* service linked list routines. */
27 /* */
28 /* AUTHOR */
29 /* */
30 /* William E. Lamie, Accelerated Technology, Inc. */
31 /* */
32 /* DATA STRUCTURES */
33 /* */
34 /* CS_NODE Link node structure */
35 /* */
36 /* FUNCTIONS */
37 /* */
38 /* None */
39 /* */
40 /* DEPENDENCIES */
41 /* */
42 /* nucleus.h Nucleus PLUS constants */
43 /* */
44 /* HISTORY */
45 /* */
46 /* NAME DATE REMARKS */
47 /* */
48 /* W. Lamie 03-01-1993 Created initial version 1.0 */
49 /* D. Lamie 04-19-1993 Verified version 1.0 */
50 /* W. Lamie 06-01-1993 Added padding conditional into */
51 /* CS_NODE structure, making */
52 /* version 1.0a */
53 /* D. Lamie 06-01-1993 Verified version 1.0a */
54 /* W. Lamie 03-01-1994 Moved include files outside of */
55 /* the file #ifndef to allow the */
56 /* use of actual data structures, */
57 /* resulting in version 1.1 */
58 /* R. Pfaff - */
59 /* D. Lamie 03-18-1994 Verified version 1.1 */
60 /* */
61 /*************************************************************************/
62
63 #include "nucleus.h" /* Include Nucleus constants */
64
65
66 /* Check to see if the file has been included already. */
67 #ifndef CS_DEFS
68 #define CS_DEFS
69
70
71 /* Define a common node data structure that can be included inside of
72 other system data structures. */
73
74 typedef struct CS_NODE_STRUCT
75 {
76 struct CS_NODE_STRUCT *cs_previous;
77 struct CS_NODE_STRUCT *cs_next;
78 DATA_ELEMENT cs_priority;
79
80 #if PAD_1
81 DATA_ELEMENT cs_padding[PAD_1];
82 #endif
83
84 } CS_NODE;
85
86 #endif