Dismiss
InnovationQ will be updated on Sunday, Oct. 22, from 10am ET - noon. You may experience brief service interruptions during that time.
Browse Prior Art Database

Method for using Common Routines Across Multiple Interrupts

IP.com Disclosure Number: IPCOM000115038D
Original Publication Date: 1995-Mar-01
Included in the Prior Art Database: 2005-Mar-30
Document File: 2 page(s) / 38K

Publishing Venue

IBM

Related People

Bailey, SE: AUTHOR [+2]

Abstract

Described is a method that allows the use of common routines across multiple interrupt priority levels when each interrupt priority level has its own separate set of resources and reentrancy is not allowed.

This text was extracted from an ASCII text file.
This is the abbreviated version, containing approximately 78% of the total text.

Method for using Common Routines Across Multiple Interrupts

      Described is a method that allows the use of common routines
across multiple interrupt priority levels when each interrupt
priority level has its own separate set of resources and reentrancy
is not allowed.

      To use common routines across multiple interrupt priority
levels when each interrupt priority level has its own separate set of
resources and reentrancy is not allowed, the resources and interrupt
enable mechanism need to be managed when calling common routines.

      To use a common routine across multiple interrupt priority
levels, the routine is written to run at the highest interrupt
priority level from which the routine will be called.  The routine
will always use the resources reserved for this interrupt level.
When the routine is called from its highest interrupt level no
special setup is required.  When the routine is called from a lower
priority level the following steps must be taken before calling the
routine:
  1.  Disable all interrupts up to and including the interrupts at
the
       level which the routine was written.
  2.  Switch to the reserved resources to be used by the routine
  3.  Copy any parameters the routine needs from the callers reserved
       resources to the reserved resources used by the routine.

Upon completion of the routine, the following steps must be taken:
  1.  Copy any return information from the reserved resources used by
 ...