1 ;/* BEGIN INCLUDE FILE: cat.mac */
 2 
 3 ; HISTORY COMMENTS:
 4 ;  1) change(86-06-15,Westcott), approve(87-07-13,mcr7580),
 5 ;     audit(87-07-13,Leskiw), install(87-08-07,MR12.1-1072):
 6 ;     Created.
 7 ;  2) change(86-09-04,Flegel), approve(87-07-13,mcr7580),
 8 ;     audit(87-07-13,Leskiw), install(87-08-07,MR12.1-1072):
 9 ;     Changed sleep_time to one word to match with
10 ;     "int" type in 'C'.
11 ;                                                      END HISTORY COMMENTS
12 
13 ;/* FUNCTION:
14 ;
15 ;Defines the structure of the remote Capability Address Table and the structure
16 ;of the local Capability Address Table.  Equivalent include file cat.h
17 ;
18 ;*/
19 
20 RESET_BIT       = 01                   ; Reset state of application
21 SUSPENDED_BIT   = 02                   ; Suspended state ...
22 SLEEPING_BIT    = 04                   ; Sleeping state ...
23 WAITING_BIT     = 010                  ; Waiting state ...
24 NULL_BIT        = 020                  ; No application entry
25 
26 ; Remote cat structure, for definition refer to cat.h
27 
28 remote_cat struc
29 major_capability db     ?
30 system_id        db     ?
31 capability_name  db     CAPABILITY_NAME_LENGTH dup(?)
32 rcflags          db     ?
33 remote_cat       ends
34 
35 
36 ; Local cat structure, for definition refer to cat.h
37 
38 local_cat        struc
39 next_cat         dw     ?
40 lcflags          db     ?
41 pad              db     ?       ; to avoid alignment problems
42 sleep_time       dd     ?
43 esreg            dw     ?
44 csreg            dw     ?
45 ssreg            dw     ?
46 dsreg            dw     ?
47 axreg            dw     ?
48 bxreg            dw     ?
49 cxreg            dw     ?
50 dxreg            dw     ?
51 sireg            dw     ?
52 direg            dw     ?
53 bpreg            dw     ?
54 spreg            dw     ?
55 ws_entry         dw     ?
56 waitreg          dw     ?
57 mcb_ptr          dw     ?
58 local_cat       ends
59 
60 ;/* END INCLUDE FILE: cat.mac */