浏览代码

Rearrange struct image to reflect usage of the fields

tags/v0.9.3
Michael Brown 18 年前
父节点
当前提交
2be2f3b205
共有 1 个文件被更改,包括 4 次插入7 次删除
  1. 4
    7
      src/include/gpxe/image.h

+ 4
- 7
src/include/gpxe/image.h 查看文件

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 */

正在加载...
取消
保存