Annotation of xinu/sys/ovfloff.c, revision 1.1.1.1

1.1       root        1: /* ovfloff.c -- ovfloff */
                      2: 
                      3: #include <kernel.h>
                      4: 
                      5: /*------------------------------------------------------------------------
                      6:  * ovfloff -- turn off checking for integer overflow
                      7:  *------------------------------------------------------------------------
                      8:  */
                      9: 
                     10: SYSCALL ovfloff()
                     11: {
                     12:        asm ("movpsl    r0");           /* return old psl value, clear saved*/
                     13:        asm ("bicl2     $0x20, 4(fp)"); /* psl int overflow enable bit (on  */
                     14: }                                      /* stack frame). New psl popped by  */
                     15:                                        /* ret)                             */

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.