mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-09-28 01:49:26 +08:00
2005-02-04 Ralf Corsepius <ralf.corsepius@rtems.org>
* libcsupport/include/rtems/libio.h: Use rtems_id for semaphores. Use char* for buffer. * backward/ftpd.h: New. * Makefile.am: Reflect having added backward/ftpd.h.
This commit is contained in:
+8
-1
@@ -1,4 +1,11 @@
|
|||||||
2005-02-03 Ralf Corsepius <ralf.corsepius@rtems.org>
|
2005-02-04 Ralf Corsepius <ralf.corsepius@rtems.org>
|
||||||
|
|
||||||
|
* libcsupport/include/rtems/libio.h: Use rtems_id for semaphores.
|
||||||
|
Use char* for buffer.
|
||||||
|
* backward/ftpd.h: New.
|
||||||
|
* Makefile.am: Reflect having added backward/ftpd.h.
|
||||||
|
|
||||||
|
2005-02-04 Ralf Corsepius <ralf.corsepius@rtems.org>
|
||||||
|
|
||||||
PR 756/rtems
|
PR 756/rtems
|
||||||
* ftpd/ftpd.c, ftpd/ftpd.h, ftpd/Makefile.am: New (relocated from
|
* ftpd/ftpd.c, ftpd/ftpd.h, ftpd/Makefile.am: New (relocated from
|
||||||
|
|||||||
@@ -30,6 +30,10 @@ include_HEADERS += backward/asm.h backward/chain.h backward/clockdrv.h \
|
|||||||
backward/ringbuf.h backward/rtc.h backward/spurious.h \
|
backward/ringbuf.h backward/rtc.h backward/spurious.h \
|
||||||
backward/timerdrv.h backward/vmeintr.h
|
backward/timerdrv.h backward/vmeintr.h
|
||||||
|
|
||||||
|
if HAS_NETWORKING
|
||||||
|
include_HEADERS += backward/ftpd.h
|
||||||
|
endif
|
||||||
|
|
||||||
include_motoroladir = $(includedir)/motorola
|
include_motoroladir = $(includedir)/motorola
|
||||||
include_motorola_HEADERS = backward/motorola/mc68681.h \
|
include_motorola_HEADERS = backward/motorola/mc68681.h \
|
||||||
backward/motorola/mc68230.h
|
backward/motorola/mc68230.h
|
||||||
@@ -124,6 +128,12 @@ $(PROJECT_INCLUDE)/vmeintr.h: backward/vmeintr.h $(PROJECT_INCLUDE)/$(dirstamp)
|
|||||||
$(INSTALL_DATA) $< $(PROJECT_INCLUDE)/vmeintr.h
|
$(INSTALL_DATA) $< $(PROJECT_INCLUDE)/vmeintr.h
|
||||||
PREINSTALL_FILES += $(PROJECT_INCLUDE)/vmeintr.h
|
PREINSTALL_FILES += $(PROJECT_INCLUDE)/vmeintr.h
|
||||||
|
|
||||||
|
if HAS_NETWORKING
|
||||||
|
$(PROJECT_INCLUDE)/ftpd.h: backward/ftpd.h $(PROJECT_INCLUDE)/$(dirstamp)
|
||||||
|
$(INSTALL_DATA) $< $(PROJECT_INCLUDE)/ftpd.h
|
||||||
|
PREINSTALL_FILES += $(PROJECT_INCLUDE)/ftpd.h
|
||||||
|
endif
|
||||||
|
|
||||||
$(PROJECT_INCLUDE)/motorola/$(dirstamp):
|
$(PROJECT_INCLUDE)/motorola/$(dirstamp):
|
||||||
@$(mkdir_p) $(PROJECT_INCLUDE)/motorola
|
@$(mkdir_p) $(PROJECT_INCLUDE)/motorola
|
||||||
@: > $(PROJECT_INCLUDE)/motorola/$(dirstamp)
|
@: > $(PROJECT_INCLUDE)/motorola/$(dirstamp)
|
||||||
|
|||||||
@@ -346,7 +346,7 @@ struct rtems_libio_tt {
|
|||||||
off_t offset; /* current offset into file */
|
off_t offset; /* current offset into file */
|
||||||
uint32_t flags;
|
uint32_t flags;
|
||||||
rtems_filesystem_location_info_t pathinfo;
|
rtems_filesystem_location_info_t pathinfo;
|
||||||
Objects_Id sem;
|
rtems_id sem;
|
||||||
uint32_t data0; /* private to "driver" */
|
uint32_t data0; /* private to "driver" */
|
||||||
void *data1; /* ... */
|
void *data1; /* ... */
|
||||||
void *file_info; /* used by file handlers */
|
void *file_info; /* used by file handlers */
|
||||||
@@ -362,7 +362,7 @@ struct rtems_libio_tt {
|
|||||||
typedef struct {
|
typedef struct {
|
||||||
rtems_libio_t *iop;
|
rtems_libio_t *iop;
|
||||||
off_t offset;
|
off_t offset;
|
||||||
uint8_t *buffer;
|
char *buffer;
|
||||||
uint32_t count;
|
uint32_t count;
|
||||||
uint32_t flags;
|
uint32_t flags;
|
||||||
uint32_t bytes_moved;
|
uint32_t bytes_moved;
|
||||||
|
|||||||
Reference in New Issue
Block a user