Type ASSEMBLE
Source Lines : 125
Fixes Applied : 0
Most Recent Version : Thursday, December 7, 1978
Last Fix ID : [Unmodified]
Module
DMTQRQ
Function
THE DMTQRQ MODULE MANAGES THE MSUP SUPERVISOR STATUS QUEUE FOR OTHER MSUP FUNCTIONS. DMTQRQ IS INTENDED FOR USE ONLY WITHIN THE SUPERVISOR ITSELF, AND MUST BE ENTERED WITH ALL PSW MASKS OFF (EXCEPT MACHINE CHECK).
Attributes
REUSABLE
Operation
THE RELEASE OR 'FREE' FUNCTION OF DMTQRQ ENQUEUES THE ELEMENT SPECIFIED BY THE CALLER TO BE RELEASED ON THE QUEUE OF FREE SUPERVISOR ELEMENTS, AND RETURNS WITHOUT ANY POSSIBLE ERROR CONDITIONS. THE RESERVE OR 'GET' FUNCTION OF DMTQRQ DEQUEUES THE FIRST ELEMENT ON THE FREE SUPERVISOR ELEMENT QUEUE AND RETURNS IT'S ADDRESS TO THE CALLER IN GPR1. IF NO FREE ELEMENT IS AVAILABLE, AN ERROR CODE IS RETURNED TO THE CALLER IN GPR15.
Calls to Other Routines
NONE