summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMichael Brown2007-01-12 09:58:16 +0100
committerMichael Brown2007-01-12 09:58:16 +0100
commit2be2f3b2051e1ec7407515b414a8697ddd2f4eaa (patch)
treebaba5f19584fd4c900be3aa4277cc12dc014e526 /src
parentAdd debug message (diff)
downloadipxe-2be2f3b2051e1ec7407515b414a8697ddd2f4eaa.tar.gz
ipxe-2be2f3b2051e1ec7407515b414a8697ddd2f4eaa.tar.xz
ipxe-2be2f3b2051e1ec7407515b414a8697ddd2f4eaa.zip
Rearrange struct image to reflect usage of the fields
Diffstat (limited to 'src')
-rw-r--r--src/include/gpxe/image.h11
1 files changed, 4 insertions, 7 deletions
diff --git a/src/include/gpxe/image.h b/src/include/gpxe/image.h
index 260a3032c..e00771fff 100644
--- a/src/include/gpxe/image.h
+++ b/src/include/gpxe/image.h
@@ -23,23 +23,20 @@ struct image {
char name[16];
/** List of registered images */
struct list_head list;
+ /** Flags */
+ unsigned int flags;
/** Command line to pass to image */
char cmdline[CMDLINE_MAX];
-
/** Raw file image */
userptr_t data;
/** Length of raw file image */
size_t len;
- /** Entry point */
- physaddr_t entry;
-
/** Image type, if known */
struct image_type *type;
-
- /** Flags */
- unsigned int flags;
+ /** Entry point */
+ physaddr_t entry;
};
/** Image is loaded */