diff options
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/ipxe/errfile.h | 1 | ||||
-rw-r--r-- | src/include/ipxe/shell_banner.h | 14 | ||||
-rw-r--r-- | src/include/usr/prompt.h | 14 |
3 files changed, 15 insertions, 14 deletions
diff --git a/src/include/ipxe/errfile.h b/src/include/ipxe/errfile.h index 01de5600e..7968c4f51 100644 --- a/src/include/ipxe/errfile.h +++ b/src/include/ipxe/errfile.h @@ -237,6 +237,7 @@ FILE_LICENCE ( GPL2_OR_LATER ); #define ERRFILE_gdbstub_cmd ( ERRFILE_OTHER | 0x001f0000 ) #define ERRFILE_sanboot_cmd ( ERRFILE_OTHER | 0x00200000 ) #define ERRFILE_bofm ( ERRFILE_OTHER | 0x00210000 ) +#define ERRFILE_prompt ( ERRFILE_OTHER | 0x00220000 ) /** @} */ diff --git a/src/include/ipxe/shell_banner.h b/src/include/ipxe/shell_banner.h deleted file mode 100644 index d03fcbace..000000000 --- a/src/include/ipxe/shell_banner.h +++ /dev/null @@ -1,14 +0,0 @@ -#ifndef _IPXE_SHELL_BANNER_H -#define _IPXE_SHELL_BANNER_H - -/** @file - * - * Shell startup banner - * - */ - -FILE_LICENCE ( GPL2_OR_LATER ); - -extern int shell_banner ( void ); - -#endif /* _IPXE_SHELL_BANNER_H */ diff --git a/src/include/usr/prompt.h b/src/include/usr/prompt.h new file mode 100644 index 000000000..fc1946c7a --- /dev/null +++ b/src/include/usr/prompt.h @@ -0,0 +1,14 @@ +#ifndef _USR_PROMPT_H +#define _USR_PROMPT_H + +/** @file + * + * Prompt for keypress + * + */ + +FILE_LICENCE ( GPL2_OR_LATER ); + +extern int prompt ( const char *text, unsigned int wait_ms, int key ); + +#endif /* _USR_PROMPT_H */ |