|
iPXE
|
Minimal command shell. More...
Go to the source code of this file.
Enumerations | |
| enum | shell_stop_state { SHELL_CONTINUE = 0 , SHELL_STOP_COMMAND = 1 , SHELL_STOP_COMMAND_SEQUENCE = 2 } |
| Shell stop states. More... | |
Functions | |
| FILE_LICENCE (GPL2_OR_LATER_OR_UBDL) | |
| FILE_SECBOOT (PERMITTED) | |
| void | shell_stop (int stop) |
| Set shell stop state. | |
| int | shell_stopped (int stop) |
| Test and consume shell stop state. | |
| int | shell (void) |
| Start command shell. | |
Minimal command shell.
Definition in file shell.h.
| enum shell_stop_state |
Shell stop states.
Definition at line 14 of file shell.h.
| FILE_LICENCE | ( | GPL2_OR_LATER_OR_UBDL | ) |
| FILE_SECBOOT | ( | PERMITTED | ) |
|
extern |
Set shell stop state.
| stop | Shell stop state |
Definition at line 218 of file exec.c.
References stop_state.
Referenced by exit_exec(), goto_exec(), and imgexec().
|
extern |
Test and consume shell stop state.
| stop | Shell stop state to consume |
| stopped | Shell had been stopped |
Definition at line 228 of file exec.c.
References stop_state.
Referenced by shell(), system(), and terminate_on_exit_or_failure().
|
extern |
Start command shell.
Definition at line 82 of file shell.c.
References free, history_free(), memset(), NULL, rc, readline_history(), shell_prompt, SHELL_STOP_COMMAND_SEQUENCE, shell_stopped(), and system.
Referenced by COMMAND(), interrupt(), ipxe(), PROVIDE_REQUIRING_SYMBOL(), and shell_exec().