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 config String defaultMemSegId = null;
55
56 /*!
57 * ======== enableLogging ========
58 * If set to true, enable data generation necessary for CE benchmarking
59 * analysis.
60 */
61 config bool enableLogging = true;
62
63 /*!
64 * ======== traceBufferSize ========
65 * Size of the server trace buffer, in MAUs.
66 *
67 * The server trace buffer is a circular buffer of characters written
68 * to by clients of ti.sdo.ce.osal.Trace (and ti.sdo.utils.trace.GT) and
69 * read by the Engine_*Trace() methods.
70 *
71 * All the trace data in the target memory is stored into a globally
72 * visible character buffer
73 * Char Global_traceBuffer[ <traceBufferSize> ];
74 */
75 config Int traceBufferSize = 32768;
76
77 /*!
78 * ======== logName ========
79 * Name of buffer used for capturing benchmarking data.
80 *
81 * In BIOS environments, this is the name of the BIOS LOG.
82 */
83 config String logName = "ti_sdo_ce_osal_LOG_Buffer";
84
85 /*!
86 * ======== logSize ========
87 * Size of buffer used for capturing benchmarking data.
88 */
89 config int logSize = 256;
90
91 /*!
92 * ======== logType ========
93 * Type of buffer used for capturing benchmarking data.
94 *
95 * This can be either "fixed" or "circular".
96 */
97 config String logType = "circular";
98
99 /*!
100 * ======== logSeg ========
101 * Memory segment for the buffer used for capturing benchmarking data.
102 */
103 config String logSeg = null;
104
105 /*!
106 * ======== debug ========
107 * Enable the debug profile of the osal BIOS module.
108 */
109 config Bool debug = false;
110
111 override bool supportsLogging();
112 }
113 114 115
116