]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - mfp/cedev.git/blob - packages/ti/sdo/ce/utils/rtcfg/rtcfg_local_config.c
Linux: Add initial Linux autotools-based support
[mfp/cedev.git] / packages / ti / sdo / ce / utils / rtcfg / rtcfg_local_config.c
1 /*
2  *  Copyright 2013 by Texas Instruments Incorporated.
3  *
4  */
6 /*
7  * Copyright (c) 2013, Texas Instruments Incorporated
8  * All rights reserved.
9  *
10  * Redistribution and use in source and binary forms, with or without
11  * modification, are permitted provided that the following conditions
12  * are met:
13  *
14  * *  Redistributions of source code must retain the above copyright
15  *    notice, this list of conditions and the following disclaimer.
16  *
17  * *  Redistributions in binary form must reproduce the above copyright
18  *    notice, this list of conditions and the following disclaimer in the
19  *    documentation and/or other materials provided with the distribution.
20  *
21  * *  Neither the name of Texas Instruments Incorporated nor the names of
22  *    its contributors may be used to endorse or promote products derived
23  *    from this software without specific prior written permission.
24  *
25  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
26  * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
27  * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
28  * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
29  * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
30  * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
31  * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
32  * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
33  * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
34  * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
35  * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
36  *
37  */
38 /*
39  *  ======== rtcfg_local_config.c ========
40  *  Configuration parameters for local linux apps that will probably not
41  *  need to be modified.
42  */
44 #include <xdc/std.h>
46 #include <ti/sdo/ce/osal/Memory.h>
48 /*
49  *  ======== ti.sdo.ce Settings Configuration ========
50  *  Set to TRUE for 'checked' builds.
51  *  Declare VISA_checked as extern Bool in main.c, set to TRUE bofore the
52  *  call to CERuntime_init().
53  */
54 Bool VISA_checked = FALSE;
56 /*
57  * ======== ti.sdo.ce.alg.Algorithm Configuration ========
58  */
60 /*
61  *  ======== useHeap ========
62  *  Flag indicating whether algorithm memory should be allocated from
63  *  a heap or from a pool.
64  *
65  *  This flag is currently only used when CMEM is used to allocate memory
66  *  (e.g. ARM-side 'local' codecs).
67  */
68 Bool ti_sdo_ce_alg_Algorithm_useHeap = FALSE;
70 /*
71  *  ======== useCache ========
72  *  This flag indicates whether algorithm memory should be allocated from
73  *  cache-enabled buffers.
74  *
75  *  This flag is currently only used when CMEM is used to allocate memory
76  *  (e.g. ARM-side 'local' codecs).
77  *
78  *  Note that when cache-enabled buffers are used, it is the application's
79  *  responsibility to manage this cache.  See the various `Memory_` APIs
80  *  for cache services.
81  */
82 Bool ti_sdo_ce_alg_Algorithm_useCache = FALSE;
85 Bool Memory_skipVirtualAddressTranslation = FALSE;
87 UInt32 Memory_maxCbListSize = 100;
88 /*
89  *  @(#) ti.sdo.ce.utils.rtcfg; 1, 0, 1,3; 6-13-2013 00:19:39; /db/atree/library/trees/ce/ce-w08/src/ xlibrary
91  */