diff options
-rw-r--r-- | cpukit/ChangeLog | 7 | ||||
-rw-r--r-- | cpukit/rtems/Makefile.am | 8 | ||||
-rw-r--r-- | cpukit/rtems/include/rtems/rtems/support.h | 30 |
3 files changed, 41 insertions, 4 deletions
diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog index 638c88e66e..0a8d73997c 100644 --- a/cpukit/ChangeLog +++ b/cpukit/ChangeLog @@ -1,3 +1,10 @@ +2004-01-30 Wilfried Busalski <w.busalski@lancier-monitoring.de> + + PR pppd/564 + * rtems/Makefile.am, rtems/include/rtems/rtems/support.h: ppp0 + Interface lose packets if the system use a slow baudrate for the + modem or the tcp/ip-packet is fragmented. + 2004-01-23 Ralf Corsepius <corsepiu@faw.uni-ulm.de> * ChangeLog: Merge-in libnetworking/ChangeLog. diff --git a/cpukit/rtems/Makefile.am b/cpukit/rtems/Makefile.am index 35f89a6a80..4befadea33 100644 --- a/cpukit/rtems/Makefile.am +++ b/cpukit/rtems/Makefile.am @@ -116,10 +116,10 @@ DPMEM_C_FILES = src/dpmem.c src/dpmemcreate.c src/dpmemdelete.c \ src/dpmemexternal2internal.c src/dpmemident.c \ src/dpmeminternal2external.c -librtems_a_SOURCES += src/attr.c src/rtemsidtoname.c $(TASK_C_FILES) \ - $(RATEMON_C_FILES) $(INTR_C_FILES) $(CLOCK_C_FILES) $(TIMER_C_FILES) \ - $(SEMAPHORE_C_FILES) $(MESSAGE_QUEUE_C_FILES) $(EVENT_C_FILES) \ - $(SIGNAL_C_FILES) $(PARTITION_C_FILES) $(REGION_C_FILES) \ +librtems_a_SOURCES += src/attr.c src/rtemsidtoname.c src/wkspacegetinfo.c \ + $(TASK_C_FILES) $(RATEMON_C_FILES) $(INTR_C_FILES) $(CLOCK_C_FILES) \ + $(TIMER_C_FILES) $(SEMAPHORE_C_FILES) $(MESSAGE_QUEUE_C_FILES) \ + $(EVENT_C_FILES) $(SIGNAL_C_FILES) $(PARTITION_C_FILES) $(REGION_C_FILES) \ $(DPMEM_C_FILES) if HAS_MP diff --git a/cpukit/rtems/include/rtems/rtems/support.h b/cpukit/rtems/include/rtems/rtems/support.h index 6c9555bb00..23a88c0e77 100644 --- a/cpukit/rtems/include/rtems/rtems/support.h +++ b/cpukit/rtems/include/rtems/rtems/support.h @@ -20,7 +20,9 @@ extern "C" { #endif +#include <sys/types.h> #include <rtems/rtems/types.h> +#include <rtems/rtems/status.h> /* * rtems_build_name @@ -86,6 +88,34 @@ extern "C" { #define RTEMS_MICROSECONDS_TO_TICKS(_ms) \ TOD_MICROSECONDS_TO_TICKS(_ms) +/* + * Workspace Related + */ + +/* + * rtems_workspace_get_information + * + * DESCRIPTION: + * + * This directive will return information about the RTEMS + * executive workspace. + */ + +rtems_status_code rtems_workspace_get_information( + Heap_Information_block *the_info +); + +/* + * rtems_workspace_free_space + * + * DESCRIPTION: + * + * This directive will return the number of bytes available in the RTEMS + * executive workspace. This area is probably not be contiguous. + */ + +size_t rtems_workspace_free_space(void); + #ifndef __RTEMS_APPLICATION__ #include <rtems/rtems/support.inl> #endif |