forked from Imagelibrary/rtems
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:
@@ -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>
|
2007-05-11 Joel Sherrill <joel.sherrill@OARcorp.com>
|
||||||
|
|
||||||
* score/src/coremsgseize.c: A blocking sender's message size was
|
* score/src/coremsgseize.c: A blocking sender's message size was
|
||||||
|
|||||||
@@ -88,7 +88,7 @@ libcsupport_a_SOURCES = src/gxx_wrappers.c src/printk.c $(BSD_LIBC_C_FILES) \
|
|||||||
$(ASSOCIATION_C_FILES)
|
$(ASSOCIATION_C_FILES)
|
||||||
|
|
||||||
if UNIX
|
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
|
else
|
||||||
libcsupport_a_SOURCES += $(LIBC_GLUE_C_FILES) $(PASSWORD_GROUP_C_FILES) \
|
libcsupport_a_SOURCES += $(LIBC_GLUE_C_FILES) $(PASSWORD_GROUP_C_FILES) \
|
||||||
$(TERMINAL_IDENTIFICATION_C_FILES) $(SYSTEM_CALL_C_FILES) \
|
$(TERMINAL_IDENTIFICATION_C_FILES) $(SYSTEM_CALL_C_FILES) \
|
||||||
|
|||||||
@@ -1,39 +1,20 @@
|
|||||||
/*
|
/*
|
||||||
* $Id$
|
|
||||||
* UNIX Port C Library Support
|
* UNIX Port C Library Support
|
||||||
*
|
*
|
||||||
* COPYRIGHT (c) 1989-1999.
|
* COPYRIGHT (c) 1989-2007.
|
||||||
* On-Line Applications Research Corporation (OAR).
|
* On-Line Applications Research Corporation (OAR).
|
||||||
*
|
*
|
||||||
* The license and distribution terms for this file may be
|
* The license and distribution terms for this file may be
|
||||||
* found in the file LICENSE in this distribution or at
|
* found in the file LICENSE in this distribution or at
|
||||||
* http://www.rtems.com/license/LICENSE.
|
* http://www.rtems.com/license/LICENSE.
|
||||||
*
|
*
|
||||||
|
* $Id$
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#if HAVE_CONFIG_H
|
#if HAVE_CONFIG_H
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
#endif
|
#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)
|
#if defined(RTEMS_UNIXLIB)
|
||||||
|
|
||||||
void libc_init(int reentrant)
|
void libc_init(int reentrant)
|
||||||
|
|||||||
35
cpukit/libcsupport/src/unixlibc_io.c
Normal file
35
cpukit/libcsupport/src/unixlibc_io.c
Normal 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 */
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user