00001 /** ============================================================================ 00002 * @file drx416gem_hal_boot.h 00003 * 00004 * @path $(DSPLINK)/gpp/inc/sys/arch/DRX416GEM/ 00005 * 00006 * @brief Hardware Abstraction Layer for Davinci Boot controller. 00007 * Defines the Platform specific HAL (Hardware Abstraction Layer) 00008 * object. 00009 * 00010 * @ver 1.65.00.03 00011 * ============================================================================ 00012 * @copyright Copyright (C) 2002-2009, Texas Instruments Incorporated - 00013 * http://www.ti.com/ 00014 * 00015 * Redistribution and use in source and binary forms, with or without 00016 * modification, are permitted provided that the following conditions 00017 * are met: 00018 * 00019 * * Redistributions of source code must retain the above copyright 00020 * notice, this list of conditions and the following disclaimer. 00021 * 00022 * * Redistributions in binary form must reproduce the above copyright 00023 * notice, this list of conditions and the following disclaimer in the 00024 * documentation and/or other materials provided with the distribution. 00025 * 00026 * * Neither the name of Texas Instruments Incorporated nor the names of 00027 * its contributors may be used to endorse or promote products derived 00028 * from this software without specific prior written permission. 00029 * 00030 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 00031 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, 00032 * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 00033 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR 00034 * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 00035 * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 00036 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; 00037 * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 00038 * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 00039 * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 00040 * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 00041 * ============================================================================ 00042 */ 00043 00044 00045 #if !defined (DRX416GEM_HAL_BOOT_H) 00046 #define DRX416GEM_HAL_BOOT_H 00047 00048 00049 /* ----------------------------------- DSP/BIOS Link */ 00050 #include <dsplink.h> 00051 00052 00053 #if defined (__cplusplus) 00054 extern "C" { 00055 #endif 00056 00057 00058 /** ============================================================================ 00059 * @func DRX416GEM_halBootCtrl 00060 * 00061 * @brief Boot controller. 00062 * 00063 * @param halObj. 00064 * Pointer to HAL object. 00065 * @param cmd. 00066 * Command. 00067 * @param arg. 00068 * Command specific arguments. 00069 * 00070 * @return DSP_SOK 00071 * Operation successfully completed. 00072 * DSP_EFAIL 00073 * All other error conditions. 00074 * 00075 * @pre None. 00076 * 00077 * @post None. 00078 * 00079 * @see None 00080 * ============================================================================ 00081 */ 00082 NORMAL_API 00083 DSP_STATUS 00084 DRX416GEM_halBootCtrl (IN Pvoid halObj, 00085 IN DSP_BootCtrlCmd cmd, 00086 IN OUT Pvoid arg) ; 00087 00088 #if defined (__cplusplus) 00089 } 00090 #endif 00091 00092 00093 #endif /* !defined (DRX416GEM_HAL_BOOT_H) */