Programmable CPU register hardware context swap mechanism
Abstract
A central processing unit (CPU) having an interrupt unit for interrupting execution of instructions, a plurality context defining register sets, wherein each set of registers having the same number of CPU registers, a switching unit for coupling a selected register set within the CPU, wherein the switching unit switches to a predetermined register set of the plurality of context defining register sets upon occurrence of an exception, and a control register configured to control selection of a register set of the plurality of context defining register initiated by an instruction and further operable to indicate a currently used context.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 6 · Forward citations: 2.
Claims (3 — 2 Independent, 1 Dependent)
- Claim 1Independent Claim
A method for performing a context switch in a central processing unit (CPU) comprising a plurality context defining register sets, wherein each set of registers having the same number of CPU registers; the method comprising: upon occurrence of an exception automatically switching to a register set of said plurality of context defining register sets, wherein selection of a register set of said plurality of context defining register can further be manually initiated by executing a context switch instruction; and indicating a currently used context in a first bitfield and a most recent context se
- Claim 2Depends on #1
The method according to claim 1 , further comprising executing the context switch instruction thereby initiating a context switch.
- Claim 3Independent Claim
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (2 of 2 total)
References Cited — Backward Prior Art (6)
Non-Patent Literature (1)
- International Search Report and Written Opinion, Application No. PCT/US2014/022056, 12 pages, Jun. 4, 2014.