2005-07-03 Yoshinori Okuji <okuji@enbug.org>
* DISTLIST: Added genfslist.sh. * normal/main.c (fs_module_list): New variable. (autoload_fs_module): New function. (read_fs_list): Likewise. (grub_normal_execute): Call read_fs_list. * kern/fs.c (grub_fs_autoload_hook): New variable. (grub_fs_probe): Added support for auto-loading. * include/grub/normal.h (struct grub_fs_module_list): New struct. (grub_fs_module_list_t): New type. * include/grub/fs.h (grub_fs_autoload_hook_t): New type. (grub_fs_autoload_hook): New prototype. * genfslist.sh: New file. * genmk.rb: Added a rule to generate a filesystem list.
This commit is contained in:
parent
121c1d832e
commit
39c9d41d2a
10 changed files with 663 additions and 84 deletions
|
@ -137,6 +137,14 @@ struct grub_context
|
|||
};
|
||||
typedef struct grub_context *grub_context_t;
|
||||
|
||||
/* This is used to store the names of filesystem modules for auto-loading. */
|
||||
struct grub_fs_module_list
|
||||
{
|
||||
char *name;
|
||||
struct grub_fs_module_list *next;
|
||||
};
|
||||
typedef struct grub_fs_module_list *grub_fs_module_list_t;
|
||||
|
||||
/* To exit from the normal mode. */
|
||||
extern grub_jmp_buf grub_exit_env;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue