1: /* $Header: mem.h,v 10.3 86/02/01 15:47:01 tony Rel $ */
   2: /* mem.h	Data structure for maintaining memory allocation of vs100
   3:  *		framebuffer memory.
   4:  *
   5:  * Author:	Paul J. Asente
   6:  * 		Digital Equipment Corporation
   7:  * 		Western Reseach Lab
   8:  * Date:	June 1983
   9:  */
  10: 
  11: /****************************************************************************
  12:  *									    *
  13:  *  Copyright (c) 1983, 1984 by						    *
  14:  *  DIGITAL EQUIPMENT CORPORATION, Maynard, Massachusetts.		    *
  15:  *  All rights reserved.						    *
  16:  * 									    *
  17:  *  This software is furnished on an as-is basis and may be used and copied *
  18:  *  only with inclusion of the above copyright notice. This software or any *
  19:  *  other copies thereof may be provided or otherwise made available to     *
  20:  *  others only for non-commercial purposes.  No title to or ownership of   *
  21:  *  the software is hereby transferred.					    *
  22:  * 									    *
  23:  *  The information in this software is  subject to change without notice   *
  24:  *  and  should  not  be  construed as  a commitment by DIGITAL EQUIPMENT   *
  25:  *  CORPORATION.							    *
  26:  * 									    *
  27:  *  DIGITAL assumes no responsibility for the use  or  reliability of its   *
  28:  *  software on equipment which is not supplied by DIGITAL.		    *
  29:  * 									    *
  30:  *									    *
  31:  ****************************************************************************/
  32: 
  33: #include "param.h"
  34: 
  35: typedef struct _VSArea {
  36:     struct _VSArea *next;
  37:     struct _VSArea *prev;
  38:     caddr_t vsPtr;
  39:     struct {
  40:         unsigned int _vsFreeFlag : 1;
  41:         int _vsSize : 31;
  42:     } s;
  43:     union {
  44:         struct {
  45:         struct _VSArea *next;
  46:         struct _VSArea *prev;
  47:         } _vsFree;
  48:         int _vsType;
  49:     } u;
  50: } VSArea;
  51: 
  52: #define vsFreeFlag s._vsFreeFlag
  53: #define vsSize s._vsSize
  54: #define vsFree u._vsFree
  55: #define vsType u._vsType
  56: 
  57: #define VS_FREE 0
  58: #define VS_INUSE 1
  59: 
  60: #define BITMAP_TYPE 1
  61: #define HALFTONE_TYPE 2
  62: #define FONT_TYPE 3

Defined struct's

_VSArea defined in line 35; used 8 times

Defined typedef's

Defined macros

BITMAP_TYPE defined in line 60; used 3 times
FONT_TYPE defined in line 62; used 1 times
HALFTONE_TYPE defined in line 61; never used
VS_FREE defined in line 57; used 5 times
VS_INUSE defined in line 58; used 4 times
vsFree defined in line 54; used 32 times
vsFreeFlag defined in line 52; used 9 times
vsSize defined in line 53; used 14 times
vsType defined in line 55; used 2 times

Usage of this include

Last modified: 1986-02-01
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 907
Valid CSS Valid XHTML 1.0 Strict