mirror of
https://github.com/limine-bootloader/limine
synced 2025-03-27 11:52:54 +03:00
linux: Revert 793d0293
This commit is contained in:
parent
3c541576f3
commit
7e1d4a9870
@ -538,7 +538,7 @@ set_textmode:;
|
||||
screen_info->orig_video_isVGA = VIDEO_TYPE_VGAC;
|
||||
#endif
|
||||
} else {
|
||||
screen_info->capabilities = VIDEO_CAPABILITY_SKIP_QUIRKS;
|
||||
screen_info->capabilities = VIDEO_CAPABILITY_64BIT_BASE | VIDEO_CAPABILITY_SKIP_QUIRKS;
|
||||
screen_info->flags = VIDEO_FLAGS_NOCURSOR;
|
||||
screen_info->lfb_base = (uint32_t)fbinfo.framebuffer_addr;
|
||||
screen_info->ext_lfb_base = (uint32_t)(fbinfo.framebuffer_addr >> 32);
|
||||
@ -554,14 +554,11 @@ set_textmode:;
|
||||
screen_info->blue_size = fbinfo.blue_mask_size;
|
||||
screen_info->blue_pos = fbinfo.blue_mask_shift;
|
||||
|
||||
#if defined (BIOS)
|
||||
screen_info->orig_video_isVGA = VIDEO_TYPE_VLFB;
|
||||
|
||||
if (fbinfo.framebuffer_addr > (uint64_t)0xffffffff) {
|
||||
screen_info->capabilities |= VIDEO_CAPABILITY_64BIT_BASE;
|
||||
#if defined (UEFI)
|
||||
screen_info->orig_video_isVGA = VIDEO_TYPE_EFI;
|
||||
#elif defined (UEFI)
|
||||
screen_info->orig_video_isVGA = VIDEO_TYPE_EFI;
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
#if defined (UEFI)
|
||||
|
Loading…
x
Reference in New Issue
Block a user