Home | History | Annotate | Download | only in pxeboot
History log of /src/sys/arch/i386/stand/pxeboot/pxe.c
RevisionDateAuthorComments
 1.18  20-Oct-2013  christos Revert previous code move to accommodate relocation that does not fit.
Move pxe_command_buf declaration next to the code so
that it fits on the 16 bit relocation. It is in the text segment, but
it does not matter since it is mapped read-write.
 1.17  13-Dec-2009  jakllsch branches: 1.17.12; 1.17.22; 1.17.26;
Shut down the PXE network stack when we are done with it.

This fixes an issue where a CK804 nfe(4) would have a
byte-reversed MAC address after pxeboot(8).
 1.16  26-Oct-2009  cegger kill extra whitespaces
reviewed by tsutsui@
 1.15  18-Mar-2009  cegger bcopy -> memcpy
 1.14  18-Mar-2009  cegger Ansify function definitions w/o arguments. Generated with sed.
 1.13  14-Mar-2009  dsl Change about 4500 of the K&R function definitions to ANSI ones.
There are still about 1600 left, but they have ',' or /* ... */
in the actual variable definitions - which my awk script doesn't handle.
There are also many that need () -> (void).
(The script does handle misordered arguments.)
 1.12  12-Jan-2009  tsutsui branches: 1.12.2;
Replace time_t values in libsa sources with the following two types
to avoid unnecessary 64 bit ops which would make binaries larger:

satime_t (currently unsigned int):
numbers in seconds returned by the machine dependent getsecs() function
which are used to measure relative time

saseconds_t (currently int):
numbers in seconds used to specify timeout to network drivers

Per discussion on current-users.
 1.11  11-Jan-2009  christos merge christos-time_t
 1.10  14-Apr-2006  dyoung branches: 1.10.62; 1.10.64; 1.10.68; 1.10.76;
Remove a call, pxe_call(PXENV_UNLOAD_STACK), that causes Soekris
net45x1 boards to hang at boot---the call never returns. This
fixes PR/25174 for me.
 1.9  26-Dec-2005  perry branches: 1.9.4; 1.9.6; 1.9.8; 1.9.10; 1.9.12;
u_intN_t -> uintN_t
 1.8  11-Dec-2005  christos merge ktrace-lwp.
 1.7  14-Jun-2005  tron branches: 1.7.2;
Get rid off the ugly S_SIZE() macro which breaks the build now that
bcmp() is a macro, too.
 1.6  12-Mar-2003  drochner branches: 1.6.2;
Kick out the netif layer from mi libsa and implement an own, smaller, one
(we really don't need to support multiple interfaces)
Also arrange things so that we are able to unload the PXE stacks only
when we are sure that we don't need them anymore. (To make this more
useful, a hook in exec() is needed.
 1.5  11-Mar-2003  drochner Fix bug in readudp(): we have to return the correct length
of the received packet to the caller.
TFTP works now.
 1.4  26-Mar-2002  kanaoka branches: 1.4.2; 1.4.8;
Change scan step from 16 to 2, when pxe_init() check the presence of PXE.
This change improve checking the presence of PXE.
 1.3  18-Feb-2002  thorpej branches: 1.3.4;
Don't ask bootp() to put a "PXEClient" Vendor Class Identifier option
in the DHCP request.
 1.2  16-Feb-2002  thorpej * Remove a debug-breakpoint that is no longer needed.
* Move the pxe_init() call to when we open the virtual netif.
* Make sure to call pxe_fini() when we close the virtual netif.
 1.1  16-Feb-2002  thorpej Add a PXE boot loader. PXE interface code is derived by code
written by Alfred Perlstein, Paul Saab, John Baldwin for FreeBSD.

Still needs some work, but this will load a kernel on a Soekris net4501.

Many thanks to Frank van der Linden and his simulator wizardry for
helping me debug the low-level startup code.
 1.3.4.3  01-Apr-2002  nathanw Catch up to -current.
(CVS: It's not just a program. It's an adventure!)
 1.3.4.2  28-Feb-2002  nathanw Catch up to -current.
 1.3.4.1  18-Feb-2002  nathanw file pxe.c was added on branch nathanw_sa on 2002-02-28 04:10:30 +0000
 1.4.8.2  23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.4.8.1  26-Mar-2002  jdolecek file pxe.c was added on branch kqueue on 2002-06-23 17:37:36 +0000
 1.4.2.2  26-Mar-2002  kanaoka Change scan step from 16 to 2, when pxe_init() check the presence of PXE.
This change improve checking the presence of PXE.
 1.4.2.1  26-Mar-2002  kanaoka file pxe.c was added on branch sommerfeld_i386mp_1 on 2002-03-26 08:02:06 +0000
 1.6.2.1  10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.7.2.1  21-Jun-2006  yamt sync with head.
 1.9.12.1  24-May-2006  tron Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
 1.9.10.1  19-Apr-2006  elad sync with head - hopefully this will work
 1.9.8.1  24-May-2006  yamt sync with head.
 1.9.6.1  22-Apr-2006  simonb Sync with head.
 1.9.4.1  09-Sep-2006  rpaulo sync with head
 1.10.76.2  28-Apr-2009  skrll Sync with HEAD.
 1.10.76.1  19-Jan-2009  skrll Sync with HEAD.
 1.10.68.2  11-Mar-2010  yamt sync with head
 1.10.68.1  04-May-2009  yamt sync with head.
 1.10.64.1  29-Mar-2008  christos Welcome to the time_t=long long dev_t=uint64_t branch.
 1.10.62.1  17-Jan-2009  mjf Sync with HEAD.
 1.12.2.3  28-Mar-2011  jym Cure sync hiccups. Code with compile errors is not really useful, heh.
 1.12.2.2  01-Nov-2009  jym Sync with HEAD.
 1.12.2.1  13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.17.26.1  18-May-2014  rmind sync with head
 1.17.22.1  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.17.12.1  22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")

RSS XML Feed