comparison src/gpf2/inc/nuc/cs_defs.h @ 1:864b8cc0cf63

src/gpf2: preened GPF goo from TCS211
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 25 Sep 2016 23:38:58 +0000
parents
children
comparison
equal deleted inserted replaced
0:945cf7f506b2 1:864b8cc0cf63
1 /*************************************************************************/
2 /* */
3 /* Copyright (c) 1993-1996 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.2 */
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 /* M.Q. Qian 04-17-1996 updated to version 1.2 */
61 /* */
62 /*************************************************************************/
63
64 #include "nucleus.h" /* Include Nucleus constants */
65
66
67 /* Check to see if the file has been included already. */
68 #ifndef CS_DEFS
69 #define CS_DEFS
70
71
72 /* Define a common node data structure that can be included inside of
73 other system data structures. */
74
75 typedef struct CS_NODE_STRUCT
76 {
77 struct CS_NODE_STRUCT *cs_previous;
78 struct CS_NODE_STRUCT *cs_next;
79 DATA_ELEMENT cs_priority;
80
81 #if PAD_1
82 DATA_ELEMENT cs_padding[PAD_1];
83 #endif
84
85 } CS_NODE;
86
87 #endif