summaryrefslogtreecommitdiffstats
path: root/src/image
diff options
context:
space:
mode:
authorMichael Brown2007-01-14 05:04:28 +0100
committerMichael Brown2007-01-14 05:04:28 +0100
commit797edf28b7e2f0f6fe374bbe230e68b2ab05cbdc (patch)
treef267383b9a9a21c8092afe9f2aadb5f00e7f33b5 /src/image
parentMostly updated. Won't work yet. (diff)
downloadipxe-797edf28b7e2f0f6fe374bbe230e68b2ab05cbdc.tar.gz
ipxe-797edf28b7e2f0f6fe374bbe230e68b2ab05cbdc.tar.xz
ipxe-797edf28b7e2f0f6fe374bbe230e68b2ab05cbdc.zip
Replace image->entry with image->priv.
Diffstat (limited to 'src/image')
-rw-r--r--src/image/elf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/image/elf.c b/src/image/elf.c
index 167ef2bf..75c976ea 100644
--- a/src/image/elf.c
+++ b/src/image/elf.c
@@ -136,8 +136,8 @@ int elf_load ( struct image *image ) {
return rc;
}
- /* Fill in entry point address */
- image->entry = ehdr.e_entry;
+ /* Record execution entry point in image private data field */
+ image->priv.phys = ehdr.e_entry;
return 0;
}