소스 검색

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

Loading…
취소
저장