forked from Imagelibrary/rtems
libcsupport: Rename open_dev_console()
Rename open_dev_console() to rtems_libio_post_driver(). Rename rtems_libio_supp_helper to rtems_libio_post_driver_helper.
This commit is contained in:
@@ -18,5 +18,5 @@
|
||||
|
||||
void bsp_postdriver_hook(void)
|
||||
{
|
||||
(*rtems_libio_supp_helper)();
|
||||
(*rtems_libio_post_driver_helper)();
|
||||
}
|
||||
|
||||
@@ -67,7 +67,6 @@ extern void fix_syscall_errno(void);
|
||||
* Find amount of free heap remaining
|
||||
*/
|
||||
extern size_t malloc_free_space(void);
|
||||
extern void open_dev_console(void);
|
||||
|
||||
/**
|
||||
* @brief Get malloc status information.
|
||||
|
||||
@@ -1390,13 +1390,13 @@ typedef void (*rtems_libio_helper)(void);
|
||||
|
||||
extern const rtems_libio_helper rtems_libio_init_helper;
|
||||
|
||||
extern const rtems_libio_helper rtems_libio_supp_helper;
|
||||
extern const rtems_libio_helper rtems_libio_post_driver_helper;
|
||||
|
||||
extern const rtems_libio_helper rtems_fs_init_helper;
|
||||
|
||||
void rtems_libio_helper_null(void);
|
||||
|
||||
void open_dev_console(void);
|
||||
void rtems_libio_post_driver(void);
|
||||
|
||||
/**
|
||||
* @brief Creates a directory and all its parent directories according to
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
/*
|
||||
* This is a replaceable stub which opens the console, if present.
|
||||
*/
|
||||
void open_dev_console(void)
|
||||
void rtems_libio_post_driver(void)
|
||||
{
|
||||
int stdin_fd;
|
||||
int stdout_fd;
|
||||
|
||||
@@ -99,11 +99,11 @@ const rtems_libio_helper rtems_libio_init_helper =
|
||||
rtems_libio_init;
|
||||
#endif
|
||||
|
||||
const rtems_libio_helper rtems_libio_supp_helper =
|
||||
const rtems_libio_helper rtems_libio_post_driver_helper =
|
||||
#ifdef CONFIGURE_APPLICATION_DISABLE_FILESYSTEM
|
||||
rtems_libio_helper_null;
|
||||
#else
|
||||
open_dev_console;
|
||||
rtems_libio_post_driver;
|
||||
#endif
|
||||
|
||||
const rtems_libio_helper rtems_fs_init_helper =
|
||||
|
||||
Reference in New Issue
Block a user