You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
199 lines
7.2 KiB
199 lines
7.2 KiB
/***************************************************************************** |
|
* Copyright Statement: |
|
* --------------------------- |
|
* This software/firmware and related documentation ("MediaTek Software") are |
|
* protected under relevant copyright laws. The information contained herein |
|
* is confidential and proprietary to MediaTek Inc. and/or its licensors. |
|
* Without the prior written permission of MediaTek inc. and/or its licensors, |
|
* any reproduction,modification, use or disclosure of MediaTek Software, and |
|
* information contained herein, in whole or in part, shall be strictly prohibited. |
|
* |
|
* MediaTek Inc.(C)2011.All rights reserved. |
|
* |
|
* BY OPENING THIS FILE, RECEIVER HEREBY UNEQUIVOCALLY ACKNOWLEDGES AND |
|
* AGREES THAT THE SOFTWARE/FIRMWARE AND ITS DOCUMENTATIONS ("MEDIATEK |
|
* SOFTWARE") RECEIVED FROM MEDIATEK AND/OR ITS REPRESENTATIVES ARE PROVIDED |
|
* TO RECEIVER ON AN "AS-IS" BASIS ONLY. MEDIATEK EXPRESSLY DISCLAIMS ANY AND ALL |
|
* WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED |
|
* WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR |
|
* NONINFRINGEMENT. NEITHER DOES MEDIATEK PROVIDE ANY WARRANTY WHATSOEVER |
|
* WITH RESPECT TO THE SOFTWARE OF ANY THIRD PARTY WHICH MAY BE USED BY, |
|
* INCORPORATED IN, OR SUPPLIED WITH THE MEDIATEK SOFTWARE, AND RECEIVER |
|
* AGREES TO LOOK ONLY TO SUCH THIRD PARTY FOR ANY WARRANTY CLAIM RELATING |
|
* THERETO. RECEIVER EXPRESSLY ACKNOWLEDGES THAT IT IS RECEIVER'S SOLE |
|
* RESPONSIBILITY TO OBTAIN FROM ANY THIRD PARTY ALL PROPER LICENSES |
|
* CONTAINED IN MEDIATEK SOFTWARE. MEDIATEK SHALL ALSO NOT BE RESPONSIBLE FOR |
|
* ANY MEDIATEK SOFTWARE RELEASES MADE TO RECEIVER'S SPECIFICATION OR TO |
|
* CONFORM TO A PARTICULAR STANDARD OR OPEN FORUM. RECEIVER'S SOLE AND |
|
* EXCLUSIVE REMEDY AND MEDIATEK'S ENTIRE AND CUMULATIVE LIABILITY WITH RESPECT |
|
* TO THE MEDIATEK SOFTWARE RELEASED HEREUNDER WILL BE,AT MEDIATEK'S OPTION, |
|
* TO REVISE OR REPLACE THE MEDIATEK SOFTWARE AT ISSUE,OR REFUND ANY SOFTWARE |
|
* LICENSE FEES OR SERVICE CHARGE PAID BY RECEIVER TO MEDIATEK FOR SUCH MEDIATEK |
|
* SOFTWARE AT ISSUE. |
|
* |
|
*****************************************************************************/ |
|
|
|
/***************************************************************************** |
|
* |
|
* Filename: |
|
* --------- |
|
* modem.h |
|
* |
|
* Project: |
|
* -------- |
|
* MT6291 Project |
|
* |
|
* Description: |
|
* ------------ |
|
* |
|
* Author: |
|
* ------- |
|
* ------- |
|
****************************************************************************/ |
|
|
|
#if defined(__DSP_CODEBASE_MT6291P__) |
|
// Users should use dsp_header_define.h to use XXIF header files rather than directly using them |
|
#define INCLUDE_DSP_HEADER_ENABLE |
|
#include "mt6293/xxif_checksum.h" |
|
#if defined(__MIPS_IA__) |
|
//#include "mt6293/trash/icc_sec/inc/CSIF_ICC_ALL.h" |
|
//#include "mt6293/trash/imc_sec/inc/CSIF_IMC_ALL.h" |
|
//#include "mt6293/trash/mpc_sec/inc/CSIF_MPC_ALL.h" |
|
#endif // __CR4__ |
|
#endif // __DSP_CODEBASE_MT6291P__ |
|
|
|
|
|
/* |
|
#ifndef __DSP_HEADER_DEFINE_CSIF_H__ |
|
#define __DSP_HEADER_DEFINE_CSIF_H__ |
|
|
|
#if defined(__DSP_CODEBASE_MT6291__) |
|
// Users should use dsp_header_define.h to use XXIF header files rather than directly using them |
|
#define INCLUDE_DSP_HEADER_ENABLE |
|
|
|
#include "mt6291/xxif_checksum.h" |
|
#if defined(__CORESONIC__) |
|
#if defined(__CORE_ICC__) |
|
#include "mt6291/icc_sec/inc/CSIF_ICC_ALL.h" |
|
#endif |
|
|
|
#if defined(__CORE_IMC__) |
|
#include "mt6291/imc_sec/inc/CSIF_IMC_ALL.h" |
|
#endif |
|
|
|
#if defined(__CORE_MPC__) |
|
#include "mt6291/mpc_sec/inc/CSIF_MPC_ALL.h" |
|
#endif |
|
|
|
// Dedicated path for ICC running UT |
|
#if defined(__CORE_ICC__) && defined(F_SCHEDULER_INFO_FROM_CSIF) |
|
#define USE_FAKE_CSIF |
|
#include "mt6291/imc_sec/inc/CSIF_IMC_ALL.h" |
|
#undef USE_FAKE_CSIF |
|
#endif |
|
#endif // __CORESONIC__ |
|
|
|
#if defined(__CR4__) |
|
#include "mt6291/icc_sec/inc/CSIF_ICC_ALL.h" |
|
#include "mt6291/imc_sec/inc/CSIF_IMC_ALL.h" |
|
#include "mt6291/mpc_sec/inc/CSIF_MPC_ALL.h" |
|
#include "mt6291/dsp_table/lbootsonic_dsptable.h" |
|
#endif // __CR4__ |
|
|
|
#undef INCLUDE_DSP_HEADER_ENABLE |
|
#endif // __DSP_CODEBASE_MT6291__ |
|
|
|
|
|
#if defined(__DSP_CODEBASE_MT6291M__) |
|
// Users should use dsp_header_define.h to use XXIF header files rather than directly using them |
|
#define INCLUDE_DSP_HEADER_ENABLE |
|
|
|
#include "mt6291m/xxif_checksum.h" |
|
#if defined(__CORESONIC__) |
|
#if defined(__CORE_ICC__) |
|
#include "mt6291m/icc_sec/inc/CSIF_ICC_ALL.h" |
|
#endif |
|
|
|
#if defined(__CORE_IMC__) |
|
#include "mt6291m/imc_sec/inc/CSIF_IMC_ALL.h" |
|
#endif |
|
|
|
#if defined(__CORE_MPC__) |
|
#include "mt6291m/mpc_sec/inc/CSIF_MPC_ALL.h" |
|
#endif |
|
|
|
// Dedicated path for ICC running UT |
|
#if defined(__CORE_ICC__) && defined(F_SCHEDULER_INFO_FROM_CSIF) |
|
#define USE_FAKE_CSIF |
|
#include "mt6291m/imc_sec/inc/CSIF_IMC_ALL.h" |
|
#undef USE_FAKE_CSIF |
|
#endif |
|
#endif // __CORESONIC__ |
|
|
|
#if defined(__CR4__) |
|
#include "mt6291m/icc_sec/inc/CSIF_ICC_ALL.h" |
|
#include "mt6291m/imc_sec/inc/CSIF_IMC_ALL.h" |
|
#include "mt6291m/mpc_sec/inc/CSIF_MPC_ALL.h" |
|
#include "mt6291m/dsp_table/lbootsonic_dsptable.h" |
|
#endif // __CR4__ |
|
#endif // __DSP_CODEBASE_MT6291M__ |
|
|
|
|
|
#if defined(__DSP_CODEBASE_MT6291P__) |
|
// Users should use dsp_header_define.h to use XXIF header files rather than directly using them |
|
#define INCLUDE_DSP_HEADER_ENABLE |
|
|
|
#include "mt6291p/xxif_checksum.h" |
|
#if defined(__CORESONIC__) |
|
#if defined(__CORE_ICC__) |
|
#include "mt6291p/icc_sec/inc/CSIF_ICC_ALL.h" |
|
#endif |
|
|
|
#if defined(__CORE_IMC__) |
|
#include "mt6291p/imc_sec/inc/CSIF_IMC_ALL.h" |
|
#endif |
|
|
|
#if defined(__CORE_MPC__) |
|
#include "mt6291p/mpc_sec/inc/CSIF_MPC_ALL.h" |
|
#endif |
|
|
|
// Dedicated path for ICC running UT |
|
#if defined(__CORE_ICC__) && defined(F_SCHEDULER_INFO_FROM_CSIF) |
|
#define USE_FAKE_CSIF |
|
#include "mt6291p/imc_sec/inc/CSIF_IMC_ALL.h" |
|
#undef USE_FAKE_CSIF |
|
#endif |
|
#endif // __CORESONIC__ |
|
|
|
#if defined(__CR4__) |
|
#include "mt6291p/icc_sec/inc/CSIF_ICC_ALL.h" |
|
#include "mt6291p/imc_sec/inc/CSIF_IMC_ALL.h" |
|
#include "mt6291p/mpc_sec/inc/CSIF_MPC_ALL.h" |
|
#include "mt6291p/dsp_table/lbootsonic_dsptable.h" |
|
#endif // __CR4__ |
|
#endif // __DSP_CODEBASE_MT6291P__ |
|
|
|
|
|
#if defined(__DSP_CODEBASE_MT6293M__) |
|
// Users should use dsp_header_define.h to use XXIF header files rather than directly using them |
|
#define INCLUDE_DSP_HEADER_ENABLE |
|
|
|
#include "mt6293m/xxif_checksum.h" |
|
#if defined(__USIP__) || defined(__MVP__) |
|
#include "mt6293m/lte/inc/CSIF_ALL.h" |
|
#include "mt6293m/bigram/bigram.h" |
|
#endif |
|
|
|
#if defined(__CR4__) |
|
#include "mt6293m/lte/inc/CSIF_ALL.h" |
|
#include "mt6293m/bigram/bigram.h" |
|
#include "mt6293m/dsp_table/lbootsonic_dsptable.h" // TBD |
|
#endif |
|
|
|
#undef INCLUDE_DSP_HEADER_ENABLE |
|
#endif // __DSP_CODEBASE_MT6293M__ |
|
|
|
|
|
#endif // __DSP_HEADER_DEFINE_CSIF_H__ |
|
|
|
*/
|
|
|