2007-05-14 Joel Sherrill <joel.sherrill@OARcorp.com>

* libcsupport/Makefile.am, libcsupport/src/unixlibc.c: Split off dummry
	rtems_io_register_name for use on unix.
	* libcsupport/src/unixlibc_io.c: New file.
This commit is contained in:
Joel Sherrill
2007-05-14 17:56:54 +00:00
parent d4d4c0510b
commit 8a5186d531
4 changed files with 44 additions and 22 deletions

View File

@@ -1,3 +1,9 @@
2007-05-14 Joel Sherrill <joel.sherrill@OARcorp.com>
* libcsupport/Makefile.am, libcsupport/src/unixlibc.c: Split off dummry
rtems_io_register_name for use on unix.
* libcsupport/src/unixlibc_io.c: New file.
2007-05-11 Joel Sherrill <joel.sherrill@OARcorp.com>
* score/src/coremsgseize.c: A blocking sender's message size was

View File

@@ -88,7 +88,7 @@ libcsupport_a_SOURCES = src/gxx_wrappers.c src/printk.c $(BSD_LIBC_C_FILES) \
$(ASSOCIATION_C_FILES)
if UNIX
libcsupport_a_SOURCES += src/unixlibc.c src/hosterr.c
libcsupport_a_SOURCES += src/unixlibc.c src/unixlibc_io.c src/hosterr.c
else
libcsupport_a_SOURCES += $(LIBC_GLUE_C_FILES) $(PASSWORD_GROUP_C_FILES) \
$(TERMINAL_IDENTIFICATION_C_FILES) $(SYSTEM_CALL_C_FILES) \

View File

@@ -1,39 +1,20 @@
/*
* $Id$
* UNIX Port C Library Support
*
* COPYRIGHT (c) 1989-1999.
* COPYRIGHT (c) 1989-2007.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://www.rtems.com/license/LICENSE.
*
* $Id$
*/
#if HAVE_CONFIG_H
#include "config.h"
#endif
#include <rtems.h>
rtems_status_code rtems_io_register_name(
const char *device_name,
rtems_device_major_number major,
rtems_device_minor_number minor
)
{
return 0; /* not supported */
}
rtems_status_code rtems_io_lookup_name(
const char *name,
rtems_driver_name_t *device_info
)
{
return 0; /* not supported */
}
#if defined(RTEMS_UNIXLIB)
void libc_init(int reentrant)

View File

@@ -0,0 +1,35 @@
/*
* UNIX Port C Library Support -- IO Manager Stubs
*
* COPYRIGHT (c) 1989-2007.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://www.rtems.com/license/LICENSE.
*
* $Id$
*/
#if HAVE_CONFIG_H
#include "config.h"
#endif
#include <rtems.h>
rtems_status_code rtems_io_register_name(
const char *device_name,
rtems_device_major_number major,
rtems_device_minor_number minor
)
{
return 0; /* not supported */
}
rtems_status_code rtems_io_lookup_name(
const char *name,
rtems_driver_name_t *device_info
)
{
return 0; /* not supported */
}