summaryrefslogtreecommitdiffstats
path: root/cpukit/libnetworking/rtems/rtems_bootp.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1998-08-19 21:32:28 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1998-08-19 21:32:28 +0000
commit39e6e65a2c5a3312f365d59f23c469641e049c82 (patch)
treec0d6000a18918db140589a84596a8dfc215a4ced /cpukit/libnetworking/rtems/rtems_bootp.c
parentFirst version produced. (diff)
downloadrtems-39e6e65a2c5a3312f365d59f23c469641e049c82.tar.bz2
Base files
Diffstat (limited to 'cpukit/libnetworking/rtems/rtems_bootp.c')
-rw-r--r--cpukit/libnetworking/rtems/rtems_bootp.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/cpukit/libnetworking/rtems/rtems_bootp.c b/cpukit/libnetworking/rtems/rtems_bootp.c
new file mode 100644
index 0000000000..c3bb8d7ad4
--- /dev/null
+++ b/cpukit/libnetworking/rtems/rtems_bootp.c
@@ -0,0 +1,15 @@
+#include <rtems.h>
+#include <rtems/error.h>
+#include <sys/types.h>
+#include <rtems/rtems_bsdnet.h>
+
+/*
+ * Perform a BOOTP request
+ */
+void
+rtems_bsdnet_do_bootp (void)
+{
+ rtems_bsdnet_semaphore_obtain ();
+ bootpc_init ();
+ rtems_bsdnet_semaphore_release ();
+}