33 U32BIT mheg_trace_debug = TRACE_VAL;
34 unsigned long mheg_trace_time = 0;
35 unsigned long last_trace_time = 0;
53 return mheg_trace_debug;
67 TRACE(TERROR, (
" 0x%x", mask))
68 mheg_trace_debug = mask;
74 void trace_set_time(
void)
79 void trace_dump_chars(
unsigned char *
data,
unsigned int len)
81 const char digits[16] = {
'0',
'1',
'2',
'3',
'4',
'5',
'6',
'7',
'8',
'9',
'A',
'B',
'C',
'D',
'E',
'F' };
83 for (i = 0; i !=
len; i++,
data++)
88 else if ((i & 0xf) == 7)
94 void trace_dump_uints(
U32BIT *
data,
unsigned int len,
unsigned int pitch)
96 const char digits[16] = {
'0',
'1',
'2',
'3',
'4',
'5',
'6',
'7',
'8',
'9',
'A',
'B',
'C',
'D',
'E',
'F' };
103 for (i = 0; i !=
len; i++,
data++)
109 tmpstr[--j] = digits[tmp & 0xf];
112 if ((i % pitch) == (pitch - 1))
122 const char digits[16] = {
'0',
'1',
'2',
'3',
'4',
'5',
'6',
'7',
'8',
'9',
'A',
'B',
'C',
'D',
'E',
'F' };
125 for (i = 0; i !=
len; i++,
data++)
134 if (((*
data > 0x1f) && (*
data < 0x7f)) || ((*
data > 0x9f) && (*
data <= 0xff)))
147 for (i = 0; i !=
len; i++,
data++)
156 else if ((i & 0xf) == 7)
161 unsigned long trace_time(
void)
U32BIT STB_OSGetClockMilliseconds(void)
Get Current Computer Clock Time.
U32BIT MHEG5_DebugGetMask(void)
Get the MHEG5 debug mask.
void MHEG5_DebugSetMask(U32BIT mask)
Set the MHEG5 debug mask.
Header file - Function prototypes for operating system.