Files
ipxe/src/include
Michael Brown abfe94a90a [image] Detect image type when image is first registered
The current usage pattern of image_probe() is a legacy from the time
before commit 34b6ecb ("[image] Simplify image management") when
loading an image to its executable location in memory was a separate
action from actually executing the image.

Call image_probe() as soon as an image is registered.  This allows
"imgstat" to display image type information for all images and allows
image-consuming code to assume that image->type is already set
correctly.

Ignore failures if image_probe() does not recognise the image, since
we do expect to handle unrecognised images (initrds, modules, etc).
Unrecognised images will be left with a NULL image->type, which
image-consuming code can easily check.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
2015-08-21 16:25:11 +01:00
..
2014-07-29 15:20:49 +01:00
2015-03-02 16:35:37 +00:00
2005-03-08 18:53:11 +00:00
2005-03-08 18:53:11 +00:00
2015-03-02 19:42:48 +00:00
2015-03-02 16:35:37 +00:00
2005-03-08 18:53:11 +00:00
2015-03-05 00:59:38 +00:00
2005-03-08 18:53:11 +00:00
2005-03-08 18:53:11 +00:00
2007-07-14 15:42:26 +01:00
2005-03-08 18:53:11 +00:00