#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <kojima.masahisa@socionext.com> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <kojima.masahisa@socionext.com> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <kojima.masahisa@socionext.com> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <kojima.masahisa@socionext.com> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <kojima.masahisa@socionext.com> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <kojima.masahisa@socionext.com> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <kojima.masahisa@socionext.com> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <kojima.masahisa@socionext.com> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <kojima.masahisa@socionext.com> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <kojima.masahisa@socionext.com> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <kojima.masahisa@socionext.com> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <kojima.masahisa@socionext.com> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <kojima.masahisa@socionext.com> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <kojima.masahisa@socionext.com> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <kojima.masahisa@socionext.com> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <kojima.masahisa@socionext.com> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <kojima.masahisa@socionext.com> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <kojima.masahisa@socionext.com> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <kojima.masahisa@socionext.com> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <kojima.masahisa@socionext.com> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <kojima.masahisa@socionext.com> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <kojima.masahisa@socionext.com> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <kojima.masahisa@socionext.com> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <kojima.masahisa@socionext.com> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <kojima.masahisa@socionext.com> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <kojima.masahisa@socionext.com> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <kojima.masahisa@socionext.com> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <kojima.masahisa@socionext.com> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <kojima.masahisa@socionext.com> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <kojima.masahisa@socionext.com> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <kojima.masahisa@socionext.com> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <kojima.masahisa@socionext.com> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <kojima.masahisa@socionext.com> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <kojima.masahisa@socionext.com> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <kojima.masahisa@socionext.com> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <kojima.masahisa@socionext.com> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <kojima.masahisa@socionext.com> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <kojima.masahisa@socionext.com> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <kojima.masahisa@socionext.com> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <kojima.masahisa@socionext.com> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <kojima.masahisa@socionext.com> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <kojima.masahisa@socionext.com> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <kojima.masahisa@socionext.com> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <kojima.masahisa@socionext.com> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <kojima.masahisa@socionext.com> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <kojima.masahisa@socionext.com> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <kojima.masahisa@socionext.com> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <kojima.masahisa@socionext.com> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <kojima.masahisa@socionext.com> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <kojima.masahisa@socionext.com> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <kojima.masahisa@socionext.com> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <kojima.masahisa@socionext.com> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <kojima.masahisa@socionext.com> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <kojima.masahisa@socionext.com> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <kojima.masahisa@socionext.com> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <kojima.masahisa@socionext.com> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <kojima.masahisa@socionext.com> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <kojima.masahisa@socionext.com> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <kojima.masahisa@socionext.com> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <kojima.masahisa@socionext.com> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <kojima.masahisa@socionext.com> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <kojima.masahisa@socionext.com> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <kojima.masahisa@socionext.com> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <kojima.masahisa@socionext.com> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <kojima.masahisa@socionext.com> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <kojima.masahisa@socionext.com> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <kojima.masahisa@socionext.com> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <kojima.masahisa@socionext.com> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <kojima.masahisa@socionext.com> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <kojima.masahisa@socionext.com> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <kojima.masahisa@socionext.com> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <kojima.masahisa@socionext.com> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <kojima.masahisa@socionext.com> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <kojima.masahisa@socionext.com> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <kojima.masahisa@socionext.com> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <kojima.masahisa@socionext.com> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <kojima.masahisa@socionext.com> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <kojima.masahisa@socionext.com> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <kojima.masahisa@socionext.com> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <kojima.masahisa@socionext.com> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <kojima.masahisa@socionext.com> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <kojima.masahisa@socionext.com> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <kojima.masahisa@socionext.com> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <kojima.masahisa@socionext.com> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <kojima.masahisa@socionext.com> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <kojima.masahisa@socionext.com> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <kojima.masahisa@socionext.com> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <kojima.masahisa@socionext.com> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <kojima.masahisa@socionext.com> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <kojima.masahisa@socionext.com> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <kojima.masahisa@socionext.com> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <kojima.masahisa@socionext.com> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <kojima.masahisa@socionext.com> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <kojima.masahisa@socionext.com> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <kojima.masahisa@socionext.com> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <kojima.masahisa@socionext.com> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <kojima.masahisa@socionext.com> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <kojima.masahisa@socionext.com> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <kojima.masahisa@socionext.com> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <kojima.masahisa@socionext.com> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <kojima.masahisa@socionext.com> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <kojima.masahisa@socionext.com> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <kojima.masahisa@socionext.com> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <kojima.masahisa@socionext.com> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <kojima.masahisa@socionext.com> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <kojima.masahisa@socionext.com> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <kojima.masahisa@socionext.com> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <kojima.masahisa@socionext.com> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <kojima.masahisa@socionext.com> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <kojima.masahisa@socionext.com> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <kojima.masahisa@socionext.com> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <kojima.masahisa@socionext.com> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <kojima.masahisa@socionext.com> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <kojima.masahisa@socionext.com> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <kojima.masahisa@socionext.com> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <kojima.masahisa@socionext.com> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <kojima.masahisa@socionext.com> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <kojima.masahisa@socionext.com> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <kojima.masahisa@socionext.com> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <kojima.masahisa@socionext.com> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <kojima.masahisa@socionext.com> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <kojima.masahisa@socionext.com> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <kojima.masahisa@socionext.com> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8579cb01 |
|
01-Oct-2023 |
Simon Glass <sjg@chromium.org> |
expo: Support handling any key in cedit At present cedit only supports menu keys. For textline objects we need to insert normal ASCII characters. We also need to handle backspace, which is ASCII 9. In fact, expo does not make use of all the menu keys, so partition them accordingly and update the logic to support normal ASCII characters, too. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
88df3634 |
|
02-Feb-2023 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
eficonfig: CTRL+S to save the boot order The change boot order menu in eficonfig can have at most INT_MAX lines and it is troublesome to scroll down to the "Save" entry. This commit assigns CTRL+S to save the boot order. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9e7ac0b0 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Factor out menu-keypress decoding Move this code into a separate function so that it can be used in the new VBE menu. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
32bab0ea |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Make use of CLI character processing Avoid duplicating some of the escape-sequence processing here and use the CLI function instead. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d0ca98db |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5712976b |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Update bootmenu_autoboot_loop() to return the code Use the return value to save having to pass around a pointer. This also resolves any ambiguity about what *key contains when the function is called. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
2da4a15e |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
menu: Rename KEY_... to BKEY_... This enum values conflict with linux/input.h so rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
ee6c7eb4 |
|
06-Jan-2023 |
Simon Glass <sjg@chromium.org> |
bootmenu: Add a few comments The behaviour of these two functions is completely undocumented. Add some notes so the poor, suffering dev can figure out what is going on. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
95fc6697 |
|
12-Sep-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3ae6cf54 |
|
28-Apr-2022 |
Masahisa Kojima <masahisa.kojima@linaro.org> |
bootmenu: factor out the user input handling This commit moves the user input handling from cmd/bootmenu.c to common/menu.c to reuse it from other modules. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
185f812c |
|
19-Jan-2022 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
doc: replace @return by Return: Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
5168d7a6 |
|
18-Mar-2020 |
Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> |
menu: add support for client defined statusline function Currently displaying status line is done in a weak function menu_display_statusline(). bootmenu.c overrides the weak default function. It calls menu_default_choice() and interprets the data as struct bootmenu_entry. pxe boot also uses common menu code for pxe menus. If there is a system that enables both bootmenu and pxe, menu_display_statusline() defined in bootmenu.c will be called and it will interpret struct pxe_label as struct bootmenu_entry. This leads to data aborts and pxe menu corruptions. This patch adds support for client defined statusline function to resolve the above bug. Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
14b9df1b |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Add comments for menu_show() Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
e231306e |
|
20-Jul-2019 |
Simon Glass <sjg@chromium.org> |
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
83d290c5 |
|
06-May-2018 |
Tom Rini <trini@konsulko.com> |
SPDX: Convert all of our single license tags to Linux Kernel style When U-Boot started using SPDX tags we were among the early adopters and there weren't a lot of other examples to borrow from. So we picked the area of the file that usually had a full license text and replaced it with an appropriate SPDX-License-Identifier: entry. Since then, the Linux Kernel has adopted SPDX tags and they place it as the very first line in a file (except where shebangs are used, then it's second line) and with slightly different comment styles than us. In part due to community overlap, in part due to better tag visibility and in part for other minor reasons, switch over to that style. This commit changes all instances where we have a single declared license in the tag as both the before and after are identical in tag contents. There's also a few places where I found we did not have a tag and have introduced one. Signed-off-by: Tom Rini <trini@konsulko.com>
|
#
1a459660 |
|
08-Jul-2013 |
Wolfgang Denk <wd@denx.de> |
Add GPL-2.0+ SPDX-License-Identifier to source files Signed-off-by: Wolfgang Denk <wd@denx.de> [trini: Fixup common/cmd_io.c] Signed-off-by: Tom Rini <trini@ti.com>
|
#
6a3439fd |
|
23-Mar-2013 |
Anatolij Gustschin <agust@denx.de> |
menu: export menu_default_choice() function Checking the default menu item and obtaining its data can be useful in custom menu code. Export menu_default_choice() function which serves this purpose. Signed-off-by: Anatolij Gustschin <agust@denx.de>
|
#
fc9d64ff |
|
23-Mar-2013 |
Pali Rohár <pali.rohar@gmail.com> |
menu: Add support for user defined item choice function Selecting menu items is currently done in menu_interactive_choice() by reading the user input strings from standard input. Extend menu_interactive_choice() to support user defined function for selecting menu items. This function and its argument can be specified when creating the menu. Signed-off-by: Pali Rohár <pali.rohar@gmail.com> Signed-off-by: Anatolij Gustschin <agust@denx.de>
|
#
317d6c57 |
|
16-Jan-2012 |
Heiko Schocher <hs@denx.de> |
common, menu: show menu on startup if CONFIG_MENU_SHOW is defined show a menu on startup instead running the shell. Signed-off-by: Heiko Schocher <hs@denx.de> Cc: Jason Hobbs <jason.hobbs@calxeda.com> Cc: Mike Frysinger <vapier@gentoo.org> Acked-by: Jason Hobbs <jason.hobbs@calxeda.com>
|
#
e0611dd9 |
|
16-Jan-2012 |
Heiko Schocher <hs@denx.de> |
common, menu: add statusline support add the possibility to show a statusline when printing a menu Signed-off-by: Heiko Schocher <hs@denx.de> Cc: Jason Hobbs <jason.hobbs@calxeda.com> Cc: Mike Frysinger <vapier@gentoo.org> Acked-by: Mike Frysinger <vapier@gentoo.org>
|
#
b41bc5a8 |
|
23-Aug-2011 |
Jason Hobbs <jason.hobbs@calxeda.com> |
common, menu: use abortboot for menu timeout Signed-off-by: Jason Hobbs <jason.hobbs@calxeda.com>
|
#
b69bf52d |
|
23-Aug-2011 |
Jason Hobbs <jason.hobbs@calxeda.com> |
Add generic, reusable menu code This will be used first by the pxe code, but is intended to be generic and reusable for other jobs in U-boot. Signed-off-by: Jason Hobbs <jason.hobbs@calxeda.com>
|