diff options
author | Toomas Soome <tsoome@me.com> | 2019-01-09 15:52:41 +0200 |
---|---|---|
committer | Toomas Soome <tsoome@me.com> | 2019-02-15 21:17:05 +0200 |
commit | 4f966f2bc959903bf2dbc45bd52d8732e553f333 (patch) | |
tree | 0ab0837a3442d84e3f83dc47820d9b55ec6fc4b5 | |
parent | 48e2f2836abbe41b87fc711b76d475c5c6223cbc (diff) | |
download | illumos-joyent-4f966f2bc959903bf2dbc45bd52d8732e553f333.tar.gz |
10198 dboot: signal boot loader we can do framebuffer console
Reviewed by: John Levon <john.levon@joyent.com>
Reviewed by: Gergő Mihály Doma <domag02@gmail.com>
Reviewed by: John Howard <echosoft.llc@gmail.com>
Approved by: Robert Mustacchi <rm@joyent.com>
-rw-r--r-- | usr/src/uts/i86pc/dboot/dboot_grub.s | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/usr/src/uts/i86pc/dboot/dboot_grub.s b/usr/src/uts/i86pc/dboot/dboot_grub.s index 7409c12998..c1485b605f 100644 --- a/usr/src/uts/i86pc/dboot/dboot_grub.s +++ b/usr/src/uts/i86pc/dboot/dboot_grub.s @@ -112,9 +112,9 @@ information_request_tag_start: .long MULTIBOOT_TAG_TYPE_MODULE .long MULTIBOOT_TAG_TYPE_BOOTDEV .long MULTIBOOT_TAG_TYPE_MMAP + .long MULTIBOOT_TAG_TYPE_FRAMEBUFFER .long MULTIBOOT_TAG_TYPE_BASIC_MEMINFO information_request_tag_end: - .long 0 /* padding */ #if defined (_BOOT_TARGET_amd64) /* @@ -158,6 +158,19 @@ console_tag_end: .long 0 /* padding */ /* + * MB header framebuffer tag + */ +framebuffer_tag_start: + .word MULTIBOOT_HEADER_TAG_FRAMEBUFFER + .word 0 + .long framebuffer_tag_end - framebuffer_tag_start + .long 0 /* width - no preference */ + .long 0 /* height - no preference */ + .long 0 /* depth - no preference */ +framebuffer_tag_end: + .long 0 /* padding */ + + /* * Tell the bootloader to load the modules page aligned to * the specified alignment. */ |