Method and apparatus for binding shadow registers to vectored interrupts
Abstract
A method and apparatus within a processing system is provided for associating shadow register sets with interrupt routines. The invention includes a vector generator that receives interrupts, and generates exception vectors to call interrupt routines that correspond to the interrupts. The exception vector considers the type of interrupt and the priority level of the interrupt when selecting the exception vector. Shadow set mapping logic is coupled to the vector generator. The mapping logic contains a number of fields that correspond to the different exception vectors that may be generated. The fields are programmable by kernel mode instructions, and contain data mapping each field to one of a number of shadow register sets. When an interrupt occurs, the vector generator generates a corresponding exception vector. In addition, the shadow set mapping logic looks at the field corresponding to the exception vector, and retrieves the data stored therein. The data is used to switch to one of the shadow register sets for use by an interrupt routine. Upon return from the interrupt routine, the previously used register set is selected.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 47 · Forward citations: 5.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A processing system comprising: a plurality of shadow register sets; an interrupt vector generator, for generating an exception vector associating with an interrupt handler, when the processing system receives an interrupt; shadow set mapping logic, coupled to both said plurality of shadow register sets, and said interrupt vector generator, for selecting one of said plurality of shadow register sets to be used by said interrupt handler; wherein said shadow set mapping logic comprises a plurality of entries, each of which is programmable to associate exception vectors with at least one of said
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (5 of 5 total)
References Cited — Backward Prior Art (47)
Non-Patent Literature (5)
- "Addendum to MCF5206 User Manual." Revision .0.1. Motorola Consumer Systems Group. Freescale Semiconductor, Inc. Apr. 13, 1998. MCF5206UMAD/AD.
- "MCF5206 Integrated Microprocesor." Product Brief. Motorola Communication and Advanced Consumer Technologies Group. Freescale Semiconductor, Inc. 1996. MCF5206/D.
- "MIPS32 4K Processor Core Family Software User's Manual." Revision 1. 12. Jan. 3, 2001. MIPS Technologies, Inc. Document No. MD00016. Chapter 5. pp. 69-106.
- "MIPS64 5K Processor Core Family Software User's Manual." Revision 02.08. May 2002. MIPS Technologies, Inc. Document No. MD00012. Chapter 5. pp. 103-140.
- Ashok Singhal etal., Implementing a Prolog Machine with Multiple Functional units 1988 IEEE pp. 41-56.