1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 2<html> 3 4<head> 5<META http-equiv="Content-Type" content="text/html; charset=windows-1252"> 6<META name="GENERATOR" content="Microsoft FrontPage 5.0"> 7<META http-equiv="Content-Style-Type" content="text/css"> 8<LINK rel="stylesheet" type="text/css" href="../../CSS/revolution.css"> 9<title>OSEnableInterrupts</title> 10</head> 11 12<body> 13 14<h1>OSEnableInterrupts</h1> 15 16<h2>Syntax</h2> 17<dl><dd><pre class="construction"> 18#include <revolution/os.h> 19 20BOOL OSEnableInterrupts(void); 21</pre></dd></dl> 22 23<h2>Arguments</h2> 24<p>None.</p> 25 26<h2>Return Values</h2> 27<p>As long as the return value is not 0, interrupts of the status before the function call are enabled. If the return value is 0, interrupts of the status before the function call are disabled.</p> 28 29<H2>Description</H2> 30<P>Enables external interrupts and decrementer exceptions.</P> 31 32<h2>See Also</h2> 33<P> 34<a href="../toc.html#Interrupt" target="contents">Interrupt Functions</a><BR> <a href="OSDisableInterrupts.html"><CODE>OSDisableInterrupts</CODE></a><BR> <a href="OSRestoreInterrupts.html"><CODE>OSRestoreInterrupts</CODE></a> 35</p> 36 37<H2>Revision History</H2> 38<P> 392008/12/11 Added that status is that before this function is called to the description of return values.<br>2006/03/01 Initial version. 40</P> 41 42<hr><p>CONFIDENTIAL</p></body> 43</html>