Subversion Repositories svn.mios32

Rev

Rev 2414 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2414 Rev 2434
Line 60... Line 60...
60
#include "seq_ui.h"
60
#include "seq_ui.h"
61
61
62
#include "seq_statistics.h"
62
#include "seq_statistics.h"
63
63
64
#if !defined(MIOS32_FAMILY_EMULATION)
64
#if !defined(MIOS32_FAMILY_EMULATION)
65
#include "umm_malloc.h"
-
 
66
#include "uip_terminal.h"
65
#include "uip_terminal.h"
-
 
66
-
 
67
extern void vPortMallocDebugInfo(void);
67
#endif
68
#endif
68
69
69
70
70
/////////////////////////////////////////////////////////////////////////////
71
/////////////////////////////////////////////////////////////////////////////
71
// Local defines
72
// Local defines
Line 1160... Line 1161...
1160
  return 0; // no error
1161
  return 0; // no error
1161
}
1162
}
1162
1163
1163
s32 SEQ_TERMINAL_PrintMemoryInfo(void *_output_function)
1164
s32 SEQ_TERMINAL_PrintMemoryInfo(void *_output_function)
1164
{
1165
{
-
 
1166
#if defined(MIOS32_FAMILY_EMULATION)
1165
  //void (*out)(char *format, ...) = _output_function;
1167
  void (*out)(char *format, ...) = _output_function;
1166
  // TODO: umm_info doesn't allow to define output function
1168
  out("Not supported in emulation!");
1167
1169
#else
1168
#if !defined(MIOS32_FAMILY_EMULATION)
1170
  MUTEX_MIDIOUT_TAKE;
-
 
1171
  vPortMallocDebugInfo();
1169
  umm_info( NULL, 1 );
1172
  MUTEX_MIDIOUT_GIVE;
1170
#endif
1173
#endif
1171
1174
1172
  return 0; // no error
1175
  return 0; // no error
1173
}
1176
}
1174
1177