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

Loading…
Cancel
Save