Execution Mode Transition Control for Privilege-Based Code Isolation

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current computer processor circuits face challenges in efficiently and securely managing execution mode transitions while maintaining isolation between disparate software components, particularly in scenarios involving shared virtual memory, without incurring context switch overhead.

Innovation Solution

Implementing a processor circuit with an execution mode index management system that stores separate execution mode transition information for different privilege levels, allowing or disallowing transitions based on current privilege level and transition directionality, using an execution mode index to manage permissions dynamically.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If execution mode transitions are allowed between different privilege levels, then software flexibility and functionality are improved, but system security and isolation are worsened

Engineering Contradiction:
Improvesoftware flexibilityVSAvoidsystem security
Core Design Contradiction:
Adaptability or versatilityVSReliability

Solution Approach 1:

The patent segments the execution mode transition control by creating separate storage locations for transition information corresponding to different privilege levels. The execution mode index management circuit accesses privilege-level-specific transition information to determine whether transitions are allowed, thereby segmenting the security control mechanism to maintain isolation while enabling flexibility where appropriate.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent applies local quality by allowing different transition policies for different privilege levels. Each privilege level has its own transition information stored in separate locations, enabling the system to apply permissive policies where security allows and restrictive policies where security requires, rather than using a uniform policy across all privilege levels.

Inventive Principle:
Principle #3Local quality

2Measurement precision

If separate execution mode transition information is stored for different privilege levels, then transition control precision is improved, but device complexity is worsened

Engineering Contradiction:
Improvetransition control precisionVSAvoiddevice complexity
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

The patent merges the execution mode index management functionality with the existing memory management unit (MMU) and execution mode index register. By integrating the transition information storage and access control into existing processor structures rather than adding completely separate components, the patent reduces the impact of device complexity while maintaining precise transition control.

Inventive Principle:
Principle #5Merging (Combining)

Solution Approach 2:

The execution mode index register and management circuit are designed to serve multiple functions: managing execution mode transitions, maintaining code isolation, and controlling memory access permissions. This multi-functionality reduces the need for separate dedicated components for each function, thereby managing device complexity while achieving precise transition control.

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

3Reliability

If execution mode transitions are restricted to maintain code isolation, then system security is improved, but software functionality is worsened

Engineering Contradiction:
Improvecode isolationVSAvoidsoftware functionality
Core Design Contradiction:
ReliabilityVSAdaptability or versatility

Solution Approach 1:

The patent implements dynamic control of execution mode transitions by allowing the transition permissions to be configured and changed based on system state and security requirements. The execution mode index management circuit can dynamically determine whether transitions are allowed based on the current privilege level and the stored transition information, enabling flexible functionality while maintaining security isolation.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The execution mode index management circuit acts as an intermediary between software components operating at different privilege levels. It mediates transition requests by checking the stored transition information and either allowing or blocking transitions, thereby enabling controlled interaction between isolated code segments and maintaining both security and functionality.

Inventive Principle:
Principle #24Intermediary (Mediator)

Data Source

PatentUS20260080087A1Agent Transition Allowability Based on Current Privilege Level
Publication Date: 2026.03.19 APPLE INC
  • US20260080087A1 patent drawing
  • US20260080087A1 patent drawing
  • US20260080087A1 patent drawing

AI summary

A processor circuit is configured to receive, while a current software agent is executing in a current execution mode, an indication of an execution mode transition that attempts to change an execution mode index from a current value indicative of the current execution mode to a new value indicative of a new execution mode. The processor circuit is configured to access, based on the current privilege level, particular execution mode transition information in a storage circuit to determine whether the execution mode transition is allowed. The processor circuit is configured to determine, based on particular execution mode transition information, whether to update the current value indicative of the current execution mode. The processor is further configured to update the current value indicative of the current execution mode based on a determination that the execution mode transition is permitted.