1 |
|
2005-02-27 Yoshinori K. Okuji <okuji@enbug.org> |
2 |
|
|
3 |
|
* commands/default.h: New file. |
4 |
|
* commands/timeout.h: Likewise. |
5 |
|
* normal/context.c: Likewise. |
6 |
|
|
7 |
|
* util/misc.c: Do not include sys/times.h. |
8 |
|
Include sys/time.h and grub/machine/time.h. |
9 |
|
(grub_get_rtc): Rewritten with gettimeofday. |
10 |
|
|
11 |
|
* util/grub-emu.c (main): Call grub_default_init and |
12 |
|
grub_timeout_init before grub_normal_init, and call |
13 |
|
grub_timeout_fini and grub_default_fini after grub_main. |
14 |
|
|
15 |
|
* util/console.c (grub_ncurses_checkkey): Return the read |
16 |
|
character or -1. |
17 |
|
|
18 |
|
* normal/menu.c (run_menu): Set MENU->TIMEOUT to -1 once it |
19 |
|
timeouts. |
20 |
|
|
21 |
|
* normal/main.c (read_config_file): Push MENU. If this fails, |
22 |
|
print an error and wait for a user input. |
23 |
|
Print an error only if GRUB_ERRNO is not GRUB_ERR_NONE. |
24 |
|
If a menu is empty or an error occurs, pop MENU. |
25 |
|
(grub_normal_execute): Pop and free MENU after grub_menu_run |
26 |
|
returns. |
27 |
|
|
28 |
|
* kern/loader.c (grub_loader_boot): Call grub_machine_fini. |
29 |
|
|
30 |
|
* include/grub/powerpc/ieee1275/time.h [GRUB_UTIL]: Do not |
31 |
|
include time.h. |
32 |
|
[GRUB_UTIL] (GRUB_TICKS_PER_SECOND): Use the same definition as |
33 |
|
without GRUB_UTIL. |
34 |
|
* include/grub/i386/pc/time.h [GRUB_UTIL]: Do not include |
35 |
|
time.h. |
36 |
|
[GRUB_UTIL] (GRUB_TICKS_PER_SECOND): Use the same definition as |
37 |
|
without GRUB_UTIL. |
38 |
|
|
39 |
|
* include/grub/normal.h (struct grub_menu_list): New struct. |
40 |
|
(grub_menu_list_t): New type. |
41 |
|
(struct grub_context): New struct. |
42 |
|
(grub_context_t): New type. |
43 |
|
(grub_register_command): Got rid of EXPORT_FUNC. |
44 |
|
(grub_unregister_command): Likewise. |
45 |
|
(grub_context_get): New prototype. |
46 |
|
(grub_context_get_current_menu): Likewise. |
47 |
|
(grub_context_push_menu): Likewise. |
48 |
|
(grub_context_pop_menu): Likewise. |
49 |
|
[GRUB_UTIL] (grub_default_init): Likewise. |
50 |
|
[GRUB_UTIL] (grub_default_fini): Likewise. |
51 |
|
[GRUB_UTIL] (grub_timeout_init): Likewise. |
52 |
|
[GRUB_UTIL] (grub_timeout_fini): Likewise. |
53 |
|
|
54 |
|
* conf/i386-pc.rmk (grub_emu_SOURCES): Added commands/default.c, |
55 |
|
commands/timeout.c and normal/context.c. |
56 |
|
(pkgdata_MODULES): Added default.mod and timeout.mod. |
57 |
|
(normal_mod_SOURCES): Added normal/context.c. |
58 |
|
(default_mod_SOURCES): New variable. |
59 |
|
(default_mod_CFLAGS): Likewise. |
60 |
|
(timeout_mod_SOURCES): Likewise. |
61 |
|
(timeout_mod_CFLAGS): Likewise. |
62 |
|
* conf/powerpc-ieee1275.rmk (grub_emu_SOURCES): Copied from |
63 |
|
conf/i386-pc.rmk. |
64 |
|
(pkgdata_MODULES): Added default.mod and timeout.mod. |
65 |
|
(normal_mod_SOURCES): Added normal/context.c. |
66 |
|
(default_mod_SOURCES): New variable. |
67 |
|
(default_mod_CFLAGS): Likewise. |
68 |
|
(timeout_mod_SOURCES): Likewise. |
69 |
|
(timeout_mod_CFLAGS): Likewise. |
70 |
|
|
71 |
|
* Makefile.in (all-local): Added $(MKFILES). |
72 |
|
|
73 |
2005-02-21 Vincent Pelletier <subdino2004@yahoo.fr> |
2005-02-21 Vincent Pelletier <subdino2004@yahoo.fr> |
74 |
|
|
75 |
* conf/i386-pc.rmk (grub_setup_SOURCES): Add `partmap/sun.c'. |
* conf/i386-pc.rmk (grub_setup_SOURCES): Add `partmap/sun.c'. |