diff options
Diffstat (limited to 'c/src/lib/libnetworking/rtems/rtems_bootp.c')
-rw-r--r-- | c/src/lib/libnetworking/rtems/rtems_bootp.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/c/src/lib/libnetworking/rtems/rtems_bootp.c b/c/src/lib/libnetworking/rtems/rtems_bootp.c new file mode 100644 index 0000000000..c3bb8d7ad4 --- /dev/null +++ b/c/src/lib/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 (); +} |