Annotation of 40BSD/sys/h/dmap.h, revision 1.1.1.1

1.1       root        1: /*     dmap.h  4.1     11/9/80 */
                      2: 
                      3: /*
                      4:  * Definitions for the mapping of vitual swap
                      5:  * space to the physical swap area - the disk map.
                      6:  */
                      7: 
                      8: #define        NDMAP           16      /* size of the swap area map */
                      9: #define        DMMIN           16      /* the initial block size in clicks */
                     10: #define        DMMAX           1024    /* max block size alloc on drum = .5M byte */
                     11: #define        DMTEXT          1024    /* size of blocks of pure text = .5M byte */
                     12: 
                     13: struct dmap
                     14: {
                     15:        swblk_t dm_size;        /* current size used by process */
                     16:        swblk_t dm_alloc;       /* amount of physical swap space allocated */
                     17:        swblk_t dm_map[NDMAP];  /* first disk block number in each chunk */
                     18: };
                     19: #ifdef KERNEL
                     20: struct dmap zdmap;
                     21: #endif
                     22: 
                     23: /*
                     24:  * The following structure is that ``returned''
                     25:  * from a call to vstodb().
                     26:  */
                     27: struct dblock
                     28: {
                     29:        swblk_t db_base;        /* base of physical contig drum block */
                     30:        swblk_t db_size;        /* size of block */
                     31: };

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.