1 /* 2 * Copyright (c) 2010, Texas Instruments Incorporated 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 9 * * Redistributions of source code must retain the above copyright 10 * notice, this list of conditions and the following disclaimer. 11 * 12 * * Redistributions in binary form must reproduce the above copyright 13 * notice, this list of conditions and the following disclaimer in the 14 * documentation and/or other materials provided with the distribution. 15 * 16 * * Neither the name of Texas Instruments Incorporated nor the names of 17 * its contributors may be used to endorse or promote products derived 18 * from this software without specific prior written permission. 19 * 20 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 21 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, 22 * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 23 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR 24 * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 25 * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 26 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; 27 * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 28 * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 29 * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 30 * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 31 * 32 */ 33 /* 34 * ======== TMS320CDM6446DSP.xdc ======== 35 */ 36 37 package ti.bios.power; 38 39 40 /*! DSP configuration module for the TMS320DM6446 device. 41 * 42 * Configuration parameters for the Local Power Manager running 43 * on the DSP core of a TMS320DM6446 device. 44 */ 45 @Template("./config.xdt") 46 47 metaonly module TMS320CDM6446DSP inherits ITMS320CDM644x { 48 49 //! dsp runtime context buffer 50 struct RuntimeContext { 51 UInt32 len; //! length of context buffer 52 Bool useUserFxns; //! override save/restore functions 53 String saveFxn; //! context save function name 54 String restoreFxn; //! context restore function name 55 }; 56 57 //! maximum allowable size for context buffer 58 readonly config unsigned CONTEXT_BUFFER_MAX_SIZE = 0x40000; 59 60 //! default value for dsp runtime context buffer 61 config RuntimeContext dspRC = { 62 len: 0x40000, 63 useUserFxns: false, 64 saveFxn: "", 65 restoreFxn: "", 66 }; 67 68 //! default value for vicp (imcop) runtime context buffer 69 config RuntimeContext imcopRC = { 70 len: 0x40000, 71 useUserFxns: false, 72 saveFxn: "", 73 restoreFxn: "", 74 }; 75 76 //! default edma channel to use for save/restore transfers 77 config UInt32 edmaChannel = 45; 78 79 /*! name given to target memory range for storing context data 80 * 81 * This must be set to a valid target memory range defined in the 82 * linker command file's memory section. 83 */ 84 config string targetMemoryRangeName = ""; 85 86 //! cpu name, useful for adding validation checks 87 readonly config string CPU_NAME = "DSP"; 88 } 89 /* 90 * @(#) ti.bios.power; 1, 1, 1,1; 4-30-2010 13:19:46; /db/atree/library/trees/power/power-g09x/src/ 91 */ 92