Changeset af70ed5 in rtems


Ignore:
Timestamp:
Sep 19, 2008, 4:15:21 PM (11 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, master
Children:
349475b
Parents:
4bbf70bd
Message:

2008-09-19 Joel Sherrill <joel.sherrill@…>

  • libmisc/shell/main_mallocinfo.c, libmisc/shell/main_wkspaceinfo.c: Include information on whether C Program Heap and RTEMS Workspace are separate.
Location:
cpukit
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • cpukit/ChangeLog

    r4bbf70bd raf70ed5  
     12008-09-19      Joel Sherrill <joel.sherrill@oarcorp.com>
     2
     3        * libmisc/shell/main_mallocinfo.c, libmisc/shell/main_wkspaceinfo.c:
     4        Include information on whether C Program Heap and RTEMS Workspace are
     5        separate.
     6
    172008-09-18      Joel Sherrill <joel.sherrill@oarcorp.com>
    28
  • cpukit/libmisc/shell/main_mallocinfo.c

    r4bbf70bd raf70ed5  
    2424
    2525extern int malloc_info( region_information_block * );
     26extern void rtems_shell_print_unified_work_area_message(void);
    2627
    2728int rtems_shell_main_malloc_info(
     
    3132{
    3233  if ( argc == 2 ) {
     34    rtems_shell_print_unified_work_area_message();
     35
    3336    if ( !strcmp( argv[1], "info" ) ) {
    3437      region_information_block info;
  • cpukit/libmisc/shell/main_wkspaceinfo.c

    r4bbf70bd raf70ed5  
    2525#include "internal.h"
    2626
     27extern bool rtems_unified_work_area;
     28
     29void rtems_shell_print_unified_work_area_message(void)
     30{
     31  printf( "\nC Program Heap and RTEMS Workspace are %s.\n",
     32    ((rtems_unified_work_area) ? "the same" : "separate")
     33  );
     34}
     35
    2736int rtems_shell_main_wkspace_info(
    2837  int   argc,
     
    3140{
    3241  Heap_Information_block info;
     42
     43  rtems_shell_print_unified_work_area_message();
    3344
    3445  _Protected_heap_Get_information( &_Workspace_Area, &info );
Note: See TracChangeset for help on using the changeset viewer.