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