UEFI Graphics Driver Emulating Legacy VGA Video

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing approaches for supporting legacy VGA video interfaces are inefficient, as they are slow and large in size, requiring multiple driver loads and limited by 16-bit real mode operations, making them costly and difficult to maintain, especially when booting systems that require both legacy and UEFI operating systems.

Innovation Solution

The proposed solution emulates legacy text and video modes using the UEFI graphics frame buffer, translating legacy video services into software SMI service calls handled by a generic SMM video driver, allowing access to more memory and enabling direct access to the graphics device's frame buffer, thus eliminating the need for multiple driver loads and optimizing performance.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If a third party option ROM and a third party UEFI video driver are used to support both legacy and UEFI operating systems, then both operating system types can be supported, but the system size increases and boot speed decreases due to loading multiple drivers

Engineering Contradiction:
Improvecompatibility with legacy and UEFI operating systemsVSAvoidboot speed
Core Design Contradiction:
Adaptability or versatilityVSLoss of time

Solution Approach 1:

The patent combines the functionality of separate option ROM and UEFI video driver into a single integrated video driver that operates in UEFI environment. This unified driver handles both legacy VGA emulation and UEFI graphics operations, eliminating the need to load multiple separate drivers during boot process, thereby reducing boot time while maintaining support for both legacy and UEFI operating systems

Inventive Principle:
Principle #5Merging (Combining)

Solution Approach 2:

The video driver is designed with multi-functionality to serve dual purposes: it provides legacy VGA compatibility through emulation while simultaneously supporting modern UEFI graphics operations. This universal driver can adapt its behavior based on the operating system type, providing appropriate video services whether booting a legacy or UEFI OS, thus maintaining versatility without requiring separate specialized drivers

Inventive Principle:
Principle #6Universality (Multi-functionality)

2Adaptability or versatility

If a third party option ROM and third party UEFI video driver are used, then both legacy and UEFI operating systems can be supported, but the product cost increases due to larger storage requirements

Engineering Contradiction:
Improvecompatibility with legacy and UEFI operating systemsVSAvoidstorage size
Core Design Contradiction:
Adaptability or versatilityVSQuantity of substance

Solution Approach 1:

The patent merges the code of option ROM and UEFI video driver into a single integrated driver, eliminating code duplication and reducing the total storage footprint. By consolidating functionality into one driver, the system requires less non-volatile storage space while maintaining full compatibility with both legacy and UEFI operating systems

Inventive Principle:
Principle #5Merging (Combining)

3Adaptability or versatility

If option ROM is run in 16-bit real mode and UEFI driver in 32-bit or 64-bit protected mode, then legacy compatibility is maintained, but performance is limited due to real mode constraints

Engineering Contradiction:
Improvelegacy VGA compatibilityVSAvoidvideo operation speed
Core Design Contradiction:
Adaptability or versatilityVSSpeed

Solution Approach 1:

The patent changes the operational mode parameter from 16-bit real mode to 32-bit or 64-bit protected mode for the video driver. This parameter change enables the driver to utilize modern CPU capabilities, increasing processing speed and performance while maintaining legacy VGA compatibility through software emulation rather than hardware mode limitations

Inventive Principle:
Principle #35Parameter changes

4Adaptability or versatility

If option ROM is used to provide legacy video services, then legacy operating systems can be supported, but the system becomes difficult to maintain as bug fixes must be made in both option ROM and UEFI driver

Engineering Contradiction:
Improvesupport for legacy operating systemsVSAvoidmaintenance difficulty
Core Design Contradiction:
Adaptability or versatilityVSEase of repair

Solution Approach 1:

The patent combines the maintenance burden of separate option ROM and UEFI driver into a single integrated video driver. Bug fixes and feature updates need to be made in only one codebase rather than synchronizing changes across multiple separate components, significantly simplifying maintenance and reducing the risk of inconsistencies between legacy and UEFI support

Inventive Principle:
Principle #5Merging (Combining)

Data Source

PatentUS8490116B2Emulating legacy video using UEFI
Publication Date: 2013.07.16 PHOENIX TECH EMEA LTD
  • US8490116B2 patent drawing
  • US8490116B2 patent drawing
  • US8490116B2 patent drawing

AI summary

Techniques for supporting legacy VGA video using UEFI standard and extended UEFI graphics drivers. When an operating system that does not natively support the UEFI display protocols requires video services provided by firmware, the operating system communicates a request for video services to a generic video option ROM. The generic video option ROM notifies a generic video SMM driver of the request for video services. Such notification may be performed using a software system management interrupt (SMI). Upon notification, the generic video SMM driver notifies a third party UEFI video driver of the request for video services. The third party video driver provides the requested video services to the operating system. In this way, a third party UEFI graphics driver may support a wide variety of operating systems, even those that do not natively support the UEFI display protocols.