mirror of https://github.com/ipxe/ipxe.git
Rearrange struct image to reflect usage of the fields
parent
eba3609e7f
commit
2be2f3b205
|
@ -23,23 +23,20 @@ struct image {
|
||||||
char name[16];
|
char name[16];
|
||||||
/** List of registered images */
|
/** List of registered images */
|
||||||
struct list_head list;
|
struct list_head list;
|
||||||
|
/** Flags */
|
||||||
|
unsigned int flags;
|
||||||
|
|
||||||
/** Command line to pass to image */
|
/** Command line to pass to image */
|
||||||
char cmdline[CMDLINE_MAX];
|
char cmdline[CMDLINE_MAX];
|
||||||
|
|
||||||
/** Raw file image */
|
/** Raw file image */
|
||||||
userptr_t data;
|
userptr_t data;
|
||||||
/** Length of raw file image */
|
/** Length of raw file image */
|
||||||
size_t len;
|
size_t len;
|
||||||
|
|
||||||
/** Entry point */
|
|
||||||
physaddr_t entry;
|
|
||||||
|
|
||||||
/** Image type, if known */
|
/** Image type, if known */
|
||||||
struct image_type *type;
|
struct image_type *type;
|
||||||
|
/** Entry point */
|
||||||
/** Flags */
|
physaddr_t entry;
|
||||||
unsigned int flags;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
/** Image is loaded */
|
/** Image is loaded */
|
||||||
|
|
Loading…
Reference in New Issue