mirror of
https://github.com/ipxe/ipxe
synced 2025-12-28 02:28:57 +03:00
Allowed zero-cost enforced ordering of features in startup banner
list. Added FEATURE() macros to most relevant (non-driver) files.
This commit is contained in:
@@ -36,6 +36,9 @@
|
||||
#include <gpxe/init.h>
|
||||
#include <gpxe/initrd.h>
|
||||
#include <gpxe/cpio.h>
|
||||
#include <gpxe/features.h>
|
||||
|
||||
FEATURE ( FEATURE_IMAGE, "bzImage", DHCP_EB_FEATURE_BZIMAGE, 1 );
|
||||
|
||||
struct image_type bzimage_image_type __image_type ( PROBE_NORMAL );
|
||||
|
||||
|
||||
@@ -33,6 +33,9 @@
|
||||
#include <gpxe/memmap.h>
|
||||
#include <gpxe/elf.h>
|
||||
#include <gpxe/init.h>
|
||||
#include <gpxe/features.h>
|
||||
|
||||
FEATURE ( FEATURE_IMAGE, "Multiboot", DHCP_EB_FEATURE_MULTIBOOT, 1 );
|
||||
|
||||
struct image_type multiboot_image_type __image_type ( PROBE_MULTIBOOT );
|
||||
|
||||
|
||||
@@ -10,6 +10,7 @@
|
||||
#include <gpxe/netdevice.h>
|
||||
#include <gpxe/dhcp.h>
|
||||
#include <gpxe/image.h>
|
||||
#include <gpxe/features.h>
|
||||
|
||||
/** @file
|
||||
*
|
||||
@@ -26,6 +27,8 @@
|
||||
*
|
||||
*/
|
||||
|
||||
FEATURE ( FEATURE_IMAGE, "NBI", DHCP_EB_FEATURE_NBI, 1 );
|
||||
|
||||
struct image_type nbi_image_type __image_type ( PROBE_NORMAL );
|
||||
|
||||
/**
|
||||
|
||||
@@ -29,6 +29,9 @@
|
||||
#include <gpxe/image.h>
|
||||
#include <gpxe/segment.h>
|
||||
#include <gpxe/netdevice.h>
|
||||
#include <gpxe/features.h>
|
||||
|
||||
FEATURE ( FEATURE_IMAGE, "PXE", DHCP_EB_FEATURE_PXE, 1 );
|
||||
|
||||
struct image_type pxe_image_type __image_type ( PROBE_PXE );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user