|
This Technical Note describes the way interrupt priorities are scheduled, which
corrects the description of slot interrupt queue priorities in the Device
Manager chapter of Inside Macintosh, Volume V-426.
[Oct 01 1989]
|
Introduction
According to Inside Macintosh, Volume V-426, The Device Manager, the
SQPrio field of a slot interrupt queue element is an unsigned byte
that determines the order in which slots are polled and interrupt service
routines are called. This is incorrect on all Macintosh models prior to
the IIci that are running a system version earlier than System Software 7.0.
In reality, slot interrupts of lower priority values have always been
called first. However, all new Macintosh computers, starting with the
Macintosh IIci, as well as all machines running System Software 7.0 or later,
will have an _SIntInstall routine that has been changed to reflect the
description in Inside Macintosh.
In addition, the SQPrio field is, and has always been, two bytes long,
but the high byte is reserved and must be set to zero.
Apple still reserves priority values 200-255 as documented in Inside
Macintosh.
Note that in any case of slot interrupts with equal priority, the most recently
installed interrupt is run first, regardless of system version.
Back to top
References
Inside Macintosh, Volume V-426, The Device Manager
Back to top
Downloadables
|
Acrobat version of this Note (48K)
|
Download
|
Back to top
|