Don't clear video mem on UEFI, efi video mode refactor
Writes to videomem is slow without memory remapping Can't do the mapping without leaving UEFI, so skipping the clear. Afaict it should always be cleared by UEFI This saves ~10 seconds of booting on my machine (1920*1080*4 bytes) EFI video mode (should have been it's own commit) * Only do strcmp if there are enough params * break when found
This commit is contained in:
@@ -32,7 +32,7 @@ void uncompress_24bit_RLE(const uint8 compressed[], uint8 *uncompressed);
|
||||
void uncompress_8bit_RLE(const uint8 compressed[], uint8 *uncompressed);
|
||||
|
||||
/* default splash display */
|
||||
status_t video_display_splash(addr_t frameBuffer);
|
||||
status_t video_display_splash(addr_t frameBuffer, bool clear);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user