1: /*
   2:  * Copyright (c) 1982, 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:  *	@(#)machdep.c	7.1 (Berkeley) 6/5/86
   7:  */
   8: 
   9: #include "../h/param.h"
  10: 
  11: #include "../vax/mtpr.h"
  12: 
  13: /*ARGSUSED*/
  14: /*VARARGS1*/
  15: mtpr(regno, value)
  16: {
  17: 
  18:     asm("	mtpr	8(ap),4(ap)");
  19: }
  20: 
  21: /*ARGSUSED*/
  22: mfpr(regno)
  23: {
  24: 
  25:     asm("	mfpr	4(ap),r0");
  26: #ifdef lint
  27:     return (0);
  28: #endif
  29: }
  30: 
  31: /*
  32:  * Copy bytes within kernel
  33:  */
  34: /*ARGSUSED*/
  35: bcopy(from, to, count)
  36:     caddr_t from, to;
  37:     unsigned count;
  38: {
  39: 
  40:     asm("	movc3	12(ap),*4(ap),*8(ap)");
  41: }

Defined functions

bcopy defined in line 35; used 135 times
mtpr defined in line 15; never used
Last modified: 1986-06-05
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 875
Valid CSS Valid XHTML 1.0 Strict