While and until loops support to GRUB script.
* include/grub/script_sh.h (grub_script_cmdwhile): New struct. (grub_script_create_cmdwhile): New function prototype. (grub_script_execute_cmdwhile): New function prototype. * script/execute.c (grub_script_execute_cmdwhile): New function. * script/parser.y (command): New commands. (whilecmd): New grammar rule. (untilcmd): New grammar rule. * script/script.c (grub_script_create_cmdwhile): New function. * util/grub-script-check.c (grub_script_execute_cmdwhile): New function. * tests/grub_script_while1.in: New testcase. * conf/tests.rmk: Rule for new testcase.
This commit is contained in:
commit
34bb22dfa5
8 changed files with 169 additions and 8 deletions
18
ChangeLog
18
ChangeLog
|
@ -1,3 +1,21 @@
|
|||
2010-04-09 BVK Chaitanya <bvk.groups@gmail.com>
|
||||
|
||||
While and until loops support to GRUB script.
|
||||
|
||||
* include/grub/script_sh.h (grub_script_cmdwhile): New struct.
|
||||
(grub_script_create_cmdwhile): New function prototype.
|
||||
(grub_script_execute_cmdwhile): New function prototype.
|
||||
* script/execute.c (grub_script_execute_cmdwhile): New function.
|
||||
* script/parser.y (command): New commands.
|
||||
(whilecmd): New grammar rule.
|
||||
(untilcmd): New grammar rule.
|
||||
* script/script.c (grub_script_create_cmdwhile): New function.
|
||||
* util/grub-script-check.c (grub_script_execute_cmdwhile): New
|
||||
function.
|
||||
|
||||
* tests/grub_script_while1.in: New testcase.
|
||||
* conf/tests.rmk: Rule for new testcase.
|
||||
|
||||
2010-04-09 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
|
||||
* util/grub.d/00_header.in: Add few missing quotes. Recognise *.jpeg
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue