Address Space Reconfiguration for Short Pointer Mode Applications
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
The development and distribution of multiple system libraries for short and long pointer environments increase developer maintenance and support costs, as existing solutions like interposer libraries require separate sets of libraries to be built, debugged, and maintained, leading to complexity and inefficiency.
Innovation Solution
A method to reconfigure an address space to facilitate the execution of short pointer mode applications in a long pointer mode environment by determining the loading of a short pointer mode application and reconfiguring the address space to include portions addressable by both short and long pointers, allowing the loading of long pointer libraries in the short pointer addressable portion, thereby simplifying the execution process.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Adaptability or versatility
If multiple system libraries are provided for short and long pointer environments, then compatibility with different pointer modes is improved, but developer maintenance and support costs increase
Solution Approach 1:
The system provides a universal library that can be used by both short pointer and long pointer applications. The address space is reconfigured dynamically based on the application type, allowing a single library to serve multiple purposes instead of maintaining separate libraries for each pointer mode.
Solution Approach 2:
The address space configuration is made dynamic rather than static. The system automatically reconfigures the address space based on whether a short pointer or long pointer application is loaded, enabling flexible adaptation without requiring separate compiled libraries for each environment.
2Manufacturing precision
If separate libraries are built and distributed for short and long pointer environments, then environment-specific optimization is improved, but build and debug costs increase
Solution Approach 1:
The system performs preliminary actions by reconfiguring the address space in advance based on the application type detected during loading. This eliminates the need for separate build processes for different pointer modes, as the same library can be adapted at runtime.
Solution Approach 2:
The system changes parameters of the address space configuration based on the application type. By modifying address space parameters dynamically, the same library binary can be optimized for different pointer modes without requiring separate compilation or building processes.
3Adaptability or versatility
If multiple libraries and middleware are provided for each environment, then support for different subsystems is improved, but the number of components to be maintained increases
Solution Approach 1:
The system merges the functionality of multiple environment-specific libraries into a single universal library. By combining short pointer and long pointer support into one library with dynamic address space reconfiguration, the number of separate components is reduced while maintaining support for different subsystems.
Data Source
AI summary
A short pointer mode application has been loaded. Based on determining that the short pointer mode application has been loaded, an address space configured for a long pointer mode environment is reconfigured. The address space has one portion addressable by short pointers of a defined size and another portion addressable by long pointers of another defined size, and the reconfiguring includes obtaining a long pointer library, and loading the long pointer library in the one portion of the address space addressable by short pointers.


