Firmware Virtual Device for 32-bit OS Memory Access
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing operating systems lack support for advanced system functionalities such as hotplug and 64-bit data processing, particularly in accessing memory-mapped I/O spaces above 4 GB, due to limitations in their 32-bit access mechanisms.
Innovation Solution
A firmware-defined operation region and operation region handler are introduced to create a virtual device that provides an API for interacting with hardware and firmware, enabling 64-bit access to memory-mapped I/O spaces through a virtual device interface, which is not dependent on the operating system's 64-bit capabilities.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Adaptability or versatility
If a 32-bit operating system is used, then compatibility with existing systems is maintained, but access to memory-mapped I/O spaces above 4 GB is limited
Solution Approach 1:
The patent introduces a firmware-defined virtual device as an intermediary layer between the 32-bit operating system and the 64-bit hardware/firmware. This virtual device provides a translation mechanism that allows the 32-bit OS to access memory-mapped I/O spaces above 4 GB through a firmware-defined operation region handler, without requiring the OS itself to be 64-bit capable.
Solution Approach 2:
The system is segmented into distinct layers: the 32-bit operating system layer, the firmware-defined virtual device layer, and the 64-bit hardware/firmware layer. Each layer operates independently with well-defined interfaces, allowing the 32-bit OS to remain unchanged while gaining access to 64-bit capabilities through the virtual device abstraction.
2Adaptability or versatility
If operating system functionality is extended to support hotplug and 64-bit processing, then system capability is improved, but the operating system requires native support for these features
Solution Approach 1:
The firmware-defined virtual device acts as a mediator that provides hotplug and 64-bit processing capabilities to the 32-bit operating system without requiring the OS to have native support for these features. The virtual device handles the complexity of 64-bit address translation and hotplug event management, presenting a simplified interface to the OS.
Solution Approach 2:
The patent creates a virtual copy of device functionality through the firmware-defined virtual device. This virtual representation allows the operating system to interact with hardware devices and access memory spaces as if they were directly available, while the actual 64-bit operations are performed by the firmware layer.
3Productivity
If direct access to hardware and firmware is implemented, then system performance is improved, but the operating system must be rewritten to accommodate new functionality
Solution Approach 1:
The firmware-defined virtual device serves as an intermediary that enables direct hardware and firmware access performance while maintaining compatibility with existing 32-bit operating systems. The virtual device driver communicates with hardware and firmware directly at the firmware level, while the operating system interacts with the virtual device through standard interfaces, avoiding the need to rewrite the OS.
Data Source
AI summary
Systems, methods, and devices are provided for embodiments of the present invention to describe a technique that provides an operation region and associated operation region handler to define a virtual device for extending the functionality of an existing operating system.


