|
|
1.1 root 1: /* ovflon.c -- ovflon */
2:
3: #include <kernel.h>
4:
5: /*------------------------------------------------------------------------
6: * ovflon -- turn on checking for integer overflow
7: *------------------------------------------------------------------------
8: */
9:
10: SYSCALL ovflon()
11: {
12: asm ("movpsl r0"); /* return old psl value, set saved */
13: asm ("bisl2 $0x20, 4(fp)"); /* psl int overflow enable bit (on */
14: } /* stack frame). New psl popped by */
15: /* ret. */
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.