1 |
|
2005-11-06 Marco Gerards <mgerards@xs4all.nl> |
2 |
|
|
3 |
|
Add initial scripting support. |
4 |
|
|
5 |
|
* commands/test.c: New file. |
6 |
|
* include/grub/script.h: Likewise. |
7 |
|
* normal/execute.c: Likewise. |
8 |
|
* normal/function.c: Likewise. |
9 |
|
* normal/lexer.c: Likewise. |
10 |
|
* normal/parser.y: Likewise. |
11 |
|
* normal/script.c: Likewise. |
12 |
|
|
13 |
|
* configure.ac: Add `AC_PROG_YACC' test. |
14 |
|
|
15 |
|
* conf/i386-pc.rmk (grub_emu_SOURCES): Add `commands/test.c', |
16 |
|
`normal/execute.c', `normal/lexer.c', `grub_script.tab.c', |
17 |
|
`normal/function.c' and `normal/script.c'. |
18 |
|
(normal_mod_SOURCES): `normal/execute.c', `normal/lexer.c', |
19 |
|
`grub_script.tab.c', `normal/function.c' and `normal/script.c'. |
20 |
|
(test_mod_SOURCES, test_mod_CFLAGS, test_mod_LDFLAGS): New variables. |
21 |
|
(pkgdata_MODULES): Add `test.mod'. |
22 |
|
(grub_script.tab.c): New rule. |
23 |
|
(grub_script.tab.h): Likewise. |
24 |
|
|
25 |
|
* include/grub/err.h (grub_err_t): Add `GRUB_ERR_TEST_FAILURE'. |
26 |
|
|
27 |
|
* include/grub/normal.h (grub_test_init): New prototype. |
28 |
|
(grub_test_fini): Likewise. |
29 |
|
|
30 |
|
* normal/command.c: Include <grub/script.h>. |
31 |
|
(grub_command_execute): Rewritten. |
32 |
|
|
33 |
|
* util/grub-emu.c (main): Call `grub_test_init' and |
34 |
|
`grub_test_fini'. |
35 |
|
|
36 |
2005-11-03 Hollis Blanchard <hollis@penguinppc.org> |
2005-11-03 Hollis Blanchard <hollis@penguinppc.org> |
37 |
|
|
38 |
* kern/powerpc/ieee1275/init.c (grub_get_rtc): Initialize `msecs' |
* kern/powerpc/ieee1275/init.c (grub_get_rtc): Initialize `msecs' |