Provide registration mechanism for loaded images, so that we can e.g.
authorMichael Brown <mcb30@etherboot.org>
Thu, 11 Jan 2007 23:43:29 +0000 (23:43 +0000)
committerMichael Brown <mcb30@etherboot.org>
Thu, 11 Jan 2007 23:43:29 +0000 (23:43 +0000)
commitf59ad50504ae8b12f32f528f1d39a7b638b75501
treeb69a1755ac5fdbdd765ba1bc8a899e97c4cdd865
parent79a399c05ab3ee9575c964727c9aea59ee65dae6
Provide registration mechanism for loaded images, so that we can e.g.
refer to them by name from the command line, or build them into a
multiboot module list.

Use setting image->type to disambiguate between "not my image" and "bad
image"; this avoids relying on specific values of the error code.
src/arch/i386/image/multiboot.c
src/core/image.c
src/image/elf.c
src/include/gpxe/image.h