Rearrange struct image to reflect usage of the fields
authorMichael Brown <mcb30@etherboot.org>
Fri, 12 Jan 2007 08:58:16 +0000 (08:58 +0000)
committerMichael Brown <mcb30@etherboot.org>
Fri, 12 Jan 2007 08:58:16 +0000 (08:58 +0000)
src/include/gpxe/image.h

index 260a303..e00771f 100644 (file)
@@ -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 */