diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2004-01-30 14:43:48 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2004-01-30 14:43:48 +0000 |
commit | b7322fb06a377205ddfe53c8a04df65b104aefff (patch) | |
tree | 667b4692c4e9f5d27c39a1a717dade05dea0cd09 /cpukit/rtems | |
parent | 2004-01-30 Ralf Corsepius <corsepiu@faw.uni-ulm.de> (diff) | |
download | rtems-b7322fb06a377205ddfe53c8a04df65b104aefff.tar.bz2 |
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.
Diffstat (limited to 'cpukit/rtems')
-rw-r--r-- | cpukit/rtems/Makefile.am | 8 | ||||
-rw-r--r-- | cpukit/rtems/include/rtems/rtems/support.h | 30 |
2 files changed, 34 insertions, 4 deletions
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 |