summaryrefslogtreecommitdiffstats
path: root/src/arch/i386/image
diff options
context:
space:
mode:
authorMichael Brown2009-06-28 20:40:16 +0200
committerMichael Brown2009-06-28 20:40:16 +0200
commitc2965b0fe72ea6b2a9efb7f852682226d60bee7f (patch)
treed41f321ef08a8334b3a85e83204289a6008ccf12 /src/arch/i386/image
parent[pxe] Update UNDI transmit count before transmitting packet (diff)
downloadipxe-c2965b0fe72ea6b2a9efb7f852682226d60bee7f.tar.gz
ipxe-c2965b0fe72ea6b2a9efb7f852682226d60bee7f.tar.xz
ipxe-c2965b0fe72ea6b2a9efb7f852682226d60bee7f.zip
[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.
Diffstat (limited to 'src/arch/i386/image')
-rw-r--r--src/arch/i386/image/pxe_image.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/arch/i386/image/pxe_image.c b/src/arch/i386/image/pxe_image.c
index 68f8d4bf4..fde8f09b1 100644
--- a/src/arch/i386/image/pxe_image.c
+++ b/src/arch/i386/image/pxe_image.c
@@ -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 */