diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1998-08-19 21:32:28 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1998-08-19 21:32:28 +0000 |
commit | 39e6e65a2c5a3312f365d59f23c469641e049c82 (patch) | |
tree | c0d6000a18918db140589a84596a8dfc215a4ced /cpukit/libnetworking/rtems/rtems_bootp.c | |
parent | 4328ba112ffdfd9f5a929ef6d3f4677199691699 (diff) |
Base files
Diffstat (limited to 'cpukit/libnetworking/rtems/rtems_bootp.c')
-rw-r--r-- | cpukit/libnetworking/rtems/rtems_bootp.c | 15 |
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 (); +} |