mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-09-21 20:56:59 +08:00
Till Straumann's patch to:
use bootp option 129 to get command line string change inet_ntoa->inet_ntop
This commit is contained in:
@@ -1,3 +1,19 @@
|
||||
2002-11-01 Eric Norum <eric.norum@usask.ca>
|
||||
* cpukit/libnetworking/nfs/bootp_subr.c
|
||||
* cpukit/libnetworking/rtems/rtems_bsdnet.h
|
||||
* cpukit/libnetworking/rtems/rtems_glue.c
|
||||
Till Straumann's patch to use bootp option 129 to get command line string.
|
||||
Till Straumann's patch to change inet_ntoa->inet_ntop.
|
||||
|
||||
2002-10-31 Eric Norum <eric.norum@usask.ca>
|
||||
* cpukit/libcsupport/include/rtems/libio.h
|
||||
* cpukit/libcsupport/include/rtems/libio_.h
|
||||
* cpukit/score/include/rtems/score/thread.h
|
||||
* cpukit/score/src/threadinitialize.c
|
||||
Infrastructure changes to prepare for new BSD scheduling code.
|
||||
New sleep/wakeup structure in task control block.
|
||||
Added function pointer in libio structure.
|
||||
|
||||
2002-10-30 Eric Norum <eric.norum@usask.ca>
|
||||
* cpukit/posix/src/psignal.c: Reflect changes to signal names in newlib
|
||||
|
||||
|
||||
@@ -894,6 +894,14 @@ processOptions (unsigned char *optbuf, int optbufSize)
|
||||
bootp_strdup_realloc(rtems_bsdnet_bootp_boot_file_name,p);
|
||||
break;
|
||||
|
||||
case 129:
|
||||
/* Site specific option; we use this to get
|
||||
* a 'command line string'
|
||||
*/
|
||||
if (p[0])
|
||||
rtems_bsdnet_bootp_cmdline = strdup(p);
|
||||
break;
|
||||
|
||||
default:
|
||||
printf ("Ignoring BOOTP/DHCP option code %d\n", code);
|
||||
break;
|
||||
@@ -1058,6 +1066,8 @@ bootpc_init(int update_files)
|
||||
printf ("Server name is %s\n", rtems_bsdnet_bootp_server_name);
|
||||
if (rtems_bsdnet_bootp_boot_file_name)
|
||||
printf ("Boot file is %s\n", rtems_bsdnet_bootp_boot_file_name);
|
||||
if (rtems_bsdnet_bootp_cmdline)
|
||||
printf ("Command line is %s\n", rtems_bsdnet_bootp_cmdline);
|
||||
|
||||
/*
|
||||
* Use defaults if values were not supplied by BOOTP/DHCP options
|
||||
|
||||
Reference in New Issue
Block a user