Inventors:
Michael Joseph Corrigan - Rochester MN
Steven Leonard Jones - Austin TX
Larry Wayne Loen - Rochester MN
David Robert Russell - New Hope MN
Philip Braun Winterfield - Rochester MN
Assignee:
International Business Machines Corporation - Armonk NY
International Classification:
G06F 946
Abstract:
A synchronous interrupt handler for a processing system executing multiple modes of operation employs a minimum number of lines of interrupt handler code written to execute at the "zeroth" level, is combined with a virtualized interrupt vector table. An identical zeroeth level handler is inserted at each of the processor's interrupt vector entry pints. These short code sequences are the first to gain control following an interrupt. They are handwritten in the platform's native instruction set to be mode-independent. For example, if the platform's processor does not alter the "endianness" of the machine state following an interrupt, the "zeroeth level" code must be written for endian neutrality; likewise, for 32/64-bit mode, etc. For each mode of operation, there is created a Virtualized Vector Table to represent the proper interrupt handlers for each physical interrupt level. Each task data structure, implicitly reflecting its unique mode of operation, contains a pointer to its virtualized vector table.