From 2be2f3b2051e1ec7407515b414a8697ddd2f4eaa Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Fri, 12 Jan 2007 08:58:16 +0000 Subject: [PATCH] Rearrange struct image to reflect usage of the fields --- src/include/gpxe/image.h | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/src/include/gpxe/image.h b/src/include/gpxe/image.h index 260a3032..e00771ff 100644 --- a/src/include/gpxe/image.h +++ b/src/include/gpxe/image.h @@ -23,23 +23,20 @@ struct image { char name[16]; /** List of registered images */ struct list_head list; + /** Flags */ + unsigned int flags; /** Command line to pass to image */ char cmdline[CMDLINE_MAX]; - /** Raw file image */ userptr_t data; /** Length of raw file image */ size_t len; - /** Entry point */ - physaddr_t entry; - /** Image type, if known */ struct image_type *type; - - /** Flags */ - unsigned int flags; + /** Entry point */ + physaddr_t entry; }; /** Image is loaded */