[pxe] Make pxe_init_structures() an initialisation function

pxe_init_structures() fills in the fields of the !PXE and PXENV+
structures that aren't known until gPXE starts up.  Once gPXE is
started, these values will never change.

Make pxe_init_structures() an initialisation function so that PXE
users don't have to worry about calling it.
This commit is contained in:
Michael Brown
2009-06-28 19:40:16 +01:00
parent c26a38b313
commit c2965b0fe7
4 changed files with 7 additions and 6 deletions

View File

@@ -47,7 +47,6 @@ static int pxe_exec ( struct image *image ) {
int rc;
/* Ensure that PXE stack is ready to use */
pxe_init_structures();
pxe_hook_int1a();
/* Arbitrarily pick the most recently opened network device */