mirror of
https://github.com/ipxe/ipxe
synced 2025-12-28 10:32:52 +03:00
Rearrange struct image to reflect usage of the fields
This commit is contained in:
@@ -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 */
|
||||||
|
|||||||
Reference in New Issue
Block a user