forked from Imagelibrary/rtems
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.
This commit is contained in:
@@ -115,7 +115,7 @@ typedef CPU_Interrupt_frame rtems_interrupt_frame;
|
|||||||
* @brief Information structure returned by the Heap Handler via the Region
|
* @brief Information structure returned by the Heap Handler via the Region
|
||||||
* Manager.
|
* 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
|
* @brief Used to manage and manipulate intervals specified by
|
||||||
|
|||||||
@@ -395,7 +395,7 @@ rtems_cpuusage_top_thread (rtems_task_argument arg)
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
region_information_block libc_heap;
|
Heap_Information_block libc_heap;
|
||||||
malloc_info(&libc_heap);
|
malloc_info(&libc_heap);
|
||||||
rtems_printf(data->printer, "\nMem: Wksp: ");
|
rtems_printf(data->printer, "\nMem: Wksp: ");
|
||||||
print_memsize(data, wksp.Free.total, "free");
|
print_memsize(data, wksp.Free.total, "free");
|
||||||
|
|||||||
@@ -31,7 +31,7 @@ static int rtems_shell_main_malloc_info(
|
|||||||
if ( argc == 2 && strcmp( argv[ 1 ], "walk" ) == 0 ) {
|
if ( argc == 2 && strcmp( argv[ 1 ], "walk" ) == 0 ) {
|
||||||
malloc_walk( 0, true );
|
malloc_walk( 0, true );
|
||||||
} else {
|
} else {
|
||||||
region_information_block info;
|
Heap_Information_block info;
|
||||||
|
|
||||||
rtems_shell_print_unified_work_area_message();
|
rtems_shell_print_unified_work_area_message();
|
||||||
malloc_info( &info );
|
malloc_info( &info );
|
||||||
|
|||||||
Reference in New Issue
Block a user