aboutsummaryrefslogtreecommitdiff
path: root/src/config
diff options
context:
space:
mode:
authorMichael Brown <mcb30@ipxe.org>2021-01-20 18:08:04 +0000
committerMichael Brown <mcb30@ipxe.org>2021-01-22 18:44:58 +0000
commitb99477b3fa6d4063314a313f62b7ae784bcbe710 (patch)
tree91c8cdc57cac2de558278c81628d9ea7ed02b6ba /src/config
parent99ac69b8a9a48207913e98ac6b357c029b0eef81 (diff)
downloadipxe-b99477b3fa6d4063314a313f62b7ae784bcbe710.zip
ipxe-b99477b3fa6d4063314a313f62b7ae784bcbe710.tar.gz
ipxe-b99477b3fa6d4063314a313f62b7ae784bcbe710.tar.bz2
[image] Add the "imgmem" command
Provide the "imgmem" command to create an image from an existing block of memory, for debugging purposes only. Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/config')
-rw-r--r--src/config/config.c3
-rw-r--r--src/config/general.h1
2 files changed, 4 insertions, 0 deletions
diff --git a/src/config/config.c b/src/config/config.c
index 2ca05df..5e7a3ec 100644
--- a/src/config/config.c
+++ b/src/config/config.c
@@ -281,6 +281,9 @@ REQUIRE_OBJECT ( ntp_cmd );
#ifdef CERT_CMD
REQUIRE_OBJECT ( cert_cmd );
#endif
+#ifdef IMAGE_MEM_CMD
+REQUIRE_OBJECT ( image_mem_cmd );
+#endif
/*
* Drag in miscellaneous objects
diff --git a/src/config/general.h b/src/config/general.h
index 9edf93b..9b21f12 100644
--- a/src/config/general.h
+++ b/src/config/general.h
@@ -155,6 +155,7 @@ FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
//#define PROFSTAT_CMD /* Profiling commands */
//#define NTP_CMD /* NTP commands */
//#define CERT_CMD /* Certificate management commands */
+//#define IMAGE_MEM_CMD /* Read memory command */
/*
* ROM-specific options