Skip to content

Commit

Permalink
Fix #246, remove unused code.
Browse files Browse the repository at this point in the history
  • Loading branch information
zanzaben committed Mar 1, 2021
1 parent a1a7e7a commit 07cd861
Showing 1 changed file with 0 additions and 21 deletions.
21 changes: 0 additions & 21 deletions fsw/pc-rtems/src/cfe_psp_memory.c
Original file line number Diff line number Diff line change
Expand Up @@ -528,24 +528,3 @@ int32 CFE_PSP_GetCFETextSegmentInfo(cpuaddr *PtrToCFESegment, uint32 *SizeOfCFES

return (return_code);
}

// extern int rtems_shell_main_wkspace_info(int argc,char *argv[]);
// extern int rtems_shell_main_malloc_info( int argc, char *argv[]);

void CFE_PSP_MemReport(char *message)
{

// int MemStatus;
// char *malloc_argv[] = {"malloc", "info"};
// char *wkspace_argv[] = {"wkspace", "info"};

OS_printf("------------------------ Memory Stat Report ----------------------------\n");
OS_printf(" Called from: %s\n", message);
OS_printf("------------------------ Dumping Malloc Stats: ----------------------------\n");
// MemStatus = rtems_shell_main_malloc_info(2, malloc_argv);
// OS_printf("rtems_shell_main_malloc_info() rc=%d\n",(int)MemStatus);
OS_printf("------------------------ Dumping Wkspace Stats: ----------------------------\n");
// MemStatus = rtems_shell_main_wkspace_info(2, wkspace_argv);
// OS_printf("rtems_shell_main_wkspace_info() rc=%d\n",(int)MemStatus);
OS_printf("------------------------ Done ----------------- ----------------------------\n");
}

0 comments on commit 07cd861

Please sign in to comment.