|
|
1.1 ! root 1: /* machdep.c 6.1 83/07/29 */ ! 2: ! 3: #include "../h/param.h" ! 4: ! 5: #include "../vax/mtpr.h" ! 6: ! 7: /*ARGSUSED*/ ! 8: /*VARARGS1*/ ! 9: mtpr(regno, value) ! 10: { ! 11: ! 12: asm(" mtpr 8(ap),4(ap)"); ! 13: } ! 14: ! 15: /*ARGSUSED*/ ! 16: mfpr(regno) ! 17: { ! 18: ! 19: asm(" mfpr 4(ap),r0"); ! 20: #ifdef lint ! 21: return (0); ! 22: #endif ! 23: } ! 24: ! 25: /* ! 26: * Copy bytes within kernel ! 27: */ ! 28: /*ARGSUSED*/ ! 29: bcopy(from, to, count) ! 30: caddr_t from, to; ! 31: unsigned count; ! 32: { ! 33: ! 34: asm(" movc3 12(ap),*4(ap),*8(ap)"); ! 35: }
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.