diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2018-11-08 07:56:54 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2018-11-09 07:25:09 +0100 |
commit | d53862a30b2d52370d648b6a1a3dc0a3f33bc88d (patch) | |
tree | 532f6926d2581057027c90d367bb3dbb67d8d2e2 /cpukit | |
parent | rtems: Deprecate rtems_context_fp (diff) | |
download | rtems-d53862a30b2d52370d648b6a1a3dc0a3f33bc88d.tar.bz2 |
rtems: Deprecate region_information_block
The region_information_block typedef as no corresponding API. It has no
proper namespace prefix. A user can do nothing with it.
Close #3591.
Diffstat (limited to 'cpukit')
-rw-r--r-- | cpukit/include/rtems/rtems/types.h | 2 | ||||
-rw-r--r-- | cpukit/libmisc/cpuuse/cpuusagetop.c | 2 | ||||
-rw-r--r-- | cpukit/libmisc/shell/main_mallocinfo.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/cpukit/include/rtems/rtems/types.h b/cpukit/include/rtems/rtems/types.h index 710e878666..d551fce213 100644 --- a/cpukit/include/rtems/rtems/types.h +++ b/cpukit/include/rtems/rtems/types.h @@ -115,7 +115,7 @@ typedef CPU_Interrupt_frame rtems_interrupt_frame; * @brief Information structure returned by the Heap Handler via the Region * Manager. */ -typedef Heap_Information_block region_information_block; +typedef Heap_Information_block region_information_block RTEMS_DEPRECATED; /** * @brief Used to manage and manipulate intervals specified by diff --git a/cpukit/libmisc/cpuuse/cpuusagetop.c b/cpukit/libmisc/cpuuse/cpuusagetop.c index ee5d79051f..8e0063bc88 100644 --- a/cpukit/libmisc/cpuuse/cpuusagetop.c +++ b/cpukit/libmisc/cpuuse/cpuusagetop.c @@ -395,7 +395,7 @@ rtems_cpuusage_top_thread (rtems_task_argument arg) } else { - region_information_block libc_heap; + Heap_Information_block libc_heap; malloc_info(&libc_heap); rtems_printf(data->printer, "\nMem: Wksp: "); print_memsize(data, wksp.Free.total, "free"); diff --git a/cpukit/libmisc/shell/main_mallocinfo.c b/cpukit/libmisc/shell/main_mallocinfo.c index 43e988376a..f5e6309211 100644 --- a/cpukit/libmisc/shell/main_mallocinfo.c +++ b/cpukit/libmisc/shell/main_mallocinfo.c @@ -31,7 +31,7 @@ static int rtems_shell_main_malloc_info( if ( argc == 2 && strcmp( argv[ 1 ], "walk" ) == 0 ) { malloc_walk( 0, true ); } else { - region_information_block info; + Heap_Information_block info; rtems_shell_print_unified_work_area_message(); malloc_info( &info ); |