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