4.104.114.84.95
Last change
on this file since 4bde2394 was
4bde2394,
checked in by Joel Sherrill <joel.sherrill@…>, on 09/19/01 at 17:30:38
|
2001-09-19 Chris Johns <ccj@…>
- nfs/bootp_subr.c, rtems/rtems_bootp.c, rtems/rtems_bsdnet.h,
rtems/rtems_bsdnet_internal.h Added support for populating the
initial "root" filesystem with information obtained via the DHCP
response.
|
-
Property mode set to
100644
|
File size:
515 bytes
|
Line | |
---|
1 | /* |
---|
2 | * $Id$ |
---|
3 | */ |
---|
4 | |
---|
5 | #include <rtems.h> |
---|
6 | #include <rtems/error.h> |
---|
7 | #include <sys/types.h> |
---|
8 | #include <rtems/rtems_bsdnet.h> |
---|
9 | |
---|
10 | /* |
---|
11 | * Perform a BOOTP request |
---|
12 | */ |
---|
13 | void |
---|
14 | rtems_bsdnet_do_bootp (void) |
---|
15 | { |
---|
16 | rtems_bsdnet_semaphore_obtain (); |
---|
17 | bootpc_init (FALSE); |
---|
18 | rtems_bsdnet_semaphore_release (); |
---|
19 | } |
---|
20 | |
---|
21 | /* |
---|
22 | * Perform a BOOTP request and update "standard" files in /etc |
---|
23 | * with the results. |
---|
24 | */ |
---|
25 | void |
---|
26 | rtems_bsdnet_do_bootp_and_rootfs (void) |
---|
27 | { |
---|
28 | rtems_bsdnet_semaphore_obtain (); |
---|
29 | bootpc_init (TRUE); |
---|
30 | rtems_bsdnet_semaphore_release (); |
---|
31 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.