1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
33
34 /*!
35 * ======== Settings ========
36 * Global OS Abstract Layer Configuration
37 */
38 @Template("./Settings.xdt")
39
40 metaonly module Settings inherits ti.sdo.ce.osal.IOsal
41 {
42 /*!
43 * ======== defaultMemSegId ========
44 * Default ID of the memory segment from which to allocate space
45 * (for Memory_alloc/free() calls, as opposed to Memory_segAlloc/Free()).
46 * Typically it's the segment where all other code and data go.
47 *
48 * If left as "null", the system will try to find a BIOS segment named
49 * "DDR" or "DDR2" and assign its name to this field. In the future
50 * this auto-find feature may be removed, so it's best that user .cfg
51 * script set this value directly to what they know is appropriate
52 * segment.
53 *
54 * Only set this parameter if not using ti.sdo.osal.Global.runtimeEnv
55 * to set the target OS.
56 */
57 config String defaultMemSegId = null;
58
59 /*!
60 * ======== enableLogging ========
61 * If set to true, enable data generation necessary for CE benchmarking
62 * analysis.
63 *
64 * Only set this parameter if not using ti.sdo.osal.Global.runtimeEnv
65 * to set the target OS.
66 */
67 config bool enableLogging = true;
68
69 /*!
70 * ======== traceBufferSize ========
71 * Size of the server trace buffer, in MAUs.
72 *
73 * The server trace buffer is a circular buffer of characters written
74 * to by clients of ti.sdo.ce.osal.Trace (and ti.sdo.utils.trace.GT) and
75 * read by the Engine_*Trace() methods.
76 *
77 * All the trace data in the target memory is stored into a globally
78 * visible character buffer
79 * Char Global_traceBuffer[ <traceBufferSize> ];
80 *
81 * Only set this parameter if not using ti.sdo.osal.Global.runtimeEnv
82 * to set the target OS.
83 */
84 config Int traceBufferSize = 32768;
85
86 /*!
87 * ======== logName ========
88 * Name of buffer used for capturing benchmarking data.
89 *
90 * In BIOS environments, this is the name of the BIOS LOG.
91 *
92 * Only set this parameter if not using ti.sdo.osal.Global.runtimeEnv
93 * to set the target OS.
94 */
95 config String logName = "ti_sdo_ce_osal_LOG_Buffer";
96
97 /*!
98 * ======== logSize ========
99 * Size of buffer used for capturing benchmarking data.
100 *
101 * Only set this parameter if not using ti.sdo.osal.Global.runtimeEnv
102 * to set the target OS.
103 */
104 config int logSize = 256;
105
106 /*!
107 * ======== logType ========
108 * Type of buffer used for capturing benchmarking data.
109 *
110 * This can be either "fixed" or "circular".
111 *
112 * Only set this parameter if not using ti.sdo.osal.Global.runtimeEnv
113 * to set the target OS.
114 */
115 config String logType = "circular";
116
117 /*!
118 * ======== logSeg ========
119 * Memory segment for the buffer used for capturing benchmarking data.
120 *
121 * Only set this parameter if not using ti.sdo.osal.Global.runtimeEnv
122 * to set the target OS.
123 */
124 config String logSeg = null;
125
126 /*!
127 * ======== debug ========
128 * Enable the debug profile of the osal BIOS module.
129 *
130 * Deprecated, so don't document this.
131 * @_nodoc
132 */
133 config Bool debug = false;
134
135 override bool supportsLogging();
136 }
137 138 139 140
141