mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-27 17:49:23 +00:00
multiboot video support
This commit is contained in:
1 parent
0934d18466
commit
57e41c71bc
11 files changed
+345
-7
No files matched your search
@@ -0,0 +1,24 @@
|
||||
2010-01-14 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
|
||||
Video multiboot support.
|
||||
|
||||
* include/grub/multiboot.h (grub_multiboot_set_accepts_video):
|
||||
New prototype.
|
||||
* include/grub/video.h (grub_video_driver_id): New type.
|
||||
(grub_video_adapter): New member 'id'. All users updated.
|
||||
(grub_video_get_driver_id): New proto.
|
||||
* include/multiboot.h: Resynced with multiboot specification.
|
||||
* include/multiboot2.h: Likewise.
|
||||
* loader/i386/multiboot.c (UNSUPPORTED_FLAGS): Support video flags.
|
||||
(grub_multiboot): Parse MULTIBOOT_VIDEO_MODE fields.
|
||||
* loader/i386/multiboot_mbi.c (DEFAULT_VIDEO_MODE): New constant.
|
||||
(HAS_VGA_TEXT): Likewise.
|
||||
(HAS_VBE): Likewise.
|
||||
(accepts_video): New variable.
|
||||
(grub_multiboot_set_accepts_video): New function.
|
||||
(grub_multiboot_get_mbi_size): Account for video structures.
|
||||
(set_video_mode): New function.
|
||||
(fill_vbe_info) [HAS_VBE]: Likewise.
|
||||
(retrieve_video_parameters): Likewise.
|
||||
(grub_multiboot_make_mbi): Fill video fields.
|
||||
* video/video.c (grub_video_get_driver_id): New function.
|
||||
Reference in new issue
Block a user