System and method for Automatic Hardware Interrupt Handling
Abstract
A processing system is provided consisting of an interrupt pin, multiple registers, a stack pointer, and an automatic interrupt system. The multiple registers store a number of processor states values. When the system detects an interrupt on the interrupt pin the system prepares to enter an exception mode where the automatic interrupt system causes an interrupt vector to be fetched, the stack pointer to be updated, and the processor state values to be read in parallel from the registers and stored in memory locations based on the updated stack pointer, prior to the execution of an interrupt service routine. A method for automatic hardware interrupt handling is also presented.
Claims
exact text as granted — not AI-modifiedWhat is claimed is:
1 . A method of interrupt handling, comprising:
determining a privilege level associated with a first interrupt; updating a first stack pointer register with a value copied from a first fixed register, storing a value associated with the first interrupt in a first memory address at a location identified by the first stack pointer register, and disallowing access to the first fixed register from a process operating at a second privilege level, wherein the second privilege level is lower than the privilege level of the first interrupt.
2 . The method of claim 1 , further comprising:
determining a privilege level of a second interrupt; updating a second stack pointer register with a value copied from a third stack pointer register associated with an interrupted process operating at a third privilege level, wherein the third privilege level is equal to the privilege level of the second interrupt; modifying the value in the second stack pointer register, and storing a value associated with the second interrupt in a second memory address at a location identified by the second stack pointer register.Join the waitlist — get patent alerts
Track US2013159578A1 — get alerts on status changes and closely related new filings.
We store only your email — no account needed. See our privacy policy.