00001 00049 /* 00050 * ============================================================================ 00051 * 00052 * Copyright (c) 2008-2012, Texas Instruments Incorporated 00053 * 00054 * Redistribution and use in source and binary forms, with or without 00055 * modification, are permitted provided that the following conditions 00056 * are met: 00057 * 00058 * * Redistributions of source code must retain the above copyright 00059 * notice, this list of conditions and the following disclaimer. 00060 * 00061 * * Redistributions in binary form must reproduce the above copyright 00062 * notice, this list of conditions and the following disclaimer in the 00063 * documentation and/or other materials provided with the distribution. 00064 * 00065 * * Neither the name of Texas Instruments Incorporated nor the names of 00066 * its contributors may be used to endorse or promote products derived 00067 * from this software without specific prior written permission. 00068 * 00069 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 00070 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, 00071 * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 00072 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR 00073 * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 00074 * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 00075 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; 00076 * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 00077 * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 00078 * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 00079 * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 00080 * Contact information for paper mail: 00081 * Texas Instruments 00082 * Post Office Box 655303 00083 * Dallas, Texas 75265 00084 * Contact information: 00085 * http://www-k.ext.ti.com/sc/technical-support/product-information-centers.htm? 00086 * DCMP=TIHomeTracking&HQS=Other+OT+home_d_contact 00087 * ============================================================================ 00088 * 00089 */ 00090 00091 00092 00093 #ifndef GATE_H_0xAF6F 00094 #define GATE_H_0xAF6F 00095 00096 #include <ti/syslink/utils/IGateProvider.h> 00097 00098 #if defined (__cplusplus) 00099 extern "C" { 00100 #endif 00101 00102 extern IGateProvider_Handle Gate_systemHandle; 00103 00104 /* ============================================================================= 00105 * APIs 00106 * ============================================================================= 00107 */ 00108 /* Function to enter a Gate */ 00109 IArg Gate_enterSystem (void); 00110 00111 /* Function to leave a Gate */ 00112 Void Gate_leaveSystem (IArg key); 00113 00114 #if defined (__cplusplus) 00115 } 00116 #endif /* defined (__cplusplus) */ 00117 00118 #endif /* GATE_H_0xAF6F */