OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [rtems-20020807/] [cpukit/] [libnetworking/] [rtems/] [rtems_bootp.c] - Blame information for rev 1765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1026 ivang
/*
2
 *  rtems_bootp.c,v 1.3 2001/09/19 17:30:38 joel Exp
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
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.