1: /*
   2:  * Copyright (c) 1986 Regents of the University of California.
   3:  * All rights reserved.  The Berkeley software License Agreement
   4:  * specifies the terms and conditions for redistribution.
   5:  *
   6:  *	@(#)ubmapset.c	1.1 (2.10BSD Berkeley) 12/1/86
   7:  */
   8: 
   9: #include "../h/types.h"
  10: 
  11: #define UBMAP   ((physadr)0170200)
  12: 
  13: extern char ubmap;
  14: 
  15: ubmapset()
  16: {
  17:     register unsigned int i;
  18: 
  19:     if (ubmap)
  20:         for (i = 0; i < 62; i += 2) {
  21:             UBMAP->r[i] = i << 12;
  22:             UBMAP->r[i+1] = i >> 4;
  23:         }
  24: }

Defined functions

ubmapset defined in line 15; used 2 times

Defined macros

UBMAP defined in line 11; used 2 times
Last modified: 1988-08-19
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 1433
Valid CSS Valid XHTML 1.0 Strict