summaryrefslogtreecommitdiffstats
path: root/cpukit/rtems/include/rtems/rtems/support.h
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2004-01-30 14:43:48 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2004-01-30 14:43:48 +0000
commitb7322fb06a377205ddfe53c8a04df65b104aefff (patch)
tree667b4692c4e9f5d27c39a1a717dade05dea0cd09 /cpukit/rtems/include/rtems/rtems/support.h
parent2004-01-30 Ralf Corsepius <corsepiu@faw.uni-ulm.de> (diff)
downloadrtems-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 '')
-rw-r--r--cpukit/rtems/include/rtems/rtems/support.h30
1 files changed, 30 insertions, 0 deletions
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