aboutsummaryrefslogtreecommitdiffstats
path: root/gpxe/src/include/gpxe/image.h
diff options
context:
space:
mode:
Diffstat (limited to 'gpxe/src/include/gpxe/image.h')
-rw-r--r--gpxe/src/include/gpxe/image.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/gpxe/src/include/gpxe/image.h b/gpxe/src/include/gpxe/image.h
index b953e150..10db8af2 100644
--- a/gpxe/src/include/gpxe/image.h
+++ b/gpxe/src/include/gpxe/image.h
@@ -8,6 +8,8 @@
*
*/
+FILE_LICENCE ( GPL2_OR_LATER );
+
#include <gpxe/tables.h>
#include <gpxe/list.h>
#include <gpxe/uaccess.h>
@@ -123,9 +125,11 @@ struct image_type {
*/
#define PROBE_PXE 03
+/** Executable or loadable image type table */
+#define IMAGE_TYPES __table ( struct image_type, "image_types" )
+
/** An executable or loadable image type */
-#define __image_type( probe_order ) \
- __table ( struct image_type, image_types, probe_order )
+#define __image_type( probe_order ) __table_entry ( IMAGE_TYPES, probe_order )
extern struct list_head images;