|
|
1.1 root 1: /* Copyright (c) 1987 AT&T */
2: /* All Rights Reserved */
3:
4: /* THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF AT&T */
5: /* The copyright notice above does not evidence any */
6: /* actual or intended publication of such source code. */
7:
8: #include <sccsid.h>
9: HVERSION(global, @(#)global.h 1.1.1.2 (5/12/87));
10:
11: extern long _addrSys;
12: typedef int (*ptr_fint)();
13: #define Sys ((ptr_fint *)_addrSys)
14: #define I_Ref(t,i) (*(t *)(Sys[i]))
15: #define P_Array(t,i) ((t *)(Sys[i]))
16: #define D_Ref(t,i) (*(t *)&(Sys[i]))
17: #define DP_Ref(t,i) ((t *)&(Sys[i]))
18: #define DD_Ref(t,o,i) (((t *)&Sys[i])[o])
19:
20:
21: /* PTR ENTRIES */
22:
23: #define B_cap I_Ref(struct Bitmap, 2)
24: #define B_checkmark I_Ref(struct Bitmap, 3)
25: #define B_down I_Ref(struct Bitmap, 4)
26: #define B_h1 I_Ref(struct Bitmap, 5)
27: #define B_h2 I_Ref(struct Bitmap, 6)
28: #define B_insert I_Ref(struct Bitmap, 7)
29: #define B_local I_Ref(struct Bitmap, 8)
30: #define B_mux I_Ref(struct Bitmap, 9)
31: #define B_print I_Ref(struct Bitmap, 10)
32: #define B_rtarrow I_Ref(struct Bitmap, 11)
33: #define B_scroll I_Ref(struct Bitmap, 12)
34: #define B_up I_Ref(struct Bitmap, 15)
35: #define C_arrows I_Ref(struct Texture16, 17)
36: #define C_insert I_Ref(struct Texture16, 20)
37: #define C_cup I_Ref(struct Texture16, 36)
38: #define C_deadmouse I_Ref(struct Texture16, 37)
39: #define C_skull I_Ref(struct Texture16, 38)
40: #define C_target I_Ref(struct Texture16, 39)
41: #define T_background I_Ref(struct Texture16, 72)
42: #define T_black I_Ref(struct Texture16, 73)
43: #define T_checks I_Ref(struct Texture16, 74)
44: #define T_grey I_Ref(struct Texture16, 75)
45: #define T_grey2 I_Ref(struct Texture16, 76)
46: #define T_white I_Ref(struct Texture16, 77)
47: #define botbits P_Array(int, 176)
48: #define mediumfont I_Ref(struct Font, 239)
49: #define physical I_Ref(struct Bitmap, 254)
50: #define largefont I_Ref(struct Font, 412)
51: #define smallfont I_Ref(struct Font, 687)
52: #define topbits P_Array(int, 731)
53: #define ver_int I_Ref(long, 750)
54: #define ver_str P_Array(char, 751)
55:
56: /* BSS ENTRIES */
57:
58: #define Msg_queue D_Ref(struct msqid_ds *, -35)
59: #define P D_Ref(struct Proc *, -38)
60: #define Brammax D_Ref(char *, -73)
61: #define Brammin D_Ref(char *, -74)
62: #define Rammax D_Ref(char *, -76)
63: #define Rammin D_Ref(char *, -123)
64: #define Rommax D_Ref(char *, -124)
65: #define Rommin D_Ref(char *, -125)
66: #define alloclevel D_Ref(long *, -47)
67: #define alloclimit D_Ref(long *, -48)
68: #define debugger D_Ref(struct Proc *, -119)
69: #define gclevel D_Ref(long *, -54)
70: #define kbdid D_Ref(int, -101)
71: #define kbdproc D_Ref(struct Proc *, -57)
72: #define memendp D_Ref(long *, -65)
73: #define memstartp D_Ref(long *, -66)
74:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.