From 8e30a269a21cd61ca1387e666e458e52c0b153ab Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Wed, 19 Dec 2007 16:03:54 +0000 Subject: 2007-12-19 Joel Sherrill * libcsupport/Makefile.am, libcsupport/include/rtems/malloc.h, libcsupport/src/free.c, libcsupport/src/malloc.c, libcsupport/src/malloc_p.h, libcsupport/src/malloc_report_statistics_plugin.c, libmisc/shell/shell.c, libmisc/shell/shell.h, score/src/objectinitializeinformation.c: Add posix_memalign. Split out management of deferred frees to subroutines. * libcsupport/src/malloc_deferred.c, libcsupport/src/posix_memalign.c: New files. --- cpukit/libmisc/shell/shell.h | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) (limited to 'cpukit/libmisc/shell/shell.h') diff --git a/cpukit/libmisc/shell/shell.h b/cpukit/libmisc/shell/shell.h index fbaf1165ac..d9a2a53fe7 100644 --- a/cpukit/libmisc/shell/shell.h +++ b/cpukit/libmisc/shell/shell.h @@ -119,7 +119,7 @@ typedef struct { uintptr_t mdump_addr; } rtems_shell_env_t; -rtems_boolean rtems_shell_shell_loop( +rtems_boolean rtems_shell_main_loop( rtems_shell_env_t *rtems_shell_env ); @@ -137,10 +137,14 @@ extern rtems_shell_env_t *rtems_current_shell_env; */ struct rtems_shell_filesystems_tt; typedef struct rtems_shell_filesystems_tt rtems_shell_filesystems_t; -typedef int (*rtems_shell_filesystems_mounter_t)(const char* driver, - const char* path, - rtems_shell_filesystems_t* fs, - rtems_filesystem_options_t options); + +typedef int (*rtems_shell_filesystems_mounter_t)( + const char* driver, + const char* path, + rtems_shell_filesystems_t* fs, + rtems_filesystem_options_t options +); + struct rtems_shell_filesystems_tt { const char* name; int driver_needed; -- cgit v1.2.3