summaryrefslogtreecommitdiffstats
path: root/src/core/parseopt.c
diff options
context:
space:
mode:
authorSimon Rettberg2026-01-28 12:53:53 +0100
committerSimon Rettberg2026-01-28 12:53:53 +0100
commit8e82785c584dc13e20f9229decb95bd17bbe9cd1 (patch)
treea8b359e59196be5b2e3862bed189107f4bc9975f /src/core/parseopt.c
parentMerge branch 'master' into openslx (diff)
parent[prefix] Make unlzma.S compatible with 386 class CPUs (diff)
downloadipxe-openslx.tar.gz
ipxe-openslx.tar.xz
ipxe-openslx.zip
Merge branch 'master' into openslxopenslx
Diffstat (limited to 'src/core/parseopt.c')
-rw-r--r--src/core/parseopt.c19
1 files changed, 10 insertions, 9 deletions
diff --git a/src/core/parseopt.c b/src/core/parseopt.c
index 8410e6e90..b920a7d84 100644
--- a/src/core/parseopt.c
+++ b/src/core/parseopt.c
@@ -22,6 +22,7 @@
*/
FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
+FILE_SECBOOT ( PERMITTED );
#include <stddef.h>
#include <stdint.h>
@@ -33,7 +34,7 @@ FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
#include <getopt.h>
#include <ipxe/uuid.h>
#include <ipxe/netdevice.h>
-#include <ipxe/menu.h>
+#include <ipxe/dynui.h>
#include <ipxe/settings.h>
#include <ipxe/params.h>
#include <ipxe/timer.h>
@@ -194,21 +195,21 @@ int parse_netdev_configurator ( char *text,
}
/**
- * Parse menu name
+ * Parse dynamic user interface name
*
* @v text Text
- * @ret menu Menu
+ * @ret dynui Dynamic user interface
* @ret rc Return status code
*/
-int parse_menu ( char *text, struct menu **menu ) {
+int parse_dynui ( char *text, struct dynamic_ui **dynui ) {
- /* Find menu */
- *menu = find_menu ( text );
- if ( ! *menu ) {
+ /* Find user interface */
+ *dynui = find_dynui ( text );
+ if ( ! *dynui ) {
if ( text ) {
- printf ( "\"%s\": no such menu\n", text );
+ printf ( "\"%s\": no such user interface\n", text );
} else {
- printf ( "No default menu\n" );
+ printf ( "No default user interface\n" );
}
return -ENOENT;
}