/
githubmirror
/
ipxe
Обзор
Документация
Войти
/
githubmirror
/
ipxe
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
src/include/ipxe/shell.h
37 строк
757 B
Michael Brown
[build] Mark core files as permitted for UEFI Secure Boot
14 янв 2026, 16:25
14 янв 2026, 16:25
6cccb3b
Код
Авторство
О чём код?
#ifndef _IPXE_SHELL_H #define _IPXE_SHELL_H /** @file * * Minimal command shell * */ FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL ); FILE_SECBOOT ( PERMITTED ); /** Shell stop states */ enum shell_stop_state { /** Continue processing */ SHELL_CONTINUE = 0, /** * Stop processing current command line * * This is the stop state entered by commands that change the flow * of execution, such as "goto". */ SHELL_STOP_COMMAND = 1, /** * Stop processing commands * * This is the stop state entered by commands that terminate * the flow of execution, such as "exit". */ SHELL_STOP_COMMAND_SEQUENCE = 2, }; extern void shell_stop ( int stop ); extern int shell_stopped ( int stop ); extern int shell ( void ); #endif /* _IPXE_SHELL_H */