diff options
| author | Michael Brown | 2007-06-28 18:55:29 +0200 |
|---|---|---|
| committer | Michael Brown | 2007-06-28 18:55:29 +0200 |
| commit | 4b08f4cf0f06b3345466f7d5d7ef4c04d45ecc56 (patch) | |
| tree | 7bf42f686105cb65dc79bad8b789deca22f01d6e /src/include | |
| parent | Use monojob and dhcp_configure_netdev(). (diff) | |
| download | ipxe-4b08f4cf0f06b3345466f7d5d7ef4c04d45ecc56.tar.gz ipxe-4b08f4cf0f06b3345466f7d5d7ef4c04d45ecc56.tar.xz ipxe-4b08f4cf0f06b3345466f7d5d7ef4c04d45ecc56.zip | |
Quick hack to get image booting working again
Diffstat (limited to 'src/include')
| -rw-r--r-- | src/include/gpxe/image.h | 1 | ||||
| -rw-r--r-- | src/include/usr/imgmgmt.h | 3 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/include/gpxe/image.h b/src/include/gpxe/image.h index 08a1dd905..7f09d9c6e 100644 --- a/src/include/gpxe/image.h +++ b/src/include/gpxe/image.h @@ -113,6 +113,7 @@ extern struct list_head images; #define for_each_image( image ) \ list_for_each_entry ( (image), &images, list ) +extern struct image * alloc_image ( void ); extern int register_image ( struct image *image ); extern void unregister_image ( struct image *image ); extern void promote_image ( struct image *image ); diff --git a/src/include/usr/imgmgmt.h b/src/include/usr/imgmgmt.h index 82a65f252..b3cbffbc4 100644 --- a/src/include/usr/imgmgmt.h +++ b/src/include/usr/imgmgmt.h @@ -9,8 +9,7 @@ struct image; -extern int imgfetch ( const char *filename, const char *name, - struct image **new_image ); +extern int imgfetch ( struct image *image, const char *filename, int load ); extern int imgload ( struct image *image ); extern int imgexec ( struct image *image ); extern struct image * imgautoselect ( void ); |
