diff options
author | Michael Brown <mcb30@ipxe.org> | 2021-01-20 18:08:04 +0000 |
---|---|---|
committer | Michael Brown <mcb30@ipxe.org> | 2021-01-22 18:44:58 +0000 |
commit | b99477b3fa6d4063314a313f62b7ae784bcbe710 (patch) | |
tree | 91c8cdc57cac2de558278c81628d9ea7ed02b6ba /src/config | |
parent | 99ac69b8a9a48207913e98ac6b357c029b0eef81 (diff) | |
download | ipxe-b99477b3fa6d4063314a313f62b7ae784bcbe710.tar.gz |
[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.c | 3 | ||||
-rw-r--r-- | src/config/general.h | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/src/config/config.c b/src/config/config.c index 2ca05dff7..5e7a3ecfd 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 9edf93b5a..9b21f1271 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 |