comparison src/nucleus/hi_defs.h @ 0:4e78acac3d88

src/{condat,cs,gpf,nucleus}: import from Selenite
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 16 Oct 2020 06:23:26 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:4e78acac3d88
1 /*************************************************************************/
2 /* */
3 /* Copyright Mentor Graphics Corporation 2002 */
4 /* All Rights Reserved. */
5 /* */
6 /* THIS WORK CONTAINS TRADE SECRET AND PROPRIETARY INFORMATION WHICH IS */
7 /* THE PROPERTY OF MENTOR GRAPHICS CORPORATION OR ITS LICENSORS AND IS */
8 /* SUBJECT TO LICENSE TERMS. */
9 /* */
10 /*************************************************************************/
11
12 /*************************************************************************/
13 /* */
14 /* FILE NAME VERSION */
15 /* */
16 /* hi_defs.h Nucleus PLUS 1.14 */
17 /* */
18 /* COMPONENT */
19 /* */
20 /* HI - History Management */
21 /* */
22 /* DESCRIPTION */
23 /* */
24 /* This file contains data structure definitions and constants for */
25 /* the History Management component. */
26 /* */
27 /* DATA STRUCTURES */
28 /* */
29 /* HI_HISTORY_ENTRY Entry in the history table */
30 /* */
31 /* FUNCTIONS */
32 /* */
33 /* None */
34 /* */
35 /* DEPENDENCIES */
36 /* */
37 /* tc_defs.h Thread Control definitions */
38 /* */
39 /* HISTORY */
40 /* */
41 /* DATE REMARKS */
42 /* */
43 /* 03-01-1993 Created initial version 1.0 */
44 /* 04-19-1993 Verified version 1.0 */
45 /* 03-01-1994 Moved include files outside of */
46 /* the file #ifndef to allow the */
47 /* use of actual data structures, */
48 /* resulting in version 1.1 */
49 /* */
50 /* 03-18-1994 Verified version 1.1 */
51 /* 04-17-1996 updated to version 1.2 */
52 /* 03-24-1998 Released version 1.3 */
53 /* 03-26-1999 Released 1.11m (new release */
54 /* numbering scheme) */
55 /* 04-17-2002 Released version 1.13m */
56 /* 11-07-2002 Released version 1.14 */
57 /*************************************************************************/
58
59 #include "tc_defs.h" /* Thread control constants */
60
61
62 /* Check to see if the file has been included already. */
63
64 #ifndef HI_DEFS
65 #define HI_DEFS
66
67
68 /* Define constants local to this component. */
69
70 #define HI_MAX_ENTRIES 30
71 #define HI_TASK 1
72 #define HI_HISR 2
73 #define HI_INITIALIZE 3
74
75
76 /* Define the History Entry data type. */
77
78 typedef struct HI_HISTORY_ENTRY_STRUCT
79 {
80 DATA_ELEMENT hi_id; /* ID of the history entry */
81 DATA_ELEMENT hi_caller; /* Task, HISR, or Initialize*/
82 UNSIGNED hi_param1; /* First parameter */
83 UNSIGNED hi_param2; /* Second parameter */
84 UNSIGNED hi_param3; /* Third parameter */
85 UNSIGNED hi_time; /* Clock tick time for entry*/
86 VOID *hi_thread; /* Calling thread's pointer */
87 } HI_HISTORY_ENTRY;
88
89 #endif
90
91
92
93
94