Browse Source

Rearrange struct image to reflect usage of the fields

tags/v0.9.3
Michael Brown 18 years ago
parent
commit
2be2f3b205
1 changed files with 4 additions and 7 deletions
  1. 4
    7
      src/include/gpxe/image.h

+ 4
- 7
src/include/gpxe/image.h View File

@@ -23,23 +23,20 @@ struct image {
23 23
 	char name[16];
24 24
 	/** List of registered images */
25 25
 	struct list_head list;
26
+	/** Flags */
27
+	unsigned int flags;
26 28
 
27 29
 	/** Command line to pass to image */
28 30
 	char cmdline[CMDLINE_MAX];
29
-
30 31
 	/** Raw file image */
31 32
 	userptr_t data;
32 33
 	/** Length of raw file image */
33 34
 	size_t len;
34 35
 
35
-	/** Entry point */
36
-	physaddr_t entry;
37
-
38 36
 	/** Image type, if known */
39 37
 	struct image_type *type;
40
-
41
-	/** Flags */
42
-	unsigned int flags;
38
+	/** Entry point */
39
+	physaddr_t entry;
43 40
 };
44 41
 
45 42
 /** Image is loaded */

Loading…
Cancel
Save