File:  [XINU] / xinu / sys / ovfloff.c
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 17:39:03 2018 UTC (8 years, 2 months ago) by root
Branches: xinu, MAIN
CVS tags: xinu-19870308, HEAD
Xinu for VAX

/* ovfloff.c -- ovfloff */

#include <kernel.h>

/*------------------------------------------------------------------------
 * ovfloff -- turn off checking for integer overflow
 *------------------------------------------------------------------------
 */

SYSCALL ovfloff()
{
	asm ("movpsl	r0");		/* return old psl value, clear saved*/
	asm ("bicl2	$0x20, 4(fp)");	/* psl int overflow enable bit (on  */
}					/* stack frame). New psl popped by  */
					/* ret)				    */

unix.superglobalmegacorp.com

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