Method and system for privilege-level-access to memory within a computer
Abstract
Method and system for controlling areas of memory within a computer system to routines executing at a specific privilege levels in a modern computer architecture featuring protection keys, operating-system-routine calls and interrupts result in promotion of the current privilege level to the highest privilege level prior to dispatch to an operating system routine with concomitant demotion of the CPL Current Privilege Level to operating-system-privilege level. By partitioning the 24-bit protection queue space into multiple protection-key domains, each protection-key domain associated with a privilege level, and by invalidating protection-key registers during each protection of the current privilege level to a higher privilege level, regions of memory are provided that can only be accessed by routines running at low privilege levels and by routines at the highest privilege level, but not accessible to routines running at intermediate privilege levels.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 6 · Forward citations: 75.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method for providing access to memory within a computer system to processes that execute at a current privilege level having a value selected from one of a number of different privilege level values ranging from a highest privilege level to a lowest privilege level, the method comprising: associating protection-key values with specific privilege levels; invalidating protection-key registers when the current privilege level is demoted from the highest privilege level other than during return from a protection-key-fault-handling routine and re-validating an invalidated protection-key register
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗