FreeCalypso > hg > ffs-editor
comparison src/nucleus/hid.c @ 0:92470e5d0b9e
src: partial import from FC Selenite
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Fri, 15 May 2020 01:28:16 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:92470e5d0b9e |
---|---|
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 /* hid.c Nucleus PLUS 1.14 */ | |
17 /* */ | |
18 /* COMPONENT */ | |
19 /* */ | |
20 /* HI - History Management */ | |
21 /* */ | |
22 /* DESCRIPTION */ | |
23 /* */ | |
24 /* This file contains global data structures for use within the */ | |
25 /* History Management component. */ | |
26 /* */ | |
27 /* DATA STRUCTURES */ | |
28 /* */ | |
29 /* HID_History_Enable History saving enabled flag */ | |
30 /* HID_Write_Index Current write index into */ | |
31 /* history table */ | |
32 /* HID_Read_Index Current read index into */ | |
33 /* history table */ | |
34 /* HID_Entry_Count Number of entries in the */ | |
35 /* table counter */ | |
36 /* HID_History_Protect History protection */ | |
37 /* */ | |
38 /* FUNCTIONS */ | |
39 /* */ | |
40 /* None */ | |
41 /* */ | |
42 /* DEPENDENCIES */ | |
43 /* */ | |
44 /* hi_defs.h History Management constants */ | |
45 /* */ | |
46 /* HISTORY */ | |
47 /* */ | |
48 /* DATE REMARKS */ | |
49 /* */ | |
50 /* 03-01-1993 Created initial version 1.0 */ | |
51 /* 04-19-1993 Verified version 1.0 */ | |
52 /* 03-01-1994 Updated copyright notice, */ | |
53 /* resulting in version 1.1 */ | |
54 /* */ | |
55 /* 03-18-1994 Verified version 1.1 */ | |
56 /* 04-17-1996 updated to version 1.2 */ | |
57 /* 03-24-1998 Released version 1.3 */ | |
58 /* 03-26-1999 Released 1.11m (new release */ | |
59 /* numbering scheme) */ | |
60 /* 04-17-2002 Released version 1.13m */ | |
61 /* 11-07-2002 Released version 1.14 */ | |
62 /*************************************************************************/ | |
63 #define NU_SOURCE_FILE | |
64 | |
65 #include "hi_defs.h" /* History constants */ | |
66 | |
67 | |
68 /* HID_History_Enable is a flag that indicates whether or not history saving | |
69 is enabled. If this value is NU_FALSE, history saving is disabled. | |
70 Otherwise, history saving is enabled. */ | |
71 | |
72 INT HID_History_Enable; | |
73 | |
74 | |
75 /* HID_Write_Index is the index of the next available entry in the history | |
76 table. */ | |
77 | |
78 INT HID_Write_Index; | |
79 | |
80 | |
81 /* HID_Read_Index is the index of the oldest entry in the history table. */ | |
82 | |
83 INT HID_Read_Index; | |
84 | |
85 | |
86 /* HID_Entry_Count keeps track of the number of entries currently | |
87 in the history table. */ | |
88 | |
89 INT HID_Entry_Count; | |
90 | |
91 | |
92 /* HID_History_Protect is a protection structure used to block any other | |
93 thread from access to the history data structures. */ | |
94 | |
95 TC_PROTECT HID_History_Protect; | |
96 | |
97 | |
98 | |
99 |