URL
https://opencores.org/ocsvn/or1k/or1k/trunk
Subversion Repositories or1k
[/] [or1k/] [trunk/] [rtems-20020807/] [cpukit/] [libnetworking/] [rtems/] [rtems_bootp.c] - Rev 1765
Compare with Previous | Blame | View Log
/* * rtems_bootp.c,v 1.3 2001/09/19 17:30:38 joel Exp */ #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 (FALSE); rtems_bsdnet_semaphore_release (); } /* * Perform a BOOTP request and update "standard" files in /etc * with the results. */ void rtems_bsdnet_do_bootp_and_rootfs (void) { rtems_bsdnet_semaphore_obtain (); bootpc_init (TRUE); rtems_bsdnet_semaphore_release (); }