|
|
1.1 root 1: /*
2: * static char ID_glblsh[] = "@(#) globals.h: 1.1 1/7/82";
3: */
4:
5: /*
6: * Global SDP data structures
7: *
8: *
9: *
10: * callstatus sdpinit() "called already?" flag
11: * direct_names root directory to files making up an
12: * address space
13: * file_size maximum sizes of files making up an
14: * address space
15: * frames SDP page frmes
16: * global_frames control information for each of the address
17: * spaces
18: * lru pointer to least recently used frame
19: * manager control information on each SDP frame
20: * mru pointer to most recently used frame
21: * num_linked number of unlocked, free, frames
22: * num_partitions number of page frame partitions
23: * num_spaces number of open address spaces
24: * open_spacenumbers space ids of the open address spaces
25: * partitions number of page frames in each partition
26: * partreset usage count at which page frame partition
27: * sizes are recomputed
28: * partusage usage count for each partition
29: */
30:
31: char frames[NUMBERFRAMES][PAGESIZE];
32: MANAGER manager[NUMBERFRAMES];
33: HEADER global_frames[MAXATTACH];
34: int lru[DPARTSIZE];
35: int mru[DPARTSIZE];
36:
37: char direct_names[MAXATTACH][NAMELENG];
38: long file_size[MAXFILES] = DFILELENG;
39:
40: int partitions[DPARTSIZE] = DPARTITIONS;
41: int partreset = DPARTRESET;
42: int partusage[DPARTSIZE+1];
43:
44: int callstatus = NOTCALLEDBEFORE;
45:
46: int num_linked[DPARTSIZE];
47: int num_partitions = DPARTSIZE;
48: int num_spaces = 0;
49: int open_spacenumbers[MAXATTACH];
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.