* grub-core/fs/fat.c: Include grub/fat.h.
(grub_fat_bpb): Moved to ... * include/grub/fat.h (grub_fat_bpb): ... here. New file. * grub-core/loader/i386/pc/chainloader.c: Include grub/fat.h and grub/ntfs.h. * include/grub/i386/pc/chainloader.h (grub_chainloader_flags_t): Moved from here... * grub-core/loader/i386/pc/chainloader.c (grub_chainloader_flags_t): ... here. * grub-core/loader/i386/pc/chainloader.c (grub_chainloader_patch_bpb): New function. (grub_chainloader_cmd): Patch BPB if --bpb is given. (GRUB_MOD_INIT): Show --bpb. * grub-core/loader/i386/pc/ntldr.c (grub_cmd_ntldr): Patch BPB. * grub-core/normal/main.c (features): New variable. (GRUB_MOD_INIT): Set feature_* variables. * include/grub/i386/pc/chainloader.h (grub_chainloader_patch_bpb): New proto. * include/grub/ntfs.h (grub_ntfs_bpb): New field bios_drive.
This commit is contained in:
commit
1e4b43901a
8 changed files with 199 additions and 59 deletions
22
ChangeLog
22
ChangeLog
|
@ -1,3 +1,25 @@
|
|||
2011-05-18 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
|
||||
* grub-core/fs/fat.c: Include grub/fat.h.
|
||||
(grub_fat_bpb): Moved to ...
|
||||
* include/grub/fat.h (grub_fat_bpb): ... here. New file.
|
||||
* grub-core/loader/i386/pc/chainloader.c: Include grub/fat.h and
|
||||
grub/ntfs.h.
|
||||
* include/grub/i386/pc/chainloader.h (grub_chainloader_flags_t):
|
||||
Moved from here...
|
||||
* grub-core/loader/i386/pc/chainloader.c (grub_chainloader_flags_t): ...
|
||||
here.
|
||||
* grub-core/loader/i386/pc/chainloader.c (grub_chainloader_patch_bpb):
|
||||
New function.
|
||||
(grub_chainloader_cmd): Patch BPB if --bpb is given.
|
||||
(GRUB_MOD_INIT): Show --bpb.
|
||||
* grub-core/loader/i386/pc/ntldr.c (grub_cmd_ntldr): Patch BPB.
|
||||
* grub-core/normal/main.c (features): New variable.
|
||||
(GRUB_MOD_INIT): Set feature_* variables.
|
||||
* include/grub/i386/pc/chainloader.h (grub_chainloader_patch_bpb): New
|
||||
proto.
|
||||
* include/grub/ntfs.h (grub_ntfs_bpb): New field bios_drive.
|
||||
|
||||
2011-05-18 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
|
||||
* grub-core/Makefile.core.def (ieee1275_fb): Use enable=powerpc_ieee1275
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue